Uploaded image for project: 'PUBLIC - Liferay Documentation'
  1. PUBLIC - Liferay Documentation
  2. LRDOCS-7010

Demonstrate finding private artifacts and configuring dependencies on them

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: On Hold
    • Fix Version/s: 7.2.x
    • Component/s: Core Infrastructure
    • Labels:
      None
    • Epic Link:
    • Type of Documentation:
      Developer: Customization

      Description

      Make the following doc improvements to include this topic:

      Here's an example of specifying access to a private artifact repository. 

      build.gradle

      allprojects {
          repositories {

              maven {
          credentials {
          username "$mavenUser"
          password "$mavenPassword"
           }
           url "https://repository.liferay.com/nexus/content/repositories/projectName/"
           }

          }
      }

      gradle.properties

      mavenUser=user.name
      mavenPassword=your-password-here

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                7.2.x