According to Nexus book, hosted repository is \"a repository that is hosted by Nexus.\" and the 3rd party repository (a hosted repository) should be used for third-party depende
Quoting from the Nexus Book:
repository with the type proxy
, also known as a proxy repository, is a repository that is linked to a remote repository. Subsequent requests for the same component are then fulfilled from the local storage, therefore eliminating the network bandwidth and time overhead of retrieving the component from the remote repository again.
By default, the repository manager ships with the following configured proxy repositories:
a). maven-central - Proxy repository accesses the Central Repository, formerly known as Maven Central.
b). nuget.org-proxy - This proxy repository accesses the NuGet Gallery. It is the default component repository used by the nuget package management tool used for .Net development.
A repository with the type hosted
, also known as a hosted repository, is a repository that stores components in the repository manager as the authoritative location for these components.
By default, the repository manager ships with the following configured hosted repositories:
a). maven-releases - This hosted repository uses the maven2 repository format
with a release version policy. It is intended to be the repository where your organization publishes internal releases. You can also use this repository for third-party components that are not available in external repositories and can therefore not be retrieved via a configured proxy repository.
b). maven-snapshots - Uses the maven2 repository format
with a snapshot version policy. It is intended to be the the repository where your organization publishes internal development versions, also known as snapshots.
c). nuget-hosted - It is intended to be the the repository where your organization can publish internal releases in repository using the NuGet repository format
.