Clean solution provided by Niall Pemberton.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1429607 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gilles Sadowski 2013-01-06 22:47:56 +00:00
parent 185e3033ef
commit 27ab6fab60
2 changed files with 7 additions and 11 deletions

View File

@ -70,7 +70,7 @@ to the SVN repository. Once the release process is over, you can do a
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 -Dcommons.componentid=math
$ mvn commons:download-page
The command-line property override is necessary because the download plugin
expects the project name in the componentid property.

16
pom.xml
View File

@ -294,16 +294,12 @@
</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 change: "math" is the name of the component even if the
name of the base package evolves with major release numbers
(see "commons.osgi.symbolicName", below). -->
<commons.componentid>math</commons.componentid>
<!-- This value must reflect the current name of the base package. -->
<commons.osgi.symbolicName>org.apache.commons.math3</commons.osgi.symbolicName>
<!-- do not use snapshot suffix here -->
<commons.release.version>3.2</commons.release.version>
<commons.release.desc>(requires Java 1.5+)</commons.release.desc>