You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2015/01/19 01:35:47 UTC
svn commit: r1652887 -
/commons/cms-site/trunk/content/xdoc/releases/prepare.xml
Author: sebb
Date: Mon Jan 19 00:35:46 2015
New Revision: 1652887
URL: http://svn.apache.org/r1652887
Log:
-Dcommons.release.version override
Modified:
commons/cms-site/trunk/content/xdoc/releases/prepare.xml
Modified: commons/cms-site/trunk/content/xdoc/releases/prepare.xml
URL: http://svn.apache.org/viewvc/commons/cms-site/trunk/content/xdoc/releases/prepare.xml?rev=1652887&r1=1652886&r2=1652887&view=diff
==============================================================================
--- commons/cms-site/trunk/content/xdoc/releases/prepare.xml (original)
+++ commons/cms-site/trunk/content/xdoc/releases/prepare.xml Mon Jan 19 00:35:46 2015
@@ -210,11 +210,13 @@
Make sure that the release version is set to the new release and that the compile and source targets
are set correctly. Generate and check in a new download page for the component:
<pre>
- mvn commons:download-page
+ mvn [-N] commons:download-page [-Dcommons.release.version=m.n]
svn commit -m "Updated download page in preparation for 1.2 release." src/site/xdoc/download_foo.xml </pre>
Note that the target directory must exist beforehand, and that for a multi-module project the <code>-N</code>
(non-recursive) parameter should be specified on the <code>mvn</code> command line.
+ The release version can be overridden with -Dcommons.release.version=m.n if you want to create the new file
+ without updating the pom (e.g. before creating the tag)
</p>
<p>
When using Ant, typically the Ant "dist" target produces the source and binary distributions. Included