Skip to content
branflake2267 edited this page Dec 28, 2012 · 1 revision

##Sonatype Releasing The maven release plugin will automatically increment the snapshot. Remove batch-mode to manually select the release version.

  • export JAVA_HOME=/usr/libexec/java_home -v 1.6
  • mvn clean deploy -Prelease -DskipTests
  • mvn release:clean release:prepare --batch-mode -Dgpg.passphrase=xxxxx
  • mvn release:perform -Dgpg.passphrase=xxxxxx
  • https://oss.sonatype.org/index.html
  • close staged release - (login first, then goto staging repositories)
  • close release - wait a while and come back and release the closed
Clone this wiki locally