-
Notifications
You must be signed in to change notification settings - Fork 5
Maven deploy
hohwille edited this page Jan 2, 2013
·
8 revisions
In order to deploy project artifacts to maven central repo follow these steps:
- prepare the release (run tests, remove snapshot versions, etc.). E.g.
mvn pom:refactor -DartifactId=mmm-util-core -DnewVersion=3.0.0 -Doverwrite=true -DxmlEncoding=UTF-8
- commit the changes
- create a tag (<module>/<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
- For further details see OSSRH guide
This documentation is licensed under the Creative Commons License (Attribution 4.0 International).