Repository Management with Nexus

4.3. Adding Custom Repositories for Missing Dependencies

If you’ve configured your Maven settings.xml to list the Nexus public group as a mirror for all repositories, you might encounter projects that are unable to retrieve artifacts from your local Nexus installation. This usually happens because you are trying to build a project that has defined a custom set of repositories and snapshot repositories in a pom.xml. When you encounter a project that contains a custom repository element in a pom.xml, add this repository to Nexus as a new proxy repository and then add the new proxy repository to the public group.