Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: After upgrade of maven-release-plugin, we now must use Maven 3 or above

...

If you don't yet have a ~/.m2/settings.xml file, you should create one, and copy the full contents above (obviously make sure to put in your username and password).

Use Maven

...

3 or above

Make sure you're using a recent version of Maven. As of this writing, both Maven 23.20.1 and Maven 3 were known to work.In particular, avoid using either Maven 2.1.0 or 2.2.0 as both have know issues with the Sonatype Release Process. Maven 2.2.0 has a serious bug that affects deployments: MNG-4235. Maven 2.1.0 also is problematic, as it produces improper GPG signaturesor 3.0.4 is known to work.

For more information see the Prerequisites section of the Sonatype Maven Repository Usage Guide

...