Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 2.2.1

...

or above

Make sure you're using a recent version of Maven. As of this writing, the latest was both Maven 2.2.1 and Maven 3 were known to work.

, and it worked fine. In particular, avoid version using either Maven 2.1.0 or 2.2.0 as both have know issues with the Sonatype Release Process. Maven 2.2.0 : it has a serious bug that affects deployments: MNG-4235. Maven 2.1.0 also is problematic, as it produces improper GPG signatures.

...

Info
titleIf you receive a project dependency error while using Maven 2

The mvn release:prepare command This may fail to compile part way through the process, complaining that an internal project dependency is not met. This seems to only occur using Maven 2. If this occurs, don't worry. Just run the following:

  1. mvn install
  2. mvn release:prepare

...