On Mon, Mar 24, 2014 at 12:44 PM, sebb AT ASF <[email protected]> wrote:
> 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?
>
Yes! That would be great. I hate having to dig into POM files to see what
the JRE requirement is for a component. No two components keep this
information if at all in the same place.
It makes me want to have a "Requirements" page for each component next to
"Download" and so on.
Gary
>
> ---------- 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]
>
>
--
E-Mail: [email protected] | [email protected]
Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory