Releases are now performed using Maven 2 or Maven 3 3.2.2 and onwards so you need to have one of these that installed (see the building page). This page describes how the release process is handled.
...
- A dry-run before doing the actual release to ensure there aren't any problems:
mvn clean release:prepare -DdryRun=true
mvn release:prepare
: the actual release preparation, with the actual tagging processmvn release:perform
: deploys the tagged artifacts on the Sonatype Nexus staging repository- If you're running on Maven 2.2.0 (note: that's the version that ships with some flavors of MacOS X), you might run into SHA1 and MD5 signature verification issues. Please upgrade to Maven 2.2.1.
- If you get a message saying:
Error deploying artifact: Failed to transfer file. Return code is: 401 Unauthorized
, please make sure your credentials in thesettings.xml
file are correct.
- If you get a message saying:
...