Skip to content

Maven deploy

Jörg Hohwiller edited this page Sep 11, 2017 · 8 revisions

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.xml and remove SNAPSHOT from net.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
Clone this wiki locally