-
Notifications
You must be signed in to change notification settings - Fork 5
Maven deploy
Jörg Hohwiller edited this page Sep 11, 2017
·
8 revisions
In order to deploy project artifacts to maven central repo follow these steps:
- prepare the release (run tests, remove snapshot versions, etc.).
- Edit
pom.xml
and removeSNAPSHOT
fromnet.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
close
to verify and close the queue - click on
release
to release the queue so it will be staged to central - For further details see OSSRH guide
This documentation is licensed under the Creative Commons License (Attribution 4.0 International).