I have just finished releasing my first project to Maven Central Repository and wanted to capture my notes for the setup of the project and all of the steps required.
Resources
- http://central.sonatype.org/pages/requirements.html
- http://maven.apache.org/guides/mini/guide-central-repository-upload.html
- http://ruleoftech.com/2014/distribute-projects-artifacts-in-maven-central-with-ossrh
Create account on OSSRH
You will need an account to the sonatype JIRA for OSSRH. From there, you can request the creation of a new project. See http://central.sonatype.org/pages/ossrh-guide.html for details.
Setup of the Project/pom and Pre-requisites:
PGP keys
http://central.sonatype.org/pages/working-with-pgp-signatures.html
Create a set of PGP keys
gpg2
→ Continue reading “How To Publish Artifacts to the Maven Central Repository”