Configure Nexus to use the Lightwell Network repository
Configure Sonatype Nexus Repository Manager to proxy the Lightwell Network repository so that your organization's build tools resolve dependencies through your centralized Nexus instance.
Before you begin
- You have administrator access to your Sonatype Nexus Repository Manager 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.
Procedure
- Create a new Maven2 (proxy) repository.
- Set the following values:
- In the Remote Storage field, enter the URL for your chosen repository tier, for example,
https://packages.redhat.com/lightwell/java/remediated/. - In the Layout Policy field, select Strict to ensure proper resolution of .rhlw suffixes.
- In the Remote Storage field, enter the URL for your chosen repository tier, for example,
- In the Authentication section, enter the following values:
- In the Username field, enter your registry service account username in the format
XXXXXXX|service-account-name. - In the Password field, enter your registry service account token.
- In the Username field, enter your registry service account username in the format
What to do next
- Navigate to the proxy repository in your Nexus instance and verify that artifacts are being fetched from the Lightwell Network repository.