Author: psteitz Date: Sun Dec 30 21:50:11 2012 New Revision: 1426997 URL: http://svn.apache.org/viewvc?rev=1426997&view=rev Log: Documented commons.componentid ambiguiity and workaround.
Modified: commons/proper/math/trunk/doc/release/release.howto.txt commons/proper/math/trunk/pom.xml Modified: commons/proper/math/trunk/doc/release/release.howto.txt URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/doc/release/release.howto.txt?rev=1426997&r1=1426996&r2=1426997&view=diff ============================================================================== --- commons/proper/math/trunk/doc/release/release.howto.txt (original) +++ commons/proper/math/trunk/doc/release/release.howto.txt Sun Dec 30 21:50:11 2012 @@ -70,7 +70,10 @@ to the SVN repository. Once the release The "download" page template is located at "src/site/xdoc/download_math.xml". This file is updated automatically by running the command: - $ mvn commons:download-page + $ mvn commons:download-page -Dcommons.componentid=math + +The command-line property override is necessary because the download plugin +expects the project name in the componentid property. (4) Modified: commons/proper/math/trunk/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/pom.xml?rev=1426997&r1=1426996&r2=1426997&view=diff ============================================================================== --- commons/proper/math/trunk/pom.xml (original) +++ commons/proper/math/trunk/pom.xml Sun Dec 30 21:50:11 2012 @@ -291,6 +291,15 @@ </dependencies> <properties> + <!-- + This is also used to generate download_xxx file name. + To override this when generating the download page: + + mvn commons:download-page -Dcommons.componentid=math + + The above seems to change the download page name but not any other + properties that depend on the componentid. + --> <commons.componentid>math3</commons.componentid> <!-- do not use snapshot suffix here --> <commons.release.version>3.2</commons.release.version>