There is plenty of documentation once you find it, the hard part was to search for the right keywords to obtain it, so I am writing this post.
Uploading software to a central repository (so other developers can easily grab them with their own favorite build tool) for Java is not as straightforward as it with other technologies (like NPM, RubyGems, Packagist), mainly because Java sources needs to be built into artifacts.
In addition, upload capabilities to the Maven Central repository isn’t public but it’s allowed only to few subjects.
One of them is the Sonatype OSS Repository that provides support to the Open Source Software communities to host and upload their artifacts.
In short, requirements are:
- usage of an Open Source license;
- add a bunch of descriptive metadata to your pom.xml;
- provides javadoc, sources and gpg signature along with binary packages;
Everything is well documented here, read each step carefully: http://central.sonatype.org/pages/ossrh-guide.html
You just need to open a ticket to request the authorization to upload artifact for a given groupId (choose one wisely, every project should be under it).
🇬🇧 🇺🇸 If you found value in my content, consider supporting me by treating me to a coffee, beer, or pizza. Your contributions help fuel more quality content creation.
🇮🇹 Se hai apprezzato i miei contenuti, considera di supportarmi offrendomi un caffè, una birra o una pizza. I tuoi contributi aiutano a creare contenuti di qualità.
- Paypal
- BTC
- ETH
🇬🇧 🇺🇸 If you have found inaccuracies or wish to improve this article, please use the comments section below (after clicking on Load Comments).
🇮🇹 Se hai trovato imprecisioni o vuoi migliorare questo articolo, utilizza la sezione commenti qui sotto (dopo aver cliccato Load Comments)
Comments