commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Commons Wiki] Update of "UsingNexus" by sebbapache
Date Wed, 29 Feb 2012 00:36:36 GMT
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


Mime
View raw message