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 2013/06/18 21:05:28 UTC
svn commit: r866107 [4/9] - in
/websites/production/commons/content/proper/commons-build-plugin: ./ css/
images/ js/
Added: websites/production/commons/content/proper/commons-build-plugin/development.html
==============================================================================
--- websites/production/commons/content/proper/commons-build-plugin/development.html (added)
+++ websites/production/commons/content/proper/commons-build-plugin/development.html Tue Jun 18 19:05:27 2013
@@ -0,0 +1,325 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- Generated by Apache Maven Doxia at Jun 18, 2013 ( $Revision: 1080083 $ ) -->
+<!-- $HeadURL: https://svn.apache.org/repos/asf/commons/proper/commons-skin/trunk/src/main/resources/META-INF/maven/site.vm $ -->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <title>
+ Development</title>
+ <style type="text/css" media="all">
+ @import url("./css/maven-base.css");
+ @import url("./css/maven-theme.css");
+ @import url("./css/site.css");
+ </style>
+ <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+ <meta name="author" content="Commons Documentation Team" />
+ <meta name="Date-Revision-yyyymmdd" content="20130618" />
+ <meta http-equiv="Content-Language" content="en" />
+
+<link rel="stylesheet" type="text/css" media="all" href="./css/prettify.css"/>
+<script src="./js/prettify.js" type="text/javascript"></script>
+<script type="text/javascript">window.onload=function() {
+ prettyPrint();
+ }</script>
+ </head>
+ <body class="composite">
+ <div id="banner">
+ <div id="bannerLeft">
+ <a href="http://commons.apache.org/" title="Apache Commons logo">
+ <img src="./images/commons-logo.png" alt="Apache Commons logo"/>
+ </a>
+ </div><!-- id="bannerLeft" -->
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="breadcrumbs">
+
+
+ <div class="xleft">
+ <span id="publishDate">Last Published: 18 June 2013</span>
+ | <span id="projectVersion">Version: 1.4</span>
+ </div>
+ <div class="xright"> <a href="http://www.apachecon.com/" class="externalLink" title="ApacheCon">ApacheCon</a>
+ |
+ <a href="http://www.apache.org" class="externalLink" title="Apache">Apache</a>
+ |
+ <a href="../../" title="Commons">Commons</a>
+
+
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="leftColumn">
+ <div id="navcolumn">
+
+
+ <h5>Build Plugin</h5>
+ <ul>
+ <li class="none">
+ <a href="index.html" title="Overview">Overview</a>
+ </li>
+ <li class="expanded">
+ <a href="download-page.html" title="Download Page">Download Page</a>
+ <ul>
+ <li class="none">
+ <a href="download-page.html" title="download-page">download-page</a>
+ </li>
+ <li class="none">
+ <a href="download-page-mojo.html" title="properties">properties</a>
+ </li>
+ </ul>
+ </li>
+ <li class="expanded">
+ <a href="jira-page.html" title="JIRA Page">JIRA Page</a>
+ <ul>
+ <li class="expanded">
+ <a href="jira-page.html" title="Proper">Proper</a>
+ <ul>
+ <li class="none">
+ <a href="jira-page.html" title="jira-page">jira-page</a>
+ </li>
+ <li class="none">
+ <a href="jira-page-mojo.html" title="properties">properties</a>
+ </li>
+ </ul>
+ </li>
+ <li class="expanded">
+ <a href="sandbox-jira-page.html" title="Sandbox">Sandbox</a>
+ <ul>
+ <li class="none">
+ <a href="sandbox-jira-page.html" title="sandbox-jira-page">sandbox-jira-page</a>
+ </li>
+ <li class="none">
+ <a href="sandbox-jira-page-mojo.html" title="properties">properties</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ <li class="expanded">
+ <a href="mail-page.html" title="Mail Page">Mail Page</a>
+ <ul>
+ <li class="none">
+ <a href="mail-page.html" title="mail-page">mail-page</a>
+ </li>
+ <li class="none">
+ <a href="mail-page-mojo.html" title="properties">properties</a>
+ </li>
+ </ul>
+ </li>
+ <li class="expanded">
+ <strong>Help</strong>
+ <ul>
+ <li class="none">
+ <a href="issue-tracking.html" title="Issue Tracking">Issue Tracking</a>
+ </li>
+ <li class="none">
+ <strong>Development</strong>
+ </li>
+ <li class="none">
+ <a href="http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html" class="externalLink" title="Maven Plugins">Maven Plugins</a>
+ </li>
+ <li class="none">
+ <a href="http://ant.apache.org/manual/index.html" class="externalLink" title="Ant">Ant</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <h5>Project Documentation</h5>
+ <ul>
+ <li class="collapsed">
+ <a href="project-info.html" title="Project Information">Project Information</a>
+ </li>
+ <li class="collapsed">
+ <a href="project-reports.html" title="Project Reports">Project Reports</a>
+ </li>
+ </ul>
+ <h5>Commons</h5>
+ <ul>
+ <li class="none">
+ <a href="../../" title="Home">Home</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/licenses/" class="externalLink" title="License">License</a>
+ </li>
+ <li class="collapsed">
+ <a href="../../components.html" title="Components">Components</a>
+ </li>
+ <li class="collapsed">
+ <a href="../../sandbox/index.html" title="Sandbox">Sandbox</a>
+ </li>
+ <li class="collapsed">
+ <a href="../../dormant/index.html" title="Dormant">Dormant</a>
+ </li>
+ </ul>
+ <h5>General Information</h5>
+ <ul>
+ <li class="none">
+ <a href="../../volunteering.html" title="Volunteering">Volunteering</a>
+ </li>
+ <li class="none">
+ <a href="../../patches.html" title="Contributing Patches">Contributing Patches</a>
+ </li>
+ <li class="none">
+ <a href="../../building.html" title="Building Components">Building Components</a>
+ </li>
+ <li class="none">
+ <a href="../../releases/index.html" title="Releasing Components">Releasing Components</a>
+ </li>
+ <li class="none">
+ <a href="http://wiki.apache.org/commons/FrontPage" class="externalLink" title="Wiki">Wiki</a>
+ </li>
+ </ul>
+ <h5>ASF</h5>
+ <ul>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How the ASF works">How the ASF works</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/getinvolved.html" class="externalLink" title="Get Involved">Get Involved</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/dev/" class="externalLink" title="Developer Resources">Developer Resources</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsorship">Sponsorship</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks">Thanks</a>
+ </li>
+ </ul>
+ <a href="http://www.apache.org/events/current-event.html" title="ApacheCon" class="poweredBy">
+ <img class="poweredBy" alt="ApacheCon" src="http://www.apache.org/events/current-event-125x125.png" />
+ </a>
+ <a href="http://maven.apache.org/" title="Maven" class="poweredBy">
+ <img class="poweredBy" alt="Maven" src="http://maven.apache.org/images/logos/maven-feather.png" />
+ </a>
+
+
+ </div>
+ </div>
+ <div id="bodyColumn">
+ <div id="contentBox">
+ <!-- Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License. --><!-- $HeadURL: https://svn.apache.org/repos/asf/commons/proper/commons-build-plugin/tags/1.4/src/site/xdoc/development.xml $
+ $Revision: 629644 $ $Date: 2008-02-20 22:36:52 +0000 (Wed, 20 Feb 2008) $ -->
+
+
+
+ <div class="section"><h2>Help with Maven Ant Mojos<a name="Help_with_Maven_Ant_Mojos"></a></h2>
+
+ <p>
+ The best sources of information are
+ <a class="externalLink" href="http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html">Developing Ant Plugins for Maven 2.x</a>
+ and <a class="externalLink" href="http://www.sonatype.com/book/chapter-11.html">Maven: The Definitive Guide: Chapter 11 Writing Plugins</a>.
+ </p>
+
+ </div>
+
+ <div class="section"><h2>New Ant Scripts<a name="New_Ant_Scripts"></a></h2>
+
+ <p>
+ Each ant script requires two files, which have to be named following the conventions for ant plugins:
+ </p><ul>
+ <li>An ant build file
+ <ul><li>[naming convention: <i>basename</i><b>.build.xml</b>]</li></ul>
+ </li>
+ <li>A <i>mapping document</i> which wires the build file into maven's plugin framework
+ <ul><li>[naming convention: <i>basename</i><b>.mojos.xml</b>]</li></ul>
+ </li>
+ </ul>
+
+
+ <p>
+ So if you want to add a new <i>foo-bar</i> ant script you would create a <tt>foo-bar.build.xml</tt>
+ ant script file and <tt>foo-bar.mojos.xml</tt> mapping document.
+ </p>
+
+ <p>
+ Both these files should be located in the
+ <a class="externalLink" href="http://svn.apache.org/repos/asf/commons/proper/commons-build-plugin/trunk/src/main/scripts/">src/main/scripts</a>
+ directory.
+ </p>
+
+ <p>
+ If you want to access variables from the component's <tt>pom.xml</tt> in the ant script
+ then you need to do two things in the <i>mapping document</i>:
+ </p><ul>
+ <li>Add the <tt><requiresProject>true</requiresProject></tt></li>
+ <li>Add <tt><parameter></tt> elements for each of the variables you
+ want to use.</li>
+ </ul>
+
+
+ </div>
+
+ <div class="section"><h2>Goal Prefix<a name="Goal_Prefix"></a></h2>
+
+ <p>
+ This plugin uses <tt>commons</tt> as the goal prefix. So if you add a new <tt>foo-bar</tt>
+ goal, then it can be executed on the command line using <tt>mvn commons:foo-bar</tt>. This prefix
+ is defined in this plugin's
+ <a class="externalLink" href="http://svn.apache.org/repos/asf/commons/proper/commons-build-plugin/trunk/pom.xml">pom.xml</a>.
+ </p>
+
+ </div>
+
+ <div class="section"><h2>Modifying Existing Scripts<a name="Modifying_Existing_Scripts"></a></h2>
+
+ <p>
+ Not alot to say about this except, if you need access to additional variables from the component's
+ <tt>pom.xml</tt> in the ant build script then you will need to define additional <i>parameters</i>
+ for these in the associated <i>mapping document</i>.
+ </p>
+
+ </div>
+
+ <div class="section"><h2>Debugging<a name="Debugging"></a></h2>
+
+ <p>
+ The <i>message level</i> for ant is <i>info</i> by default. Running the plugin goal using a message
+ level of <i>debug</i> can help in discovering problems - for example:
+</p><div class="source"><pre>
+ mvn commons:jira-page -DantMessageLevel=debug
+</pre></div>
+
+
+ </div>
+
+
+
+ </div>
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ <div id="footer">
+ <div class="center">Copyright © 2008-2013
+ <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+ All Rights Reserved.
+
+ </div>
+
+<div class="center">Apache Commons, Apache commons-build-plugin Maven Mojo, Apache, the Apache feather logo, and the Apache Commons project logos are trademarks of The Apache Software Foundation.
+ All other marks mentioned may be trademarks or registered trademarks of their respective owners.</div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ </body>
+</html>
Propchange: websites/production/commons/content/proper/commons-build-plugin/development.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: websites/production/commons/content/proper/commons-build-plugin/download-page-2release.jpg
==============================================================================
Binary file - no diff available.
Propchange: websites/production/commons/content/proper/commons-build-plugin/download-page-2release.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: websites/production/commons/content/proper/commons-build-plugin/download-page-mojo.html
==============================================================================
--- websites/production/commons/content/proper/commons-build-plugin/download-page-mojo.html (added)
+++ websites/production/commons/content/proper/commons-build-plugin/download-page-mojo.html Tue Jun 18 19:05:27 2013
@@ -0,0 +1,448 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- Generated by Apache Maven Doxia at Jun 18, 2013 ( $Revision: 1080083 $ ) -->
+<!-- $HeadURL: https://svn.apache.org/repos/asf/commons/proper/commons-skin/trunk/src/main/resources/META-INF/maven/site.vm $ -->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <title>
+ commons:download-page</title>
+ <style type="text/css" media="all">
+ @import url("./css/maven-base.css");
+ @import url("./css/maven-theme.css");
+ @import url("./css/site.css");
+ </style>
+ <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+ <meta name="Date-Revision-yyyymmdd" content="20130618" />
+ <meta http-equiv="Content-Language" content="en" />
+
+<link rel="stylesheet" type="text/css" media="all" href="./css/prettify.css"/>
+<script src="./js/prettify.js" type="text/javascript"></script>
+<script type="text/javascript">window.onload=function() {
+ prettyPrint();
+ }</script>
+ </head>
+ <body class="composite">
+ <div id="banner">
+ <div id="bannerLeft">
+ <a href="http://commons.apache.org/" title="Apache Commons logo">
+ <img src="./images/commons-logo.png" alt="Apache Commons logo"/>
+ </a>
+ </div><!-- id="bannerLeft" -->
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="breadcrumbs">
+
+
+ <div class="xleft">
+ <span id="publishDate">Last Published: 18 June 2013</span>
+ | <span id="projectVersion">Version: 1.4</span>
+ </div>
+ <div class="xright"> <a href="http://www.apachecon.com/" class="externalLink" title="ApacheCon">ApacheCon</a>
+ |
+ <a href="http://www.apache.org" class="externalLink" title="Apache">Apache</a>
+ |
+ <a href="../../" title="Commons">Commons</a>
+
+
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="leftColumn">
+ <div id="navcolumn">
+
+
+ <h5>Build Plugin</h5>
+ <ul>
+ <li class="none">
+ <a href="index.html" title="Overview">Overview</a>
+ </li>
+ <li class="expanded">
+ <a href="download-page.html" title="Download Page">Download Page</a>
+ <ul>
+ <li class="none">
+ <a href="download-page.html" title="download-page">download-page</a>
+ </li>
+ <li class="none">
+ <strong>properties</strong>
+ </li>
+ </ul>
+ </li>
+ <li class="expanded">
+ <a href="jira-page.html" title="JIRA Page">JIRA Page</a>
+ <ul>
+ <li class="expanded">
+ <a href="jira-page.html" title="Proper">Proper</a>
+ <ul>
+ <li class="none">
+ <a href="jira-page.html" title="jira-page">jira-page</a>
+ </li>
+ <li class="none">
+ <a href="jira-page-mojo.html" title="properties">properties</a>
+ </li>
+ </ul>
+ </li>
+ <li class="expanded">
+ <a href="sandbox-jira-page.html" title="Sandbox">Sandbox</a>
+ <ul>
+ <li class="none">
+ <a href="sandbox-jira-page.html" title="sandbox-jira-page">sandbox-jira-page</a>
+ </li>
+ <li class="none">
+ <a href="sandbox-jira-page-mojo.html" title="properties">properties</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ <li class="expanded">
+ <a href="mail-page.html" title="Mail Page">Mail Page</a>
+ <ul>
+ <li class="none">
+ <a href="mail-page.html" title="mail-page">mail-page</a>
+ </li>
+ <li class="none">
+ <a href="mail-page-mojo.html" title="properties">properties</a>
+ </li>
+ </ul>
+ </li>
+ <li class="expanded">
+ <a href="development.html" title="Help">Help</a>
+ <ul>
+ <li class="none">
+ <a href="issue-tracking.html" title="Issue Tracking">Issue Tracking</a>
+ </li>
+ <li class="none">
+ <a href="development.html" title="Development">Development</a>
+ </li>
+ <li class="none">
+ <a href="http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html" class="externalLink" title="Maven Plugins">Maven Plugins</a>
+ </li>
+ <li class="none">
+ <a href="http://ant.apache.org/manual/index.html" class="externalLink" title="Ant">Ant</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <h5>Project Documentation</h5>
+ <ul>
+ <li class="collapsed">
+ <a href="project-info.html" title="Project Information">Project Information</a>
+ </li>
+ <li class="collapsed">
+ <a href="project-reports.html" title="Project Reports">Project Reports</a>
+ </li>
+ </ul>
+ <h5>Commons</h5>
+ <ul>
+ <li class="none">
+ <a href="../../" title="Home">Home</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/licenses/" class="externalLink" title="License">License</a>
+ </li>
+ <li class="collapsed">
+ <a href="../../components.html" title="Components">Components</a>
+ </li>
+ <li class="collapsed">
+ <a href="../../sandbox/index.html" title="Sandbox">Sandbox</a>
+ </li>
+ <li class="collapsed">
+ <a href="../../dormant/index.html" title="Dormant">Dormant</a>
+ </li>
+ </ul>
+ <h5>General Information</h5>
+ <ul>
+ <li class="none">
+ <a href="../../volunteering.html" title="Volunteering">Volunteering</a>
+ </li>
+ <li class="none">
+ <a href="../../patches.html" title="Contributing Patches">Contributing Patches</a>
+ </li>
+ <li class="none">
+ <a href="../../building.html" title="Building Components">Building Components</a>
+ </li>
+ <li class="none">
+ <a href="../../releases/index.html" title="Releasing Components">Releasing Components</a>
+ </li>
+ <li class="none">
+ <a href="http://wiki.apache.org/commons/FrontPage" class="externalLink" title="Wiki">Wiki</a>
+ </li>
+ </ul>
+ <h5>ASF</h5>
+ <ul>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How the ASF works">How the ASF works</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/getinvolved.html" class="externalLink" title="Get Involved">Get Involved</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/dev/" class="externalLink" title="Developer Resources">Developer Resources</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsorship">Sponsorship</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks">Thanks</a>
+ </li>
+ </ul>
+ <a href="http://www.apache.org/events/current-event.html" title="ApacheCon" class="poweredBy">
+ <img class="poweredBy" alt="ApacheCon" src="http://www.apache.org/events/current-event-125x125.png" />
+ </a>
+ <a href="http://maven.apache.org/" title="Maven" class="poweredBy">
+ <img class="poweredBy" alt="Maven" src="http://maven.apache.org/images/logos/maven-feather.png" />
+ </a>
+
+
+ </div>
+ </div>
+ <div id="bodyColumn">
+ <div id="contentBox">
+ <!-- Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License. --><!-- $HeadURL: https://svn.apache.org/repos/asf/commons/proper/commons-build-plugin/tags/1.4/src/site/xdoc/download-page-mojo.xml $
+ $Revision: 1296463 $ $Date: 2012-03-02 21:08:10 +0000 (Fri, 02 Mar 2012) $ -->
+
+ <div class="section"><h2>commons:download-page<a name="commons:download-page"></a></h2>
+ <p><b>Full name</b>:</p>
+ <p>org.apache.commons:commons-build-plugin:1.3:download-page</p>
+ <p><b>Description</b>:</p>
+ <div>Commons Build Ant Mojo: Generate Download page</div>
+ <p><b>Attributes</b>:</p>
+ <ul>
+ <li>Requires a Maven 2.0 project to be executed.</li>
+ <li>Is NOT inherited by default in multi-project builds.</li>
+ </ul>
+ <div class="section"><h3>Required Parameters<a name="Required_Parameters"></a></h3>
+ <table class="bodyTable" border="0" align="left">
+ <tr class="a">
+ <th>Name</th>
+ <th>Type</th>
+ <th>Since</th>
+ <th>Description</th>
+ </tr>
+ <tr class="b">
+ <td><b><a href="#commons.release.version">commons.release.version</a></b></td>
+ <td><tt>String</tt></td>
+ <td><tt>-</tt></td>
+ <td>The version of the latest release of the project.<br /><b>Default value is</b>: <tt>${commons.release.version}</tt>.</td>
+ </tr>
+ <tr class="a">
+ <td><b><a href="#commons.release.name">commons.release.name</a></b></td>
+ <td><tt>String</tt></td>
+ <td><tt>-</tt></td>
+ <td>The name of the latest release of the project.<br /><b>Default value is</b>: <tt>${commons.release.name}</tt>.</td>
+ </tr>
+ <tr class="b">
+ <td><b><a href="#commons.release.2.name">commons.release.2.name</a></b></td>
+ <td><tt>String</tt></td>
+ <td><tt>-</tt></td>
+ <td>The name of the alternative release of the project.<br /><b>Default value is</b>: <tt>${commons.release.2.name}</tt>.</td>
+ </tr>
+ <tr class="a">
+ <td><b><a href="#commons.release.3.name">commons.release.3.name</a></b></td>
+ <td><tt>String</tt></td>
+ <td><tt>-</tt></td>
+ <td>The name of the alternative release of the project.<br /><b>Default value is</b>: <tt>${commons.release.3.name}</tt>.</td>
+ </tr>
+ <tr class="b">
+ <td><b><a href="#basedir">basedir</a></b></td>
+ <td><tt>File</tt></td>
+ <td><tt>-</tt></td>
+ <td>The base directory from which to execute the Ant script.<br /><b>Default value is</b>: <tt>${basedir}</tt>.</td>
+ </tr>
+ </table>
+ </div>
+ <div class="section"><h3>Optional Parameters<a name="Optional_Parameters"></a></h3>
+ <table class="bodyTable" border="0" align="left">
+ <tr class="a">
+ <th>Name</th>
+ <th>Type</th>
+ <th>Since</th>
+ <th>Description</th>
+ </tr>
+ <tr class="b">
+ <td><b><a href="#commons.binary.suffix">commons.binary.suffix</a></b></td>
+ <td><tt>String</tt></td>
+ <td><tt>-</tt></td>
+ <td>The suffix for the binary distro.<br /><b>Default value is</b>: <tt>${commons.binary.suffix}</tt>.</td>
+ </tr>
+ <tr class="a">
+ <td><b><a href="#commons.release.desc">commons.release.desc</a></b></td>
+ <td><tt>String</tt></td>
+ <td><tt>-</tt></td>
+ <td>Release Title or Description.<br /><b>Default value is</b>: <tt>${commons.release.desc}</tt>.</td>
+ </tr>
+ <!-- commons.release.2.* -->
+ <tr class="b">
+ <td><b><a href="#commons.release.2.version">commons.release.2.version</a></b></td>
+ <td><tt>String</tt></td>
+ <td><tt>-</tt></td>
+ <td>The version of an alternative release of the project.<br /><b>Default value is</b>: <tt>${commons.release.2.version}</tt>.</td>
+ </tr>
+ <tr class="a">
+ <td><b><a href="#commons.release.2.desc">commons.release.2.desc</a></b></td>
+ <td><tt>String</tt></td>
+ <td><tt>-</tt></td>
+ <td>Alternative Release Title or Description.<br /><b>Default value is</b>: <tt>${commons.release.2.desc}</tt>.</td>
+ </tr>
+ <tr class="b">
+ <td><b><a href="#commons.release.2.binary.suffix">commons.release.2.binary.suffix</a></b></td>
+ <td><tt>String</tt></td>
+ <td><tt>-</tt></td>
+ <td>The suffix for the alternative release binary distro.<br /><b>Default value is</b>: <tt>${commons.release.2.binary.suffix}</tt>.</td>
+ </tr>
+ <!-- commons.release.3.* -->
+ <tr class="a">
+ <td><b><a href="#commons.release.3.version">commons.release.3.version</a></b></td>
+ <td><tt>String</tt></td>
+ <td><tt>-</tt></td>
+ <td>The version of an alternative release of the project.<br /><b>Default value is</b>: <tt>${commons.release.3.version}</tt>.</td>
+ </tr>
+ <tr class="b">
+ <td><b><a href="#commons.release.3.desc">commons.release.3.desc</a></b></td>
+ <td><tt>String</tt></td>
+ <td><tt>-</tt></td>
+ <td>Alternative Release Title or Description.<br /><b>Default value is</b>: <tt>${commons.release.3.desc}</tt>.</td>
+ </tr>
+ <tr class="a">
+ <td><b><a href="#commons.release.3.binary.suffix">commons.release.3.binary.suffix</a></b></td>
+ <td><tt>String</tt></td>
+ <td><tt>-</tt></td>
+ <td>The suffix for the alternative release binary distro.<br /><b>Default value is</b>: <tt>${commons.release.3.binary.suffix}</tt>.</td>
+ </tr>
+ <tr class="b">
+ <td><b><a href="#messageLevel">messageLevel</a></b></td>
+ <td><tt>String</tt></td>
+ <td><tt>-</tt></td>
+ <td>The message-level used to tune the verbosity of Ant logging.<br /><b>Default value is</b>: <tt>info</tt>.</td>
+ </tr>
+ </table>
+ </div>
+ <div class="section"><h3>Parameter Details<a name="Parameter_Details"></a></h3>
+ <p><b><a name="commons.release.version">commons.release.version</a>:</b></p>
+ <div>The version of the latest release of the project.</div>
+ <ul>
+ <li><b>Type</b>: <tt>java.lang.String</tt></li>
+ <li><b>Required</b>: <tt>Yes</tt></li>
+ <li><b>Default</b>: <tt>${commons.release.version}</tt></li>
+ </ul><hr /><p><b><a name="commons.release.name">commons.release.name</a>:</b></p>
+ <div>The name of the latest release of the project.</div>
+ <ul>
+ <li><b>Type</b>: <tt>java.lang.String</tt></li>
+ <li><b>Required</b>: <tt>Yes</tt></li>
+ <li><b>Default</b>: <tt>${commons.release.name}</tt></li>
+ </ul><hr /><p><b><a name="commons.binary.suffix">commons.binary.suffix</a>:</b></p>
+ <div>The suffix for the binary distro.</div>
+ <ul>
+ <li><b>Type</b>: <tt>java.lang.String</tt></li>
+ <li><b>Required</b>: <tt>No</tt></li>
+ <li><b>Default</b>: <tt>${commons.binary.suffix}</tt></li>
+ </ul><hr /><p><b><a name="commons.release.desc">commons.release.desc</a>:</b></p>
+ <div>Release Title or Description.</div>
+ <ul>
+ <li><b>Type</b>: <tt>java.lang.String</tt></li>
+ <li><b>Required</b>: <tt>No</tt></li>
+ <li><b>Default</b>: <tt>${commons.release.desc}</tt></li>
+ </ul><hr /><p><b><a name="commons.release.2.version">commons.release.2.version</a>:</b></p>
+ <div>The version of an alternative release of the project.</div>
+ <ul>
+ <li><b>Type</b>: <tt>java.lang.String</tt></li>
+ <li><b>Required</b>: <tt>No</tt></li>
+ <li><b>Default</b>: <tt>${commons.release.2.version}</tt></li>
+ </ul><hr /><p><b><a name="commons.release.2.name">commons.release.2.name</a>:</b></p>
+ <div>The name of the alternative release of the project.</div>
+ <ul>
+ <li><b>Type</b>: <tt>java.lang.String</tt></li>
+ <li><b>Required</b>: <tt>Yes</tt></li>
+ <li><b>Default</b>: <tt>${commons.release.2.name}</tt></li>
+ </ul><hr /><p><b><a name="commons.release.2.desc">commons.release.2.desc</a>:</b></p>
+ <div>Alternative Release Title or Description.</div>
+ <ul>
+ <li><b>Type</b>: <tt>java.lang.String</tt></li>
+ <li><b>Required</b>: <tt>No</tt></li>
+ <li><b>Default</b>: <tt>${commons.release.2.desc}</tt></li>
+ </ul><hr /><p><b><a name="commons.release.2.binary.suffix">commons.release.2.binary.suffix</a>:</b></p>
+ <div>The suffix for the alternative release binary distro.</div>
+ <ul>
+ <li><b>Type</b>: <tt>java.lang.String</tt></li>
+ <li><b>Required</b>: <tt>No</tt></li>
+ <li><b>Default</b>: <tt>${commons.release.2.binary.suffix}</tt></li>
+ </ul><hr /><hr /><p><b><a name="commons.release.3.version">commons.release.3.version</a>:</b></p>
+ <div>The version of an alternative release of the project.</div>
+ <ul>
+ <li><b>Type</b>: <tt>java.lang.String</tt></li>
+ <li><b>Required</b>: <tt>No</tt></li>
+ <li><b>Default</b>: <tt>${commons.release.3.version}</tt></li>
+ </ul><hr /><p><b><a name="commons.release.3.name">commons.release.3.name</a>:</b></p>
+ <div>The name of the alternative release of the project.</div>
+ <ul>
+ <li><b>Type</b>: <tt>java.lang.String</tt></li>
+ <li><b>Required</b>: <tt>Yes</tt></li>
+ <li><b>Default</b>: <tt>${commons.release.3.name}</tt></li>
+ </ul><hr /><p><b><a name="commons.release.3.desc">commons.release.3.desc</a>:</b></p>
+ <div>Alternative Release Title or Description.</div>
+ <ul>
+ <li><b>Type</b>: <tt>java.lang.String</tt></li>
+ <li><b>Required</b>: <tt>No</tt></li>
+ <li><b>Default</b>: <tt>${commons.release.3.desc}</tt></li>
+ </ul><hr /><p><b><a name="commons.release.3.binary.suffix">commons.release.3.binary.suffix</a>:</b></p>
+ <div>The suffix for the alternative release binary distro.</div>
+ <ul>
+ <li><b>Type</b>: <tt>java.lang.String</tt></li>
+ <li><b>Required</b>: <tt>No</tt></li>
+ <li><b>Default</b>: <tt>${commons.release.3.binary.suffix}</tt></li>
+ </ul><hr /><p><b><a name="basedir">basedir</a>:</b></p>
+ <div>The base directory from which to execute the Ant script.</div>
+ <ul>
+ <li><b>Type</b>: <tt>java.io.File</tt></li>
+ <li><b>Required</b>: <tt>Yes</tt></li>
+ <li><b>Expression</b>: <tt>${antBasedir}</tt></li>
+ <li><b>Default</b>: <tt>${basedir}</tt></li>
+ </ul><hr /><p><b><a name="messageLevel">messageLevel</a>:</b></p>
+ <div>The message-level used to tune the verbosity of Ant logging.</div>
+ <ul>
+ <li><b>Type</b>: <tt>java.lang.String</tt></li>
+ <li><b>Required</b>: <tt>No</tt></li>
+ <li><b>Expression</b>: <tt>${antMessageLevel}</tt></li>
+ <li><b>Default</b>: <tt>info</tt></li>
+ </ul>
+ </div>
+ </div>
+
+
+ </div>
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ <div id="footer">
+ <div class="center">Copyright © 2008-2013
+ <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+ All Rights Reserved.
+
+ </div>
+
+<div class="center">Apache Commons, Apache commons-build-plugin Maven Mojo, Apache, the Apache feather logo, and the Apache Commons project logos are trademarks of The Apache Software Foundation.
+ All other marks mentioned may be trademarks or registered trademarks of their respective owners.</div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ </body>
+</html>
Propchange: websites/production/commons/content/proper/commons-build-plugin/download-page-mojo.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: websites/production/commons/content/proper/commons-build-plugin/download-page.html
==============================================================================
--- websites/production/commons/content/proper/commons-build-plugin/download-page.html (added)
+++ websites/production/commons/content/proper/commons-build-plugin/download-page.html Tue Jun 18 19:05:27 2013
@@ -0,0 +1,348 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- Generated by Apache Maven Doxia at Jun 18, 2013 ( $Revision: 1080083 $ ) -->
+<!-- $HeadURL: https://svn.apache.org/repos/asf/commons/proper/commons-skin/trunk/src/main/resources/META-INF/maven/site.vm $ -->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <title>
+ Generating Download Page</title>
+ <style type="text/css" media="all">
+ @import url("./css/maven-base.css");
+ @import url("./css/maven-theme.css");
+ @import url("./css/site.css");
+ </style>
+ <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+ <meta name="author" content="Commons Documentation Team" />
+ <meta name="Date-Revision-yyyymmdd" content="20130618" />
+ <meta http-equiv="Content-Language" content="en" />
+
+<link rel="stylesheet" type="text/css" media="all" href="./css/prettify.css"/>
+<script src="./js/prettify.js" type="text/javascript"></script>
+<script type="text/javascript">window.onload=function() {
+ prettyPrint();
+ }</script>
+ </head>
+ <body class="composite">
+ <div id="banner">
+ <div id="bannerLeft">
+ <a href="http://commons.apache.org/" title="Apache Commons logo">
+ <img src="./images/commons-logo.png" alt="Apache Commons logo"/>
+ </a>
+ </div><!-- id="bannerLeft" -->
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="breadcrumbs">
+
+
+ <div class="xleft">
+ <span id="publishDate">Last Published: 18 June 2013</span>
+ | <span id="projectVersion">Version: 1.4</span>
+ </div>
+ <div class="xright"> <a href="http://www.apachecon.com/" class="externalLink" title="ApacheCon">ApacheCon</a>
+ |
+ <a href="http://www.apache.org" class="externalLink" title="Apache">Apache</a>
+ |
+ <a href="../../" title="Commons">Commons</a>
+
+
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="leftColumn">
+ <div id="navcolumn">
+
+
+ <h5>Build Plugin</h5>
+ <ul>
+ <li class="none">
+ <a href="index.html" title="Overview">Overview</a>
+ </li>
+ <li class="expanded">
+ <strong>Download Page</strong>
+ <ul>
+ <li class="none">
+ <strong>download-page</strong>
+ </li>
+ <li class="none">
+ <a href="download-page-mojo.html" title="properties">properties</a>
+ </li>
+ </ul>
+ </li>
+ <li class="expanded">
+ <a href="jira-page.html" title="JIRA Page">JIRA Page</a>
+ <ul>
+ <li class="expanded">
+ <a href="jira-page.html" title="Proper">Proper</a>
+ <ul>
+ <li class="none">
+ <a href="jira-page.html" title="jira-page">jira-page</a>
+ </li>
+ <li class="none">
+ <a href="jira-page-mojo.html" title="properties">properties</a>
+ </li>
+ </ul>
+ </li>
+ <li class="expanded">
+ <a href="sandbox-jira-page.html" title="Sandbox">Sandbox</a>
+ <ul>
+ <li class="none">
+ <a href="sandbox-jira-page.html" title="sandbox-jira-page">sandbox-jira-page</a>
+ </li>
+ <li class="none">
+ <a href="sandbox-jira-page-mojo.html" title="properties">properties</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ <li class="expanded">
+ <a href="mail-page.html" title="Mail Page">Mail Page</a>
+ <ul>
+ <li class="none">
+ <a href="mail-page.html" title="mail-page">mail-page</a>
+ </li>
+ <li class="none">
+ <a href="mail-page-mojo.html" title="properties">properties</a>
+ </li>
+ </ul>
+ </li>
+ <li class="expanded">
+ <a href="development.html" title="Help">Help</a>
+ <ul>
+ <li class="none">
+ <a href="issue-tracking.html" title="Issue Tracking">Issue Tracking</a>
+ </li>
+ <li class="none">
+ <a href="development.html" title="Development">Development</a>
+ </li>
+ <li class="none">
+ <a href="http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html" class="externalLink" title="Maven Plugins">Maven Plugins</a>
+ </li>
+ <li class="none">
+ <a href="http://ant.apache.org/manual/index.html" class="externalLink" title="Ant">Ant</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <h5>Project Documentation</h5>
+ <ul>
+ <li class="collapsed">
+ <a href="project-info.html" title="Project Information">Project Information</a>
+ </li>
+ <li class="collapsed">
+ <a href="project-reports.html" title="Project Reports">Project Reports</a>
+ </li>
+ </ul>
+ <h5>Commons</h5>
+ <ul>
+ <li class="none">
+ <a href="../../" title="Home">Home</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/licenses/" class="externalLink" title="License">License</a>
+ </li>
+ <li class="collapsed">
+ <a href="../../components.html" title="Components">Components</a>
+ </li>
+ <li class="collapsed">
+ <a href="../../sandbox/index.html" title="Sandbox">Sandbox</a>
+ </li>
+ <li class="collapsed">
+ <a href="../../dormant/index.html" title="Dormant">Dormant</a>
+ </li>
+ </ul>
+ <h5>General Information</h5>
+ <ul>
+ <li class="none">
+ <a href="../../volunteering.html" title="Volunteering">Volunteering</a>
+ </li>
+ <li class="none">
+ <a href="../../patches.html" title="Contributing Patches">Contributing Patches</a>
+ </li>
+ <li class="none">
+ <a href="../../building.html" title="Building Components">Building Components</a>
+ </li>
+ <li class="none">
+ <a href="../../releases/index.html" title="Releasing Components">Releasing Components</a>
+ </li>
+ <li class="none">
+ <a href="http://wiki.apache.org/commons/FrontPage" class="externalLink" title="Wiki">Wiki</a>
+ </li>
+ </ul>
+ <h5>ASF</h5>
+ <ul>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How the ASF works">How the ASF works</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/getinvolved.html" class="externalLink" title="Get Involved">Get Involved</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/dev/" class="externalLink" title="Developer Resources">Developer Resources</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsorship">Sponsorship</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks">Thanks</a>
+ </li>
+ </ul>
+ <a href="http://www.apache.org/events/current-event.html" title="ApacheCon" class="poweredBy">
+ <img class="poweredBy" alt="ApacheCon" src="http://www.apache.org/events/current-event-125x125.png" />
+ </a>
+ <a href="http://maven.apache.org/" title="Maven" class="poweredBy">
+ <img class="poweredBy" alt="Maven" src="http://maven.apache.org/images/logos/maven-feather.png" />
+ </a>
+
+
+ </div>
+ </div>
+ <div id="bodyColumn">
+ <div id="contentBox">
+ <!-- Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License. --><!-- $HeadURL: https://svn.apache.org/repos/asf/commons/proper/commons-build-plugin/tags/1.4/src/site/xdoc/download-page.xml $
+ $Revision: 1296463 $ $Date: 2012-03-02 21:08:10 +0000 (Fri, 02 Mar 2012) $ -->
+
+
+
+
+ <div class="section"><h2>commons:download-page<a name="commons:download-page"></a></h2>
+
+ <div class="section"><h3>Overview<a name="Overview"></a></h3>
+ <p>
+ The <tt>commons:download-page</tt> goal generates a custom Download page for the latest release of a component.
+ Execute the goal using the following command: </p><div class="source"><pre>mvn commons:download-page</pre></div>
+
+
+ <p>
+ The above command generates an <i>xdoc</i> page named download_<i>componentid</i><b>.xml</b> in either the <tt>xdocs</tt>
+ or <tt>src/site/xdoc</tt> directory (depending on which exists), which should be checked into subversion.
+ This will cause a download_<i>componentid</i><b>.html</b> page to be generated when the <tt>mvn site</tt> is run.
+ Remember to add a <i>Download</i> link to download_<i>componentid</i><b>.cgi</b> to the maven <tt>site.xml</tt>.
+ </p>
+
+ <p>
+ <b>Note:</b> The Download page should only need to be re-generated after a new release of the component
+ or if the download page template changes.
+ </p>
+
+ <p>
+ This goal uses the following:
+ </p><ul>
+ <li>The goal is mapped to the ant script/target using the <tt>download-page</tt> mojo defintion in the
+ <a class="externalLink" href="http://svn.apache.org/repos/asf/commons/proper/commons-build-plugin/trunk/src/main/scripts/generate-xdocs.mojos.xml">generate-xdocs.mojos.xml</a> mapping document</li>
+ <li>Executes the <tt>download-page</tt> target in
+ <a class="externalLink" href="http://svn.apache.org/repos/asf/commons/proper/commons-build-plugin/trunk/src/main/scripts/generate-xdocs.build.xml">generate-xdocs.build.xml</a>
+ ant script</li>
+ <li>Uses either the
+ <a class="externalLink" href="http://svn.apache.org/repos/asf/commons/proper/commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates/download-page-body.xml">download-page-body.xml</a> or
+ <a class="externalLink" href="http://svn.apache.org/repos/asf/commons/proper/commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates/no-download-page-template.xml">no-download-page-template.xml</a>
+ template, depending on whether the <tt>commons.release.version</tt> property is set or not.
+ </li>
+ <li>Uses the <a href="download-page-mojo.html">goal's (i.e. mojo's) parameters</a> to filter values in the template</li>
+ </ul>
+
+ </div>
+
+ <div class="section"><h3>Configuration<a name="Configuration"></a></h3>
+ <p>
+ To generate a Download page, the following <a href="download-page-mojo.html">properties</a> are configured in the component's <tt>pom.xml</tt>
+ </p><ul>
+ <li><b>commons.componentid</b> - Commons component id</li>
+ <li><b>commons.release.version</b> - The version number of the latest release of the component</li>
+ <li><b>commons.release.name</b> - (<i>optional - defaults to <tt>${commons.release.name}</tt></i>) The name of the latest release of the component</li>
+ <li><b>commons.release.desc</b> - (<i>optional</i>) The download links are shown in a section with the component name and release version - if this paratmeter is specified then this text is appended</li>
+ <li><b>commons.binary.suffix</b> - (<i>optional - defaults to <tt>-bin</tt></i>) The suffix for the binary release
+ (some components use "-bin", others have no suffix)</li>
+ </ul>
+
+ <p>
+ Example configuration for Commons Chain:
+</p><div class="source"><pre>
+ <properties>
+ <commons.componentid>chain</commons.componentid>
+ <commons.release.version>1.2</commons.release.version>
+ </properties>
+</pre></div>
+
+
+ <p>
+ Sometimes there is a requirement to list two versions on the download page. This can be achieved using the following properties:
+ </p><ul>
+ <li><b>commons.release.2.version</b> - The version number of the alternative release of the component</li>
+ <li><b>commons.release.2.name</b> - (<i>optional - defaults to <tt>${commons.release.2.name}</tt></i>) The name of the alternative release of the component</li>
+ <li><b>commons.release.2.desc</b> - (<i>optional</i>) Additional text to append to the section name of the alternative release</li>
+ <li><b>commons.release.2.binary.suffix</b> - (<i>optional - defaults to <tt>-bin</tt></i>) The suffix for the alternative
+ binary release (some components use "-bin", others have no suffix)</li>
+ </ul>
+
+ <p>
+ You can have a third version on the download page. This can be achieved using the following properties:
+ </p><ul>
+ <li><b>commons.release.3.version</b> - The version number of the alternative release of the component</li>
+ <li><b>commons.release.3.name</b> - (<i>optional - defaults to <tt>${commons.release.3.name}</tt></i>) The name of the alternative release of the component</li>
+ <li><b>commons.release.3.desc</b> - (<i>optional</i>) Additional text to append to the section name of the alternative release</li>
+ <li><b>commons.release.3.binary.suffix</b> - (<i>optional - defaults to <tt>-bin</tt></i>) The suffix for the alternative
+ binary release (some components use "-bin", others have no suffix)</li>
+ </ul>
+
+ <p>
+ Example configuration for Commons DBCP with two releases:
+</p><div class="source"><pre>
+ <properties>
+ <commons.componentid>dbcp</commons.componentid>
+ <commons.release.version>1.4</commons.release.version>
+ <commons.release.desc>for JDBC 4 (JDK 1.6)</commons.release.desc>
+ <commons.release.2.version>1.3</commons.release.2.version>
+ <commons.release.2.desc> for JDBC 3 (JDK 1.4-1.5)</commons.release.2.desc>
+ </properties>
+</pre></div>
+
+ <p>
+ The above configuration generates a download page for two releases shown below:
+ </p>
+ <p>
+ <img src="download-page-2release.jpg" alt="Download Page with two release versions" />
+ </p>
+ </div>
+
+ </div>
+
+
+
+ </div>
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ <div id="footer">
+ <div class="center">Copyright © 2008-2013
+ <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+ All Rights Reserved.
+
+ </div>
+
+<div class="center">Apache Commons, Apache commons-build-plugin Maven Mojo, Apache, the Apache feather logo, and the Apache Commons project logos are trademarks of The Apache Software Foundation.
+ All other marks mentioned may be trademarks or registered trademarks of their respective owners.</div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ </body>
+</html>
Propchange: websites/production/commons/content/proper/commons-build-plugin/download-page.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: websites/production/commons/content/proper/commons-build-plugin/download_commons-build-plugin.html
==============================================================================
--- websites/production/commons/content/proper/commons-build-plugin/download_commons-build-plugin.html (added)
+++ websites/production/commons/content/proper/commons-build-plugin/download_commons-build-plugin.html Tue Jun 18 19:05:27 2013
@@ -0,0 +1,352 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- Generated by Apache Maven Doxia at Jun 18, 2013 ( $Revision: 1080083 $ ) -->
+<!-- $HeadURL: https://svn.apache.org/repos/asf/commons/proper/commons-skin/trunk/src/main/resources/META-INF/maven/site.vm $ -->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <title>
+ Download commons-build-plugin Maven Mojo</title>
+ <style type="text/css" media="all">
+ @import url("./css/maven-base.css");
+ @import url("./css/maven-theme.css");
+ @import url("./css/site.css");
+ </style>
+ <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+ <meta name="author" content="Commons Documentation Team" />
+ <meta name="Date-Revision-yyyymmdd" content="20130618" />
+ <meta http-equiv="Content-Language" content="en" />
+
+<link rel="stylesheet" type="text/css" media="all" href="./css/prettify.css"/>
+<script src="./js/prettify.js" type="text/javascript"></script>
+<script type="text/javascript">window.onload=function() {
+ prettyPrint();
+ }</script>
+ </head>
+ <body class="composite">
+ <div id="banner">
+ <div id="bannerLeft">
+ <a href="http://commons.apache.org/" title="Apache Commons logo">
+ <img src="./images/commons-logo.png" alt="Apache Commons logo"/>
+ </a>
+ </div><!-- id="bannerLeft" -->
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="breadcrumbs">
+
+
+ <div class="xleft">
+ <span id="publishDate">Last Published: 18 June 2013</span>
+ | <span id="projectVersion">Version: 1.4</span>
+ </div>
+ <div class="xright"> <a href="http://www.apachecon.com/" class="externalLink" title="ApacheCon">ApacheCon</a>
+ |
+ <a href="http://www.apache.org" class="externalLink" title="Apache">Apache</a>
+ |
+ <a href="../../" title="Commons">Commons</a>
+
+
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="leftColumn">
+ <div id="navcolumn">
+
+
+ <h5>Build Plugin</h5>
+ <ul>
+ <li class="none">
+ <a href="index.html" title="Overview">Overview</a>
+ </li>
+ <li class="expanded">
+ <a href="download-page.html" title="Download Page">Download Page</a>
+ <ul>
+ <li class="none">
+ <a href="download-page.html" title="download-page">download-page</a>
+ </li>
+ <li class="none">
+ <a href="download-page-mojo.html" title="properties">properties</a>
+ </li>
+ </ul>
+ </li>
+ <li class="expanded">
+ <a href="jira-page.html" title="JIRA Page">JIRA Page</a>
+ <ul>
+ <li class="expanded">
+ <a href="jira-page.html" title="Proper">Proper</a>
+ <ul>
+ <li class="none">
+ <a href="jira-page.html" title="jira-page">jira-page</a>
+ </li>
+ <li class="none">
+ <a href="jira-page-mojo.html" title="properties">properties</a>
+ </li>
+ </ul>
+ </li>
+ <li class="expanded">
+ <a href="sandbox-jira-page.html" title="Sandbox">Sandbox</a>
+ <ul>
+ <li class="none">
+ <a href="sandbox-jira-page.html" title="sandbox-jira-page">sandbox-jira-page</a>
+ </li>
+ <li class="none">
+ <a href="sandbox-jira-page-mojo.html" title="properties">properties</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ <li class="expanded">
+ <a href="mail-page.html" title="Mail Page">Mail Page</a>
+ <ul>
+ <li class="none">
+ <a href="mail-page.html" title="mail-page">mail-page</a>
+ </li>
+ <li class="none">
+ <a href="mail-page-mojo.html" title="properties">properties</a>
+ </li>
+ </ul>
+ </li>
+ <li class="expanded">
+ <a href="development.html" title="Help">Help</a>
+ <ul>
+ <li class="none">
+ <a href="issue-tracking.html" title="Issue Tracking">Issue Tracking</a>
+ </li>
+ <li class="none">
+ <a href="development.html" title="Development">Development</a>
+ </li>
+ <li class="none">
+ <a href="http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html" class="externalLink" title="Maven Plugins">Maven Plugins</a>
+ </li>
+ <li class="none">
+ <a href="http://ant.apache.org/manual/index.html" class="externalLink" title="Ant">Ant</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <h5>Project Documentation</h5>
+ <ul>
+ <li class="collapsed">
+ <a href="project-info.html" title="Project Information">Project Information</a>
+ </li>
+ <li class="collapsed">
+ <a href="project-reports.html" title="Project Reports">Project Reports</a>
+ </li>
+ </ul>
+ <h5>Commons</h5>
+ <ul>
+ <li class="none">
+ <a href="../../" title="Home">Home</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/licenses/" class="externalLink" title="License">License</a>
+ </li>
+ <li class="collapsed">
+ <a href="../../components.html" title="Components">Components</a>
+ </li>
+ <li class="collapsed">
+ <a href="../../sandbox/index.html" title="Sandbox">Sandbox</a>
+ </li>
+ <li class="collapsed">
+ <a href="../../dormant/index.html" title="Dormant">Dormant</a>
+ </li>
+ </ul>
+ <h5>General Information</h5>
+ <ul>
+ <li class="none">
+ <a href="../../volunteering.html" title="Volunteering">Volunteering</a>
+ </li>
+ <li class="none">
+ <a href="../../patches.html" title="Contributing Patches">Contributing Patches</a>
+ </li>
+ <li class="none">
+ <a href="../../building.html" title="Building Components">Building Components</a>
+ </li>
+ <li class="none">
+ <a href="../../releases/index.html" title="Releasing Components">Releasing Components</a>
+ </li>
+ <li class="none">
+ <a href="http://wiki.apache.org/commons/FrontPage" class="externalLink" title="Wiki">Wiki</a>
+ </li>
+ </ul>
+ <h5>ASF</h5>
+ <ul>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How the ASF works">How the ASF works</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/getinvolved.html" class="externalLink" title="Get Involved">Get Involved</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/dev/" class="externalLink" title="Developer Resources">Developer Resources</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsorship">Sponsorship</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks">Thanks</a>
+ </li>
+ </ul>
+ <a href="http://www.apache.org/events/current-event.html" title="ApacheCon" class="poweredBy">
+ <img class="poweredBy" alt="ApacheCon" src="http://www.apache.org/events/current-event-125x125.png" />
+ </a>
+ <a href="http://maven.apache.org/" title="Maven" class="poweredBy">
+ <img class="poweredBy" alt="Maven" src="http://maven.apache.org/images/logos/maven-feather.png" />
+ </a>
+
+
+ </div>
+ </div>
+ <div id="bodyColumn">
+ <div id="contentBox">
+ <!-- Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License. --><!-- +======================================================================+
+ |**** ****|
+ |**** THIS FILE IS GENERATED BY THE COMMONS BUILD PLUGIN ****|
+ |**** DO NOT EDIT DIRECTLY ****|
+ |**** ****|
+ +======================================================================+
+ | TEMPLATE FILE: download-page-template.xml |
+ | commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates |
+ +======================================================================+
+ | |
+ | 1) Re-generate using: mvn commons:download-page |
+ | |
+ | 2) Set the following properties in the component's pom: |
+ | - commons.componentid (required, alphabetic, lower case) |
+ | - commons.release.version (required) |
+ | - commons.binary.suffix (optional) |
+ | (defaults to "-bin", set to "" for pre-maven2 releases) |
+ | |
+ | 3) Example Properties |
+ | |
+ | <properties> |
+ | <commons.componentid>math</commons.componentid> |
+ | <commons.release.version>1.2</commons.release.version> |
+ | </properties> |
+ | |
+ +======================================================================+ -->
+
+ <div class="section"><h2>Download commons-build-plugin Maven Mojo<a name="Download_commons-build-plugin_Maven_Mojo"></a></h2>
+ <div class="section"><h3>Using a Mirror<a name="Using_a_Mirror"></a></h3>
+ <p>
+ We recommend you use a mirror to download our release
+ builds, but you <b>must</b> verify the integrity of
+ the downloaded files using signatures downloaded from our main
+ distribution directories. Recent releases (48 hours) may not yet
+ be available from the mirrors.
+ </p>
+
+ <p>
+ You are currently using <b>[preferred]</b>. If you
+ encounter a problem with this mirror, please select another
+ mirror. If all mirrors are failing, there are <i>backup</i>
+ mirrors (at the end of the mirrors list) that should be
+ available.
+ <br /></br>
+ [if-any logo]<a href="[link]"><img src="[logo]" align="right" border="0" alt="" /></img></a>[end]
+ </p>
+
+ <form action="[location]" method="get" id="SelectMirror">
+ <p>
+ Other mirrors:
+ <select name="Preferred">
+ [if-any http]
+ [for http]<option value="[http]">[http]</option>[end]
+ [end]
+ [if-any ftp]
+ [for ftp]<option value="[ftp]">[ftp]</option>[end]
+ [end]
+ [if-any backup]
+ [for backup]<option value="[backup]">[backup] (backup)</option>[end]
+ [end]
+ </select>
+ <input type="submit" value="Change"></input>
+ </p>
+ </form>
+
+ <p>
+ The <a class="externalLink" href="http://www.apache.org/dist/commons/KEYS">KEYS</a>
+ link links to the code signing keys used to sign the product.
+ The <tt>PGP</tt> link downloads the OpenPGP compatible signature from our main site.
+ The <tt>MD5</tt> link downloads the checksum from the main site.
+ </p>
+ </div>
+ </div>
+ <div class="section"><h2>commons-build-plugin Maven Mojo 1.4 <a name="commons-build-plugin_Maven_Mojo_1.4"></a></h2>
+ <div class="section"><h3>Binaries<a name="Binaries"></a></h3>
+ <table border="0" class="bodyTable">
+ <tr class="a">
+ <td><a href="[preferred]/commons/commons-build-plugin/binaries/commons-build-plugin-1.4-bin.tar.gz">commons-build-plugin-1.4-bin.tar.gz</a></td>
+ <td><a class="externalLink" href="http://www.apache.org/dist/commons/commons-build-plugin/binaries/commons-build-plugin-1.4-bin.tar.gz.md5">md5</a></td>
+ <td><a class="externalLink" href="http://www.apache.org/dist/commons/commons-build-plugin/binaries/commons-build-plugin-1.4-bin.tar.gz.asc">pgp</a></td>
+ </tr>
+ <tr class="b">
+ <td><a href="[preferred]/commons/commons-build-plugin/binaries/commons-build-plugin-1.4-bin.zip">commons-build-plugin-1.4-bin.zip</a></td>
+ <td><a class="externalLink" href="http://www.apache.org/dist/commons/commons-build-plugin/binaries/commons-build-plugin-1.4-bin.zip.md5">md5</a></td>
+ <td><a class="externalLink" href="http://www.apache.org/dist/commons/commons-build-plugin/binaries/commons-build-plugin-1.4-bin.zip.asc">pgp</a></td>
+ </tr>
+ </table>
+ </div>
+ <div class="section"><h3>Source<a name="Source"></a></h3>
+ <table border="0" class="bodyTable">
+ <tr class="a">
+ <td><a href="[preferred]/commons/commons-build-plugin/source/commons-build-plugin-1.4-src.tar.gz">commons-build-plugin-1.4-src.tar.gz</a></td>
+ <td><a class="externalLink" href="http://www.apache.org/dist/commons/commons-build-plugin/source/commons-build-plugin-1.4-src.tar.gz.md5">md5</a></td>
+ <td><a class="externalLink" href="http://www.apache.org/dist/commons/commons-build-plugin/source/commons-build-plugin-1.4-src.tar.gz.asc">pgp</a></td>
+ </tr>
+ <tr class="b">
+ <td><a href="[preferred]/commons/commons-build-plugin/source/commons-build-plugin-1.4-src.zip">commons-build-plugin-1.4-src.zip</a></td>
+ <td><a class="externalLink" href="http://www.apache.org/dist/commons/commons-build-plugin/source/commons-build-plugin-1.4-src.zip.md5">md5</a></td>
+ <td><a class="externalLink" href="http://www.apache.org/dist/commons/commons-build-plugin/source/commons-build-plugin-1.4-src.zip.asc">pgp</a></td>
+ </tr>
+ </table>
+ </div>
+ </div>
+ <div class="section"><h2>Archives<a name="Archives"></a></h2>
+ <p>
+ Older releases can be obtained from the archives.
+ </p>
+ <ul>
+ <li class="download"><a href="[preferred]/commons/commons-build-plugin/">browse download area</a></li>
+ <li><a class="externalLink" href="http://archive.apache.org/dist/commons/commons-build-plugin/">archives...</a></li>
+ </ul>
+ </div>
+
+
+ </div>
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ <div id="footer">
+ <div class="center">Copyright © 2008-2013
+ <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+ All Rights Reserved.
+
+ </div>
+
+<div class="center">Apache Commons, Apache commons-build-plugin Maven Mojo, Apache, the Apache feather logo, and the Apache Commons project logos are trademarks of The Apache Software Foundation.
+ All other marks mentioned may be trademarks or registered trademarks of their respective owners.</div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ </body>
+</html>
Propchange: websites/production/commons/content/proper/commons-build-plugin/download_commons-build-plugin.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: websites/production/commons/content/proper/commons-build-plugin/images/add.gif
==============================================================================
Binary file - no diff available.
Propchange: websites/production/commons/content/proper/commons-build-plugin/images/add.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: websites/production/commons/content/proper/commons-build-plugin/images/close.gif
==============================================================================
Binary file - no diff available.
Propchange: websites/production/commons/content/proper/commons-build-plugin/images/close.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: websites/production/commons/content/proper/commons-build-plugin/images/collapsed.gif
==============================================================================
Binary file - no diff available.
Propchange: websites/production/commons/content/proper/commons-build-plugin/images/collapsed.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: websites/production/commons/content/proper/commons-build-plugin/images/commons-logo.png
==============================================================================
Binary file - no diff available.
Propchange: websites/production/commons/content/proper/commons-build-plugin/images/commons-logo.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: websites/production/commons/content/proper/commons-build-plugin/images/expanded.gif
==============================================================================
Binary file - no diff available.
Propchange: websites/production/commons/content/proper/commons-build-plugin/images/expanded.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: websites/production/commons/content/proper/commons-build-plugin/images/external-classic.png
==============================================================================
Binary file - no diff available.
Propchange: websites/production/commons/content/proper/commons-build-plugin/images/external-classic.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: websites/production/commons/content/proper/commons-build-plugin/images/fix.gif
==============================================================================
Binary file - no diff available.
Propchange: websites/production/commons/content/proper/commons-build-plugin/images/fix.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: websites/production/commons/content/proper/commons-build-plugin/images/help_logo.gif
==============================================================================
Binary file - no diff available.
Propchange: websites/production/commons/content/proper/commons-build-plugin/images/help_logo.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: websites/production/commons/content/proper/commons-build-plugin/images/icon_arrowfolderclosed1_sml.gif
==============================================================================
Binary file - no diff available.
Propchange: websites/production/commons/content/proper/commons-build-plugin/images/icon_arrowfolderclosed1_sml.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: websites/production/commons/content/proper/commons-build-plugin/images/icon_arrowfolderopen2_sml.gif
==============================================================================
Binary file - no diff available.
Propchange: websites/production/commons/content/proper/commons-build-plugin/images/icon_arrowfolderopen2_sml.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: websites/production/commons/content/proper/commons-build-plugin/images/icon_arrowwaste1_sml.gif
==============================================================================
Binary file - no diff available.
Propchange: websites/production/commons/content/proper/commons-build-plugin/images/icon_arrowwaste1_sml.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: websites/production/commons/content/proper/commons-build-plugin/images/icon_arrowwaste2_sml.gif
==============================================================================
Binary file - no diff available.
Propchange: websites/production/commons/content/proper/commons-build-plugin/images/icon_arrowwaste2_sml.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: websites/production/commons/content/proper/commons-build-plugin/images/icon_doc_lrg.gif
==============================================================================
Binary file - no diff available.
Propchange: websites/production/commons/content/proper/commons-build-plugin/images/icon_doc_lrg.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: websites/production/commons/content/proper/commons-build-plugin/images/icon_doc_sml.gif
==============================================================================
Binary file - no diff available.
Propchange: websites/production/commons/content/proper/commons-build-plugin/images/icon_doc_sml.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: websites/production/commons/content/proper/commons-build-plugin/images/icon_error_lrg.gif
==============================================================================
Binary file - no diff available.
Propchange: websites/production/commons/content/proper/commons-build-plugin/images/icon_error_lrg.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: websites/production/commons/content/proper/commons-build-plugin/images/icon_error_sml.gif
==============================================================================
Binary file - no diff available.
Propchange: websites/production/commons/content/proper/commons-build-plugin/images/icon_error_sml.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: websites/production/commons/content/proper/commons-build-plugin/images/icon_folder_lrg.gif
==============================================================================
Binary file - no diff available.
Propchange: websites/production/commons/content/proper/commons-build-plugin/images/icon_folder_lrg.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: websites/production/commons/content/proper/commons-build-plugin/images/icon_folder_sml.gif
==============================================================================
Binary file - no diff available.
Propchange: websites/production/commons/content/proper/commons-build-plugin/images/icon_folder_sml.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif