https://github.com/sonatype/nexus-public
Sonatype Nexus Repository Open-source codebase mirror
https://github.com/sonatype/nexus-public
repository repository-management
Last synced: about 23 hours ago
JSON representation
Sonatype Nexus Repository Open-source codebase mirror
- Host: GitHub
- URL: https://github.com/sonatype/nexus-public
- Owner: sonatype
- License: epl-1.0
- Created: 2015-07-31T23:42:41.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2025-04-01T17:14:58.000Z (14 days ago)
- Last Synced: 2025-04-07T17:00:37.160Z (8 days ago)
- Topics: repository, repository-management
- Language: Java
- Homepage: https://www.sonatype.com/products/repository-oss-download
- Size: 156 MB
- Stars: 2,079
- Watchers: 119
- Forks: 610
- Open Issues: 273
-
Metadata Files:
- Readme: README.md
- Changelog: changed.groovy
- License: LICENSE.txt
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-open-source-alternatives - Nexus
- awesome-x-ops - Nexus Repository
- awesome-java - Sonatype Nexus
README
# 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](https://github.com/sonatype/nexus-public/issues).
For help with Nexus Repository Core or Community Edition, please join the [Sonatype Community](https://community.sonatype.com/) 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 17. Apache Maven wrapper scripts are included in the source tree.
### Configuring Maven for SNAPSHOT Dependencies
Following best practices, the nexus-public POM does not include any root `` elements.
## Building From Source
Released versions are tagged and branched using a name of the form `release-{version}`. For example: `release-3.72.0-04`
To build a tagged release, first fetch all tags:
```shell
git fetch --tags
```Then checkout the remote branch you want. For example:
```shell
git checkout -b release-3.77.0-08 origin/release-3.77.0-08 --
```Then build using the included Maven wrapper script. For example:
```shell
./mvnw clean install -Dpublic
```The `public` property is required outside of Sonatype's internal infrastructure.
## Running
To run Nexus Repository, after building, unzip the assembly and start the server:
unzip -d target assemblies/nexus-base-template/target/nexus-base-template-*.zip
./target/nexus-base-template-*/bin/nexus consoleThe `nexus-base-template` assembly is used as the basis for the official Sonatype Nexus Repository distributions.
## License
This project is licensed under the Eclipse Public License - v 1.0, you can read the full text [here](LICENSE.txt)