Nexus Repository: An Artifact Repository for Many Formats

Nexus Repository: An Artifact Repository for Many Formats

Nexus Repository sits between your builds and the public registries, and holds the artifacts you produce.

Three roles per format

For each package type it offers:

Proxy repositories cache upstream, so a build does not depend on npm or Maven Central being reachable and does not re-download the same dependency a hundred times.

Hosted repositories store your own artifacts: internal libraries, release builds, container images.

Group repositories present several of the above as one URL, so clients configure one endpoint.

That three-way model, applied across Maven, npm, Docker, PyPI, NuGet, RubyGems, APT, YUM, Helm and more, is the proposition. Verdaccio does this for npm only; Harbour for containers only.

Why the proxy role matters most

The commonly underrated benefit: build reproducibility and resilience. A dependency removed from a public registry, or a registry outage, stops being an outage for you. Our supply chain guide covers why that matters alongside the integrity question.

It also gives you one place to see what your builds actually pull in, which is the first step toward controlling it.

For APT and YUM specifically

Hosting your own .deb or .rpm repository is a genuine use for a self-hoster: build packages for your own machines, serve them to your fleet, and they install like anything else. Our package building guide covers producing them and our repositories guide covers what clients expect.

Operational notes

A Java application, so plan on a couple of gigabytes of heap and a real data volume: a repository manager’s storage grows without bound unless you configure cleanup policies.

du -sh /nexus-data

Cleanup policies and blob store compaction are not optional. The default is to keep everything, and discovering that at 500GB is unpleasant, per our disk usage guide.

Operational caution

Anonymous access is enabled by default on a fresh install. For a proxy that is sometimes fine; for hosted repositories holding your artifacts it is not.

The free Community edition lacks some formats and features present in the paid tier, which is worth checking against your needs before building a workflow on it.

License

Nexus Repository Community Edition is released under the Eclipse Public License v1.