Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Don't create sigs for snapshot tests

...

To create the snapshot, make sure that the current pom.xml is for a SNAPSHOT version. Perform the following command:

Wiki Markup
{{mvn deploy \[-DskipTests\]}}

This will create the binary jar(s) and hashes and upload them.

If you want to check that the source and javadoc jars are correct, perform the following:

Wiki Markup
{{mvn deploy -Prelease Prelease \[-Dgpg.skip\] \[-DskipTests\]}}

This will create the binary, source and javadoc jars and hashes and upload them.

The -Prelease flag is necessary to ensure ensures that the source and javadoc jars are created. The -Dgpg.skip flag skips the signing phase.; do not omit this as it might mislead users if a signed jar was deployed as a snapshot

The resulting snapshot will appear in the Nexus repository under:

...