Repository Management with Nexus
Groups are a powerful feature of Nexus. They allow you to combine multiple repositories and other repository groups in a single URL. Use the left hand panel Repositories menu item in the Views/Repositories menu to access the repositories and groups management interface.
Nexus ships with one group: public. The Public Repositories group combines the multiple important external proxy repositories like the Central Repository with the hosted repositories: 3rd Party, Releases, and Snapshots.
In Section 4.2, “Configuring Maven to Use a Single Nexus Group” we configured Maven via the settings.xml to look for artifacts in the public group managed by Nexus. Figure 6.18, “Group Configuration Screen in Nexus” shows the group configuration screen in Nexus, in this figure you can see the contents of the public
Note that the order of the repositories listed in Order Group Repositories is important. When Nexus searches for an artifact in a group it will return the first match. To reorder a repository in this list, click and the drag the repositories and groups in the Ordered Group Repositories selection list.
The order of repositories or other groups in a group can be used to influence the effective metadata that will be retrieved by Maven from a Nexus Repository Group. We recommend placing release repositories higher in the list than snapshot repositories so that LATEST and RELEASE versions are merged appropriately.
We also recommend placing repositories with a higher probability of matching the majority of artifacts higher in this list. If most of your artifacts are going to be retrieved from the Maven Central Repository, putting Central higher in this list than a smaller, more focused repository is going to be better for performance as Nexus is not going to interrogate the smaller remote repository for as many missing artifacts.