So I write this post to serve as a reference for myself and for anyone else out there that might find it useful: a place to document the necessary steps needed to publish Software artifacts to Maven Central; while iterating the recurrent hurdles that I kept on encountering in the process of getting the publishing to Maven Central successful. I have also included a couple of useful links at the end of the post.
A rundown of the steps involved can be roughly summarized to be:
- Create an account on oss.sonatype.org
- Create and share a PGP signature.
- Update settings.xml and pom.xml appropriately.
- Upload your artifact to oss.sonatype.org.
- Promote the release.