Repository Management with Nexus

16.5. NuGet Group Repositories

A repository group allows you to expose the aggregated content of multiple proxy and hosted repositories with one URL to your tools. This is possible for NuGet repositories by creating a new Repository Group with the Format set to NuGet.

A typical useful example would be to group the proxy repository that proxies nuget.org, an internal releases NuGet hosted repository and a third party Nuget hosted repository. The configuration for such a setup is displayed in Figure 16.7, “A Public Nuget Group Combining a Proxy and Two Hosted Repositories”.

figs/web/nuget-group.png

Figure 16.7. A Public Nuget Group Combining a Proxy and Two Hosted Repositories


Using the Repository Path of the repository group as your NuGet repository URL in your client tool will give you access to the packages in all three repositories with one URL.