RepositoryJavaUSUnited States
sonatype

sonatype/nexus-public

Sonatype Nexus Repository Open-source codebase mirror

2.7kstars
760forks
301issues
3views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: repository

#1 Repository of the week

1
TINIX TRENDING·Topic: repository-management

#1 Repository of the week

1
TINIX TRENDING·Topic: repository

#1 Repository of the week

Sonatype Nexus Repository Core

Sonatype Nexus Repository is the single source of truth for all your internal and third-party binaries, components, and packages. Integrate all your development tools into a centralized binary repository manager so that you can choose the best open source components, optimize your build performance, and ship code quickly while increasing visibility across your SDLC.

This is the open source codebase of Nexus Repository Core. This contains functionality for maven, raw, and APT repository formats, and uses an embedded H2 database that is appropriate for small workloads.

For a fully-featured version of Nexus Repository, download the Community Edition binary from https://www.sonatype.com/products/nexus-community-edition-download. Community Edition includes additional format support such as npm, Docker, NuGet, PyPI and many others. It also allows use of an external PostgreSQL database that allows you to deploy Nexus Repository under Kubernetes.

Issues

If you are using Nexus Repository Core or Community Edition and need to report an issue or request an enhancement, open an issue here.

For help with Nexus Repository Core or Community Edition, please join the Sonatype Community to get tips and tricks from other users.

To report a security vulnerability, please see https://www.sonatype.com/report-a-security-vulnerability

Sonatype Nexus Repository Pro customers can contact our world-class support team at https://support.sonatype.com/.

Build Requirements

Builds use Apache Maven and require Java 21. Apache Maven wrapper scripts are included in the source tree.

Building From Source

Released versions are tagged and branched using a name of the form release-{version}. For example: release-3.89.0-09

To build a tagged release, first fetch all tags:

git fetch --tags

Then checkout the remote branch you want. For example:

git checkout -b release-3.89.0-09 origin/release-3.89.0-09 --

Initialize Yarn Workspaces

Before building with Maven, initialize the Yarn workspaces (required for frontend modules):

# Enable corepack (ships with Node.js 16.10+)
corepack enable

# Install workspace dependencies
corepack yarn install

Build

Build using the included Maven wrapper script:

./mvnw clean install -Ppublic

Running

To run Nexus Repository Core after building:

  1. Navigate to public/selfhosted/assemblies/nexus-repository-core/target/assembly
  2. Run java -jar bin/nexus-repository-core-*.jar

The application will create a sonatype-work directory at public/selfhosted/assemblies/nexus-repository-core/target/sonatype-work, which will contain the default administrator credentials, database, and file blobstore.

License

This project is licensed under the Eclipse Public License - v 1.0, you can read the full text here

Similar Projects

Discover other similar projects and AI models.

RepositoryJava
sonatype/docker-nexus3

Dockerized version of Nexus Repo Manager 3

1.7k
Dec 2, 2026
RepositoryRust
popomore/projj

Manage git repositories with directory conventions.

284
Apr 9, 2026
RepositoryJava
DSpace/DSpace

(Official) The DSpace digital asset management system that powers your Institutional Repository

1.1k
Nov 23, 2026
RepositoryJava
line/centraldogma

Highly-available version-controlled service configuration repository based on Git, ZooKeeper and HTTP/2

675
Nov 27, 2026
RepositoryJava
apache/jackrabbit-oak

Apache Jackrabbit Oak

415
Dec 2, 2026
RepositoryJava
apache/jackrabbit

Apache Jackrabbit

368
Nov 9, 2026
RepositoryJava
qoomon/maven-git-versioning-extension

This extension will set project version, based on current Git branch or tag.

340
Nov 1, 2026
RepositoryC#
anjoy8/Blog.Core

💖 ASP.NET Core 8.0 全家桶教程,前后端分离后端接口,vue教程姊妹篇,官方文档:

5.3k
Apr 16, 2026
RepositoryTypeScript
projen/projen

Rapidly build modern applications with advanced configuration management

3.0k
Nov 25, 2026