Configure Artifactory to use the Lightwell Network Java repository
Configure JFrog Artifactory to proxy the Lightwell Network Java repository so that your organization's build tools resolve dependencies through your centralized Artifactory instance.
Before you begin
- You have administrator access to your JFrog Artifactory instance.
- You have an active Lightwell Network membership.
- You have created a Lightwell Network service account. For more information, see Create a Lightwell Network service account
- You have chosen the repository tier that matches your environment. For more information, see Choose the right repository for your environment
- Your Artifactory naming policy allows the
.rhlw-0000Xversion suffix, for example,5.3.17.rhlw-00001.These suffixes are the standard identifiers for Lightwell-patched libraries
Procedure
- In the JFrog Platform console, navigate to .
- Click Create a Repository and select Remote.
- Select Maven as the package type.
- On the Basic tab, set the following values:
- In the Repository Key field, enter
lightwell-remote. - In the URL field, replace the default URL with the URL for your chosen repository tier, for example,
https://packages.redhat.com/lightwell/java/remediated/ - In the User Name field, enter your registry service account username in the format
XXXXXXX|service-account-name. - In the Password / Access Token field, enter your registry service account token.
- In the Repository Key field, enter
- Under Maven Settings, select the List Remote Artifacts checkbox to ensure that repository content is browsable.
- Verify that the Enable Token Authentication checkbox is cleared and all other fields remain at their default values.
- Leave the remaining fields at their default values.
What to do next
- Navigate to the lightwell-remote repository in your Artifactory instance and verify that artifacts are being cached from the Lightwell Network repository.
- Configure your Maven or Gradle build tool to resolve dependencies through your Artifactory instance. For instructions on connecting your Maven client to Artifactory, see Content from docs.jfrog.com is not included.Connect your Maven Client to Artifactory