Maven deploy - m-m-m/util GitHub Wiki
Maven deploy
In order to deploy project artifacts to maven central repo follow these steps:
- prepare the release (run tests, remove snapshot versions, etc.).
- Edit
pom.xmland removeSNAPSHOTfromnet.sf.mmm.util.version. - commit the changes
- create a tag (git tag -a release/<version> -m "tagged <version>")
- perform a build for deployment (you need the PGP key and pgp/gpg installed)
mvn clean deploy -P mmm.deploy - go to https://oss.sonatype.org/ and login to verify that the deployed bundle appears in the queue
- click on
closeto verify and close the queue - click on
releaseto release the queue so it will be staged to central - For further details see OSSRH guide