4.3. Adding Repositories for Missing Dependencies

If you’ve configured your Maven settings.xml or other build tool configuration to use the public repository group as a mirror for all repositories, you might encounter projects that are unable to retrieve components from your local repository manager installation.

This usually happens because you are trying to build a project that has defined a custom set of repositories and snapshot repositories or relies on the content of other publically available repositories in its configuration. When you encounter such a project all you have to do is

  • add this repository to your repository manager as a new proxy repository
  • and then add the new proxy repository to the public group.

The advantage of this approach is that no configuration change on the build tool side is necessary at all.