The Commons Build plugin allows for text to be added to the download
page by using the commons.release.desc property.
As an experiment I changed File upload to add the following pom property:
<commons.release.desc>(requires Java ${maven.compiler.target} or
later)</commons.release.desc>
This resulted in the section header:
<section name="Apache Commons FileUpload 1.3.1 (requires Java 1.5 or later)">
Might be worth considering for all components?
---------- Forwarded message ----------
From: <[email protected]>
Date: 24 March 2014 16:17
Subject: svn commit: r1580899 - in /commons/proper/fileupload/trunk:
pom.xml src/site/xdoc/download_fileupload.xml
To: [email protected]
Author: sebb
Date: Mon Mar 24 16:17:06 2014
New Revision: 1580899
URL: http://svn.apache.org/r1580899
Log:
Add Java version info to the generated download page
Created with:
$ mvn commons:download-page -Dcommons.release.version=1.3.1
Modified:
commons/proper/fileupload/trunk/pom.xml
commons/proper/fileupload/trunk/src/site/xdoc/download_fileupload.xml
Modified: commons/proper/fileupload/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/commons/proper/fileupload/trunk/pom.xml?rev=1580899&r1=1580898&r2=1580899&view=diff
==============================================================================
--- commons/proper/fileupload/trunk/pom.xml (original)
+++ commons/proper/fileupload/trunk/pom.xml Mon Mar 24 16:17:06 2014
@@ -182,6 +182,7 @@
<maven.compile.encoding>ISO-8859-1</maven.compile.encoding>
<commons.componentid>fileupload</commons.componentid>
<commons.release.version>1.4</commons.release.version>
+ <commons.release.desc>(requires Java ${maven.compiler.target} or
later)</commons.release.desc>
<commons.rc.version>RC1</commons.rc.version>
<commons.jira.id>FILEUPLOAD</commons.jira.id>
<commons.jira.pid>12310476</commons.jira.pid>
Modified: commons/proper/fileupload/trunk/src/site/xdoc/download_fileupload.xml
URL:
http://svn.apache.org/viewvc/commons/proper/fileupload/trunk/src/site/xdoc/download_fileupload.xml?rev=1580899&r1=1580898&r2=1580899&view=diff
==============================================================================
--- commons/proper/fileupload/trunk/src/site/xdoc/download_fileupload.xml
(original)
+++ commons/proper/fileupload/trunk/src/site/xdoc/download_fileupload.xml
Mon Mar 24 16:17:06 2014
@@ -95,7 +95,7 @@ limitations under the License.
</p>
</subsection>
</section>
- <section name="Apache Commons FileUpload 1.3.1 ">
+ <section name="Apache Commons FileUpload 1.3.1 (requires Java 1.5
or later)">
<subsection name="Binaries">
<table>
<tr>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]