Skip to content

Performing a Release

Tom Hombergs edited this page Nov 5, 2016 · 3 revisions

In main folder run the following command:

mvnw versions:set -DnewVersion=NEW_VERSION** to update the version

Check in everything.

Follow instructions at http://wickedsource.org/2013/09/23/releasing-your-project-to-maven-central-guide/ to create a keypair.

Create a settings.xml with your sonatype username and password (see article in link above).

Run

mvnw clean deploy -Dgpg.passphrase=YOUR_GPG_PASSPHRASE -s settings.xml -DperformRelease=true

to deploy the artifacts to a staging repository on sonatype nexus.

Go to Staging Repository view on https://oss.sonatype.org and close the repository after checking that all artifacts are there. Once it is closed, release it.

Clone this wiki locally