A producer is an entity that would like publish content into the Central repository.
Whether you are an individual running a small open source project, a group of developers with a few projects or a large organization running your own repository manager publishing open source components - we can help you with publishing them to the Central Repository and provides the benefits of the Central Repository to your users.
Individual Projects - Open Source Software Repository Hosting (OSSRH)⚓︎
Sonatype's Open Source Software Repository Hosting (OSSRH) service is the primary avenue for project owners and contributors to publish their components to the Central Repository. It is a hosted deployment of Nexus Repository Manager with the Nexus Staging Suite used for the deployment process and validation, combined with a sync process to the Central Repository content delivery network.
To use OSSRH you need to follow a few simple steps for initial setup. Before you proceed, there are a few items to consider with regard to our validation process:
- As stated in our article, choosing your coordinates, you must choose a groupId for a domain that you own, or for which you are the designated maintainer on behalf of the owner.
- In the case of a GitHub groupId (io.github.username), this will be immediately verified provided your project URL matches the requested groupId.
- For all other domains, be prepared to verify domain ownership via one of the following methods:
- TXT record verification:
- This is the fastest route to verification. Simply create a TXT record in your DNS referencing your OSSRH ticket number and your groupId will be approved.
- GitHub redirection:
- Setup a redirect from your domain to the GitHub URL where you are hosting your project.
Once you've considered the above, proceed to the following steps:
After that, you can publish as many components and releases under the provided Group ID and any nested Group ID values to the Central Repository as often as you like.
The video series Easy Publishing to the Central Repository provides a number of short tutorials for beginners:
- Claim Your Namespace on the Central Repository
- Applying for Access to OSSRH
- Requirements and Signing Tips
- Accessing OSSRH
- First Deployments
- Project Object Model POM?!
- Javadoc, Sources and Signing
- Getting Help
For more detailed instructions, please follow our step-by-step guide.