Skip to main content

Configuring Legacy URL Paths

Nexus Repository 2 uses a different URL pattern than Nexus Repository 3 to expose repositories and repository groups. Nexus Repository 3 creates an NXRM2 style URLs capability during upgrade so that it automatically supports the old patterns and your automated tools and CI continue to work. This allows you to access the example of http://localhost:8081/nexus/repository/sampleby usinghttp://localhost:8081/nexus/content/repositories/sample.

Note

This example assumes your hostname ( localhost ), port ( 8081 ) and context path ( nexus ) match between your Nexus Repository 2 and Nexus Repository 3 installations. If not, you must use the ones from version 3 or reconfigure as stated in Changing the Context Path section.

The NXRM2 style URLs capability has no effect on REST API calls, which were totally rewritten in Nexus Repository 3. You will need to reevaluate REST API calls and rewrite them against the Nexus Repository 3 REST API.

Warning

Any automated tooling that uses direct repository browsing will need to be reconfigured for Nexus Repository 3 endpoints. See Nexus Repository 3 HTML View documentation for more information on how to obtain this endpoint.