Author: sebb
Date: Mon Aug 15 18:15:28 2011
New Revision: 1157931
URL: http://svn.apache.org/viewvc?rev=1157931&view=rev
Log:
Document how to deploy Maven artifacts
Modified:
commons/proper/daemon/trunk/README
Modified: commons/proper/daemon/trunk/README
URL:
http://svn.apache.org/viewvc/commons/proper/daemon/trunk/README?rev=1157931&r1=1157930&r2=1157931&view=diff
==============================================================================
--- commons/proper/daemon/trunk/README (original)
+++ commons/proper/daemon/trunk/README Mon Aug 15 18:15:28 2011
@@ -28,3 +28,14 @@ mvn site:generate
To deploy the documentation to the apache site:
mvn -Dmaven.username=${user.name} site:deploy
+
+To deploy the Java jars to the Nexus staging repo:
+
+mvn clean
+mvn deploy -Prelease [-Ptest-deploy]
+
+The test-deploy profile will deploy to target/deploy; omit for the live deploy
+
+Note: do not use clean in the same invocation.
+Not sure why, but with Commons-Parent v21 this results deploying the non-Maven
archives (zip and tar.gz) as well.
+They can be deleted before closing the repo, but it is easier not to create
them.
\ No newline at end of file