Sonatype Nexus 3 Concepts

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Repository

A repository is the container for components provided to the user. Nexus supports three types of repositories: proxy, hosted and repository groups.

Blob Store

A blob store is a storage mechanism for the binary parts of the components and their assets. Each blob store can be used by one or multiple repositories and repository groups. The repository manager starts by default with a filesystem storage-based default blob store, present in the repository manager's data directory ($NEXUS_DATA/blobs).

Proxy Repository

A proxy repository is a repository that is linked to a remote repository. Any request for a component is verified against the local content of the proxy repository. If no local component is found, the request is forwarded to the remote repository. The component is then retrieved and stored locally in the repository manager, which acts as a cache. Subsequent requests for the same component are then fulfilled from the local storage.

Hosted Repository

A hosted repository is a repository that represents the authoritative location for the components stored in it. The Nexus repository manager comes with "maven-releases" and "maven-snapshots" hosted repositories pre-configured.

Repository Group

A repository group allows combination of multiple repositories and other repository groups in a single repository, exposing a single URL, while the administrators can add more repositories and therefore components to the repository group. Nexus repository manager comes with a pre-defined "maven-public" repository group, that combines the hosted repositories "maven-releases" and "maven-snapshots".

The public URL is https://maven.apps.openshift.novaordis.io/repository/maven-public/. The browser URL is https://maven.apps.openshift.novaordis.io/#browse/browse:maven-public. The HTML Index URL is https://maven.apps.openshift.novaordis.io/service/siesta/repository/browse/maven-public/.