You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Apache Wiki <wi...@apache.org> on 2012/02/29 01:36:36 UTC
[Commons Wiki] Update of "UsingNexus" by sebbapache
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Commons Wiki" for change notification.
The "UsingNexus" page has been changed by sebbapache:
http://wiki.apache.org/commons/UsingNexus?action=diff&rev1=27&rev2=28
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:
+ {{{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:
+
- {{{mvn deploy -Prelease [-Dgpg.skip] [-DskipTests]}}}
+ {{{mvn deploy -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 that the source and javadoc jars are created. The {{{-Dgpg.skip}}} flag skips the signing phase.
+ The {{{-Prelease}}} flag 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:
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org