Use SHA512 signatures as the default in the download page.
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 5ce111c..e1c8224 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -1,103 +1,103 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-
-<!-- Description: http://maven.apache.org/plugins/maven-changes-plugin/changes.html -->
-
-<document>
- <properties>
- <title>Apache Commons Build Plugin Changes</title>
- <author email="dev@commons.apache.org">Apache Commons Developers</author>
- </properties>
-
- <body>
- <release version="1.10" date="2018-??-??" description="Feature release">
- <action dev="sebb" type="update">
- Use SHA256 signatures as the default in the download page.
- </action>
- </release>
- <release version="1.9" date="2018-06-16" description="Feature release">
- <action dev="ggregory" type="fix">
- Fix in src/main/resources/commons-xdoc-templates/readme-md-template.md for components that have a major version number in their artifact IDs.
- </action>
- <action dev="ggregory" type="add" issue="COMMONSSITE-109">
- Add a goal for creating all items for pre-release.
- </action>
- <action dev="ggregory" type="add" issue="COMMONSSITE-116">
- Add a goal for creating the NOTICE.txt file.
- </action>
- <action dev="ggregory" type="add">
- Fix README.md generation typo: 'JavaDoc' -> 'Javadoc'.
- </action>
- <action dev="ggregory" type="update">
- Change the Maven goal prefix from "commons" to "commons-build".
- </action>
- <action dev="ggregory" type="update">
- Update platform requirement from Java 7 to Java 8.
- </action>
- </release>
- <release version="1.8" date="2018-04-02" description="Feature release">
- <action dev="sebb" type="update">
- Use sha1 signatures as opposed to md5 signatures in download page.
- </action>
- <action dev="britter" type="add" issue="COMMONSSITE-94">
- Include Javadoc badge in README.md file.
- </action>
- <action dev="sebb" type="fix">
- Add eol-style:native otherwise generated files can cause commit errors
- </action>
- </release>
- <release version="1.7" date="2016-11-18" description="Feature release">
- <action dev="ggregory" type="add" issue="COMMONSSITE-90">
- Include badges in the README.md file.
- </action>
- <action dev="ggregory" type="add" issue="COMMONSSITE-91">
- Build plugin does not pass the JIRA_ID property when generating README.md.
- </action>
- </release>
-
- <release version="1.6" date="2016-04-24" description="Feature release">
- <action dev="sebb" type="add">
- Added new download-page subdir property: set this (e.g. to '1.2' or 'lang-1.2' etc) to override the default of binaries/source
- </action>
- </release>
-
- <release version="1.5" date="2015-11-28" description="Feature and fix release">
- <action dev="ecki" type="update" issue="COMMONSSITE-81">
- commons-build-plugin README/CONTRIBUTING.md handle multi-modules
- </action>
- <action dev="ecki" type="update">
- Download Page - Better describes KEYS file (and uses https links).
- </action>
- <action dev="britter" type="add">
- CONTRIBUTING.md/README.md - New Goals to build Markdown formatted intro files for GitHub.
- </action>
- </release>
-
- <release version="1.4" date="3 March 2012" description="Feature and fix release.">
- <action dev="ggregory" type="fix" issue="COMMONSSITE-66">
- Add support for a "commons.release.3" set of properties to offer a 3rd download option.
- </action>
- <action type="update">
- Mailing List Page - Make it clear that you have to be subscribed to post.
- </action>
- <action type="fix">
- Fix announce mod_mbox link
- </action>
- </release>
- </body>
-</document>
+<?xml version="1.0"?>
+<!--
+ 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.
+-->
+
+<!-- Description: http://maven.apache.org/plugins/maven-changes-plugin/changes.html -->
+
+<document>
+ <properties>
+ <title>Apache Commons Build Plugin Changes</title>
+ <author email="dev@commons.apache.org">Apache Commons Developers</author>
+ </properties>
+
+ <body>
+ <release version="1.10" date="2019-??-??" description="Feature release">
+ <action dev="sebb" type="update">
+ Use SHA512 signatures as the default in the download page.
+ </action>
+ </release>
+ <release version="1.9" date="2018-06-16" description="Feature release">
+ <action dev="ggregory" type="fix">
+ Fix in src/main/resources/commons-xdoc-templates/readme-md-template.md for components that have a major version number in their artifact IDs.
+ </action>
+ <action dev="ggregory" type="add" issue="COMMONSSITE-109">
+ Add a goal for creating all items for pre-release.
+ </action>
+ <action dev="ggregory" type="add" issue="COMMONSSITE-116">
+ Add a goal for creating the NOTICE.txt file.
+ </action>
+ <action dev="ggregory" type="add">
+ Fix README.md generation typo: 'JavaDoc' -> 'Javadoc'.
+ </action>
+ <action dev="ggregory" type="update">
+ Change the Maven goal prefix from "commons" to "commons-build".
+ </action>
+ <action dev="ggregory" type="update">
+ Update platform requirement from Java 7 to Java 8.
+ </action>
+ </release>
+ <release version="1.8" date="2018-04-02" description="Feature release">
+ <action dev="sebb" type="update">
+ Use sha1 signatures as opposed to md5 signatures in download page.
+ </action>
+ <action dev="britter" type="add" issue="COMMONSSITE-94">
+ Include Javadoc badge in README.md file.
+ </action>
+ <action dev="sebb" type="fix">
+ Add eol-style:native otherwise generated files can cause commit errors
+ </action>
+ </release>
+ <release version="1.7" date="2016-11-18" description="Feature release">
+ <action dev="ggregory" type="add" issue="COMMONSSITE-90">
+ Include badges in the README.md file.
+ </action>
+ <action dev="ggregory" type="add" issue="COMMONSSITE-91">
+ Build plugin does not pass the JIRA_ID property when generating README.md.
+ </action>
+ </release>
+
+ <release version="1.6" date="2016-04-24" description="Feature release">
+ <action dev="sebb" type="add">
+ Added new download-page subdir property: set this (e.g. to '1.2' or 'lang-1.2' etc) to override the default of binaries/source
+ </action>
+ </release>
+
+ <release version="1.5" date="2015-11-28" description="Feature and fix release">
+ <action dev="ecki" type="update" issue="COMMONSSITE-81">
+ commons-build-plugin README/CONTRIBUTING.md handle multi-modules
+ </action>
+ <action dev="ecki" type="update">
+ Download Page - Better describes KEYS file (and uses https links).
+ </action>
+ <action dev="britter" type="add">
+ CONTRIBUTING.md/README.md - New Goals to build Markdown formatted intro files for GitHub.
+ </action>
+ </release>
+
+ <release version="1.4" date="3 March 2012" description="Feature and fix release.">
+ <action dev="ggregory" type="fix" issue="COMMONSSITE-66">
+ Add support for a "commons.release.3" set of properties to offer a 3rd download option.
+ </action>
+ <action type="update">
+ Mailing List Page - Make it clear that you have to be subscribed to post.
+ </action>
+ <action type="fix">
+ Fix announce mod_mbox link
+ </action>
+ </release>
+ </body>
+</document>
diff --git a/src/main/resources/commons-xdoc-templates/download-page-head.xml b/src/main/resources/commons-xdoc-templates/download-page-head.xml
index 3968ca4..b8ab04a 100644
--- a/src/main/resources/commons-xdoc-templates/download-page-head.xml
+++ b/src/main/resources/commons-xdoc-templates/download-page-head.xml
@@ -1,115 +1,115 @@
-<?xml version="1.0"?>
-<!--
-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-build:download-page |
- | |
- | 2) Set the following properties in the component's pom: |
- | - commons.componentid (required, alphabetic, lower case) |
- | - commons.release.version (required) |
- | - commons.release.name (required) |
- | - commons.binary.suffix (optional) |
- | (defaults to "-bin", set to "" for pre-maven2 releases) |
- | - commons.release.desc (optional) |
- | - commons.release.subdir (optional) |
- | - commons.release.hash (optional, lowercase, default sha256) |
- | |
- | - commons.release.[234].version (conditional) |
- | - commons.release.[234].name (conditional) |
- | - commons.release.[234].binary.suffix (optional) |
- | - commons.release.[234].desc (optional) |
- | - commons.release.[234].subdir (optional) |
- | - commons.release.[234].hash (optional, lowercase, [sha256])|
- | |
- | 3) Example Properties |
- | (commons.release.name inherited by parent: |
- | ${project.artifactId}-${commons.release.version} |
- | |
- | <properties> |
- | <commons.componentid>math</commons.componentid> |
- | <commons.release.version>1.2</commons.release.version> |
- | </properties> |
- | |
- +======================================================================+
--->
-<document>
- <properties>
- <title>Download @NAME@</title>
- <author email="dev@commons.apache.org">Apache Commons Documentation Team</author>
- </properties>
- <body>
- <section name="Download @NAME@">
- <subsection name="Using a Mirror">
- <p>
- We recommend you use a mirror to download our release
- builds, but you <strong>must</strong> <a href="http://www.apache.org/info/verification.html">verify the integrity</a> of
- the downloaded files using signatures downloaded from our main
- distribution directories. Recent releases (48 hours) may not yet
- be available from all 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 align="right" src="[logo]" border="0"></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>
- It is essential that you
- <a href="https://www.apache.org/info/verification.html">verify the integrity</a>
- of downloaded files, preferably using the <code>PGP</code> signature (<code>*.asc</code> files);
- failing that using the <code>@HASHUC@</code> hash (<code>*.@HASHLC@</code> checksum files).
- </p>
- <p>
- The <a href="https://www.apache.org/dist/commons/KEYS">KEYS</a>
- file contains the public PGP keys used by Apache Commons developers
- to sign releases.
- </p>
- </subsection>
- </section>
+<?xml version="1.0"?>
+<!--
+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-build:download-page |
+ | |
+ | 2) Set the following properties in the component's pom: |
+ | - commons.componentid (required, alphabetic, lower case) |
+ | - commons.release.version (required) |
+ | - commons.release.name (required) |
+ | - commons.binary.suffix (optional) |
+ | (defaults to "-bin", set to "" for pre-maven2 releases) |
+ | - commons.release.desc (optional) |
+ | - commons.release.subdir (optional) |
+ | - commons.release.hash (optional, lowercase, default sha512) |
+ | |
+ | - commons.release.[234].version (conditional) |
+ | - commons.release.[234].name (conditional) |
+ | - commons.release.[234].binary.suffix (optional) |
+ | - commons.release.[234].desc (optional) |
+ | - commons.release.[234].subdir (optional) |
+ | - commons.release.[234].hash (optional, lowercase, [sha512])|
+ | |
+ | 3) Example Properties |
+ | (commons.release.name inherited by parent: |
+ | ${project.artifactId}-${commons.release.version} |
+ | |
+ | <properties> |
+ | <commons.componentid>math</commons.componentid> |
+ | <commons.release.version>1.2</commons.release.version> |
+ | </properties> |
+ | |
+ +======================================================================+
+-->
+<document>
+ <properties>
+ <title>Download @NAME@</title>
+ <author email="dev@commons.apache.org">Apache Commons Documentation Team</author>
+ </properties>
+ <body>
+ <section name="Download @NAME@">
+ <subsection name="Using a Mirror">
+ <p>
+ We recommend you use a mirror to download our release
+ builds, but you <strong>must</strong> <a href="http://www.apache.org/info/verification.html">verify the integrity</a> of
+ the downloaded files using signatures downloaded from our main
+ distribution directories. Recent releases (48 hours) may not yet
+ be available from all 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 align="right" src="[logo]" border="0"></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>
+ It is essential that you
+ <a href="https://www.apache.org/info/verification.html">verify the integrity</a>
+ of downloaded files, preferably using the <code>PGP</code> signature (<code>*.asc</code> files);
+ failing that using the <code>@HASHUC@</code> hash (<code>*.@HASHLC@</code> checksum files).
+ </p>
+ <p>
+ The <a href="https://www.apache.org/dist/commons/KEYS">KEYS</a>
+ file contains the public PGP keys used by Apache Commons developers
+ to sign releases.
+ </p>
+ </subsection>
+ </section>
diff --git a/src/main/scripts/generate-xdocs.build.xml b/src/main/scripts/generate-xdocs.build.xml
index 00800f2..7528bf0 100644
--- a/src/main/scripts/generate-xdocs.build.xml
+++ b/src/main/scripts/generate-xdocs.build.xml
@@ -1,555 +1,555 @@
-<!--
- 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.
--->
-<!--
- Commons Build: Standard XDOC Pages Generation.
- -->
-<project name="Commons Build: Standard XDOC Pages Generation" basedir=".">
-
- <property name="commonsMojoId" value="Commons:xdoc-generate" />
- <property name="commonsMojoXdocDir" value="resources/commons-xdoc-templates" />
- <property name="commonsMojoTempDir" value="target/commons-generated-xdocs" />
- <property name="level" value="info" />
-
- <!-- ========== Generate All Pages ================================ -->
-
- <target name="all" description="Generate all pages" depends="contributing-md, download-page, jira-page, mail-page, readme-md, notice-txt" />
- <target name="all-sandbox" description="Generate all sandbox pages" depends="contributing-md, download-page, sandbox-jira-page, mail-page, readme-md, notice-txt" />
-
- <!-- ========== Generate Mailing List Page ================================ -->
-
- <target name="mail-page" description="Generate Mailing List page">
-
- <echo level="${level}" message="----- commons-build:mailing-list - Parameters - START -----" />
- <echo level="${level}" message="project.name : ${project.name}" />
- <echo level="${level}" message="commons.componentid : ${commons.componentid}" />
- <echo level="${level}" message="commons.xdoc.dir : ${commons.xdoc.dir}" />
- <echo level="${level}" message="----- commons-build:mailing-list - Parameters - END -----" />
-
- <echo level="info" message="*** Generating ${project.name} Mailing List Page ***" />
-
- <!-- Create a temporary directory to load the template files into -->
- <mkdir dir="${commonsMojoTempDir}"/>
-
- <!-- Load the issue-tracking template from mojo resources to temp directory -->
- <loadresource property="mailinglists-xml">
- <javaresource name="${commonsMojoXdocDir}/mail-lists-template.xml"/>
- </loadresource>
- <echo message="${mailinglists-xml}" file="${commonsMojoTempDir}/mail-lists-template.xml" append="false" />
-
- <!-- Copy the mail-lists template filtering to replace properties -->
- <copy file="${commonsMojoTempDir}/mail-lists-template.xml" tofile="${commonsMojoTempDir}/mail-lists.xml" overwrite="true">
- <filterset>
- <filter token="NAME" value="${project.name}"/>
- <filter token="ID" value="${commons.componentid}"/>
- </filterset>
- </copy>
-
- <!-- copy to either m1 or m2 xdoc directory -->
- <antcall target="copy-to-xdoc-dir">
- <param name="file.name" value="mail-lists.xml"/>
- </antcall>
-
- </target>
-
- <!-- ========== Generate Issue Tracking Page ============================== -->
-
- <target name="jira-page" description="Generate JIRA Issue Tracking page">
-
- <echo level="${level}" message="----- commons-build:jira-page - Parameters - START -----" />
- <echo level="${level}" message="project.name : ${project.name}" />
- <echo level="${level}" message="commons.xdoc.dir : ${commons.xdoc.dir}" />
- <echo level="${level}" message="commons.jira.id : ${commons.jira.id}" />
- <echo level="${level}" message="commons.jira.pid : ${commons.jira.pid}" />
- <echo level="${level}" message="----- commons-build:jira-page - Parameters - END -----" />
-
- <echo level="info" message="*** Generating ${project.name} Issue Tracking Page ***" />
-
- <!-- Create a temporary directory to load the template files into -->
- <mkdir dir="${commonsMojoTempDir}"/>
-
- <!-- Load the issue-tracking template from mojo resources to temp directory -->
- <loadresource property="issuetracking-xml">
- <javaresource name="${commonsMojoXdocDir}/issue-tracking-template.xml"/>
- </loadresource>
- <echo message="${issuetracking-xml}" file="${commonsMojoTempDir}/issue-tracking-template.xml" append="false" />
-
- <!-- Copy the issue-tracking template filtering to replace properties -->
- <copy file="${commonsMojoTempDir}/issue-tracking-template.xml" tofile="${commonsMojoTempDir}/issue-tracking.xml" overwrite="true">
- <filterset>
- <filter token="NAME" value="${project.name}"/>
- <filter token="JIRA_ID" value="${commons.jira.id}"/>
- <filter token="JIRA_PID" value="${commons.jira.pid}"/>
- </filterset>
- </copy>
-
- <!-- copy to either m1 or m2 xdoc directory -->
- <antcall target="copy-to-xdoc-dir">
- <param name="file.name" value="issue-tracking.xml"/>
- </antcall>
-
- </target>
-
-
- <!-- ========== Generate Sandbox Issue Tracking Page ====================== -->
-
- <target name="sandbox-jira-page" description="Generate Sandbox JIRA Issue Tracking page">
-
- <echo level="${level}" message="----- commons-build:sandbox-jira-page - Parameters - START -----" />
- <echo level="${level}" message="project.name : ${project.name}" />
- <echo level="${level}" message="commons.jira.componentid: ${commons.jira.componentid}" />
- <echo level="${level}" message="----- commons-build:sandbox-jira-page - Parameters - END -----" />
-
- <echo level="info" message="*** Generating ${project.name} Sandbox Issue Tracking Page ***" />
-
- <!-- Create a temporary directory to load the template files into -->
- <mkdir dir="${commonsMojoTempDir}"/>
-
- <!-- Load the issue-tracking template from mojo resources to temp directory -->
- <loadresource property="sandbox-issuetracking-xml">
- <javaresource name="${commonsMojoXdocDir}/sandbox-issue-tracking-template.xml"/>
- </loadresource>
- <echo message="${sandbox-issuetracking-xml}" file="${commonsMojoTempDir}/sandbox-issue-tracking-template.xml" append="false" />
-
- <!-- Copy the issue-tracking template filtering to replace properties -->
- <copy file="${commonsMojoTempDir}/sandbox-issue-tracking-template.xml" tofile="${commonsMojoTempDir}/issue-tracking.xml" overwrite="true">
- <filterset>
- <filter token="NAME" value="${project.name}"/>
- <filter token="JIRA_COMPONENTID" value="${commons.jira.componentid}"/>
- </filterset>
- </copy>
-
- <!-- copy to either m1 or m2 xdoc directory -->
- <antcall target="copy-to-xdoc-dir">
- <param name="file.name" value="issue-tracking.xml"/>
- </antcall>
-
- </target>
-
-
- <!-- ========== Generate Download Page ==================================== -->
-
- <scriptdef language="javascript" name="upper">
- <attribute name="string" />
- <attribute name="to" />
-
- project.setProperty( attributes.get( "to" ),
- attributes.get( "string" ).toUpperCase() );
- </scriptdef>
-
- <target name="download-page" description="Generate Download page">
-
- <echo level="${level}" message="----- commons-build:download-page - Parameters - START -----" />
- <echo level="${level}" message="project.name : ${project.name}" />
- <echo level="${level}" message="commons.componentid : ${commons.componentid}" />
- <!-- Current release -->
- <echo level="${level}" message="commons.release.version : ${commons.release.version}" />
- <echo level="${level}" message="commons.release.name : ${commons.release.name}" />
- <echo level="${level}" message="commons.release.desc : ${commons.release.desc}" />
- <echo level="${level}" message="commons.binary.suffix : ${commons.binary.suffix}" />
- <echo level="${level}" message="commons.release.subdir : ${commons.release.subdir}" />
- <echo level="${level}" message="commons.release.hash : ${commons.release.hash}" />
- <!-- Release #2 -->
- <echo level="${level}" message="commons.release.2.version: ${commons.release.2.version}" />
- <echo level="${level}" message="commons.release.2.name : ${commons.release.2.name}" />
- <echo level="${level}" message="commons.release.2.desc : ${commons.release.2.desc}" />
- <echo level="${level}" message="commons.release.2.binary.suffix: ${commons.release.2.binary.suffix}" />
- <echo level="${level}" message="commons.release.2.subdir : ${commons.release.2.subdir}" />
- <echo level="${level}" message="commons.release.2.hash : ${commons.release.2.hash}" />
- <!-- Release #3 -->
- <echo level="${level}" message="commons.release.3.version: ${commons.release.3.version}" />
- <echo level="${level}" message="commons.release.3.name : ${commons.release.3.name}" />
- <echo level="${level}" message="commons.release.3.desc : ${commons.release.3.desc}" />
- <echo level="${level}" message="commons.release.3.binary.suffix: ${commons.release.3.binary.suffix}" />
- <echo level="${level}" message="commons.release.3.subdir : ${commons.release.3.subdir}" />
- <echo level="${level}" message="commons.release.3.hash : ${commons.release.3.hash}" />
- <!-- Release #4 -->
- <echo level="${level}" message="commons.release.4.version: ${commons.release.4.version}" />
- <echo level="${level}" message="commons.release.4.name : ${commons.release.4.name}" />
- <echo level="${level}" message="commons.release.4.desc : ${commons.release.4.desc}" />
- <echo level="${level}" message="commons.release.4.binary.suffix: ${commons.release.4.binary.suffix}" />
- <echo level="${level}" message="commons.release.4.subdir : ${commons.release.4.subdir}" />
- <echo level="${level}" message="commons.release.4.hash : ${commons.release.4.hash}" />
-
- <echo level="${level}" message="----- commons-build:download-page - Parameters - END -----" />
-
- <echo level="info" message="*** Generating ${project.name} ${commons.release.version} Download Page ***" />
-
- <!-- Create a temporary directory to load the template files into -->
- <mkdir dir="${commonsMojoTempDir}"/>
-
- <!-- Load the dowload-page template from mojo resources to temp directory -->
- <antcall target="load-no-download-page-template"/>
- <antcall target="load-download-page-head"/>
- <antcall target="load-download-page-body-1"/>
- <antcall target="load-download-page-body-2"/>
- <antcall target="load-download-page-body-3"/>
- <antcall target="load-download-page-body-4"/>
- <antcall target="load-download-page-foot"/>
-
- <!-- copy to either m1 or m2 xdoc directory -->
- <antcall target="copy-to-xdoc-dir">
- <param name="file.name" value="download_${commons.componentid}.xml"/>
- </antcall>
- </target>
-
- <target name="load-download-page-head" if="commons.release.version">
- <echo level="info" message="*** loading download-page header file ***" />
-
- <condition property="HASHLC" value="${commons.release.hash}" else="sha256">
- <isset property="commons.release.hash"/>
- </condition>
- <upper string="${HASHLC}" to="HASHUC" />
-
- <!-- Load header -->
- <loadresource property="download-page-head-xml">
- <javaresource name="${commonsMojoXdocDir}/download-page-head.xml"/>
- <filterchain>
- <replacetokens>
- <token key="NAME" value="${project.name}"/>
- <token key="HASHUC" value="${HASHUC}"/>
- <token key="HASHLC" value="${HASHLC}"/>
- </replacetokens>
- </filterchain>
- </loadresource>
- <echo message="${download-page-head-xml}" file="${commonsMojoTempDir}/download_${commons.componentid}.xml" append="false" />
-
- </target>
-
- <target name="load-download-page-body-1" if="commons.release.version">
- <echo level="info" message="*** loading download-page body(1) file***" />
-
- <!-- Set up the defaults -->
- <condition property="BINDIR" value="${commons.release.subdir}" else="binaries">
- <isset property="commons.release.subdir"/>
- </condition>
- <condition property="SRCDIR" value="${commons.release.subdir}" else="source">
- <isset property="commons.release.subdir"/>
- </condition>
- <condition property="HASHLC" value="${commons.release.hash}" else="sha256">
- <isset property="commons.release.hash"/>
- </condition>
- <upper string="${HASHLC}" to="HASHUC" />
-
- <!-- Load Body -->
- <loadresource property="download-page-body-1-xml">
- <javaresource name="${commonsMojoXdocDir}/download-page-body.xml"/>
- <filterchain>
- <replacetokens>
- <token key="VERSION" value="${commons.release.version}"/>
- <token key="RELDESC" value="${commons.release.desc}"/>
- <token key="NAME" value="${project.name}"/>
- <token key="ID" value="${commons.componentid}"/>
- <token key="FINAL_NAME" value="${commons.release.name}"/>
- <token key="BINARY-SUFFIX" value="${commons.binary.suffix}"/>
- <token key="BINDIR" value="${BINDIR}"/>
- <token key="SRCDIR" value="${SRCDIR}"/>
- <token key="HASHUC" value="${HASHUC}"/>
- <token key="HASHLC" value="${HASHLC}"/>
- </replacetokens>
- </filterchain>
- </loadresource>
- <echo message="${download-page-body-1-xml}" file="${commonsMojoTempDir}/download_${commons.componentid}.xml" append="true" />
-
- </target>
-
- <target name="load-download-page-body-2" if="commons.release.2.version">
- <echo level="info" message="*** loading download-page body(2) file***" />
-
- <!-- Set up the defaults -->
- <condition property="BINDIR" value="${commons.release.2.subdir}" else="binaries">
- <isset property="commons.release.2.subdir"/>
- </condition>
- <condition property="SRCDIR" value="${commons.release.2.subdir}" else="source">
- <isset property="commons.release.2.subdir"/>
- </condition>
- <condition property="HASHLC" value="${commons.release.2.hash}" else="sha256">
- <isset property="commons.release.2.hash"/>
- </condition>
- <upper string="${HASHLC}" to="HASHUC" />
-
- <!-- Load Body -->
- <loadresource property="download-page-body-2-xml">
- <javaresource name="${commonsMojoXdocDir}/download-page-body.xml"/>
- <filterchain>
- <replacetokens>
- <token key="VERSION" value="${commons.release.2.version}"/>
- <token key="RELDESC" value="${commons.release.2.desc}"/>
- <token key="NAME" value="${project.name}"/>
- <token key="ID" value="${commons.componentid}"/>
- <token key="FINAL_NAME" value="${commons.release.2.name}"/>
- <token key="BINARY-SUFFIX" value="${commons.release.2.binary.suffix}"/>
- <token key="BINDIR" value="${BINDIR}"/>
- <token key="SRCDIR" value="${SRCDIR}"/>
- <token key="HASHUC" value="${HASHUC}"/>
- <token key="HASHLC" value="${HASHLC}"/>
- </replacetokens>
- </filterchain>
- </loadresource>
- <echo message="${download-page-body-2-xml}" file="${commonsMojoTempDir}/download_${commons.componentid}.xml" append="true" />
-
- </target>
-
- <target name="load-download-page-body-3" if="commons.release.3.version">
- <echo level="info" message="*** loading download-page body(3) file***" />
-
- <!-- Set up the defaults -->
- <condition property="BINDIR" value="${commons.release.3.subdir}" else="binaries">
- <isset property="commons.release.3.subdir"/>
- </condition>
- <condition property="SRCDIR" value="${commons.release.3.subdir}" else="source">
- <isset property="commons.release.3.subdir"/>
- </condition>
- <condition property="HASHLC" value="${commons.release.3.hash}" else="sha256">
- <isset property="commons.release.3.hash"/>
- </condition>
- <upper string="${HASHLC}" to="HASHUC" />
-
- <!-- Load Body -->
- <loadresource property="download-page-body-3-xml">
- <javaresource name="${commonsMojoXdocDir}/download-page-body.xml"/>
- <filterchain>
- <replacetokens>
- <token key="VERSION" value="${commons.release.3.version}"/>
- <token key="RELDESC" value="${commons.release.3.desc}"/>
- <token key="NAME" value="${project.name}"/>
- <token key="ID" value="${commons.componentid}"/>
- <token key="FINAL_NAME" value="${commons.release.3.name}"/>
- <token key="BINARY-SUFFIX" value="${commons.release.3.binary.suffix}"/>
- <token key="BINDIR" value="${BINDIR}"/>
- <token key="SRCDIR" value="${SRCDIR}"/>
- <token key="HASHUC" value="${HASHUC}"/>
- <token key="HASHLC" value="${HASHLC}"/>
- </replacetokens>
- </filterchain>
- </loadresource>
- <echo message="${download-page-body-3-xml}" file="${commonsMojoTempDir}/download_${commons.componentid}.xml" append="true" />
-
- </target>
-
- <target name="load-download-page-body-4" if="commons.release.4.version">
- <echo level="info" message="*** loading download-page body(4) file***" />
-
- <!-- Set up the defaults -->
- <condition property="BINDIR" value="${commons.release.4.subdir}" else="binaries">
- <isset property="commons.release.4.subdir"/>
- </condition>
- <condition property="SRCDIR" value="${commons.release.4.subdir}" else="source">
- <isset property="commons.release.4.subdir"/>
- </condition>
- <condition property="HASHLC" value="${commons.release.4.hash}" else="sha256">
- <isset property="commons.release.4.hash"/>
- </condition>
- <upper string="${HASHLC}" to="HASHUC" />
-
- <!-- Load Body -->
- <loadresource property="download-page-body-4-xml">
- <javaresource name="${commonsMojoXdocDir}/download-page-body.xml"/>
- <filterchain>
- <replacetokens>
- <token key="VERSION" value="${commons.release.4.version}"/>
- <token key="RELDESC" value="${commons.release.4.desc}"/>
- <token key="NAME" value="${project.name}"/>
- <token key="ID" value="${commons.componentid}"/>
- <token key="FINAL_NAME" value="${commons.release.4.name}"/>
- <token key="BINARY-SUFFIX" value="${commons.release.4.binary.suffix}"/>
- <token key="BINDIR" value="${BINDIR}"/>
- <token key="SRCDIR" value="${SRCDIR}"/>
- <token key="HASHUC" value="${HASHUC}"/>
- <token key="HASHLC" value="${HASHLC}"/>
- </replacetokens>
- </filterchain>
- </loadresource>
- <echo message="${download-page-body-4-xml}" file="${commonsMojoTempDir}/download_${commons.componentid}.xml" append="true" />
-
- </target>
-
- <target name="load-download-page-foot" if="commons.release.version">
- <echo level="info" message="*** loading download-page footer files ***" />
-
- <!-- Load Footer -->
- <loadresource property="download-page-foot-xml">
- <javaresource name="${commonsMojoXdocDir}/download-page-foot.xml"/>
- <filterchain>
- <replacetokens>
- <token key="ID" value="${commons.componentid}"/>
- </replacetokens>
- </filterchain>
- </loadresource>
- <echo message="${download-page-foot-xml}" file="${commonsMojoTempDir}/download_${commons.componentid}.xml" append="true" />
-
- </target>
-
- <target name="load-no-download-page-template" unless="commons.release.version">
- <echo level="info" message="*** copying no-download-page-template.xml ***" />
- <loadresource property="no-downloadpage-xml">
- <javaresource name="${commonsMojoXdocDir}/no-download-page-template.xml"/>
- </loadresource>
- <echo message="${no-downloadpage-xml}" file="${commonsMojoTempDir}/download-page-template.xml" append="false" />
- </target>
-
- <target name="copy-to-xdoc-dir">
- <available file="xdocs" type="dir" property="m1.xdocs.lib.present"/>
- <available file="src/site/xdoc" type="dir" property="m2.xdocs.lib.present"/>
- <antcall target="copy-to-m1-xdoc-dir"/>
- <antcall target="copy-to-m2-xdoc-dir"/>
- </target>
-
- <target name="copy-to-m1-xdoc-dir" if="m1.xdocs.lib.present">
- <echo level="info" message="*** Copying ${file.name} to m1 xdocs dir ***" />
- <copy file="${commonsMojoTempDir}/${file.name}" tofile="xdocs/${file.name}" overwrite="true" filtering="true"/>
- </target>
-
- <target name="copy-to-m2-xdoc-dir" if="m2.xdocs.lib.present">
- <echo level="info" message="*** Copying ${file.name} to m2 src/site/xdoc dir ***" />
- <copy file="${commonsMojoTempDir}/${file.name}" tofile="src/site/xdoc/${file.name}" overwrite="true" filtering="true"/>
- </target>
-
- <!-- ========== Generate README.md file ================================ -->
-
- <target name="readme-md" description="Generate README.md">
-
- <echo level="${level}" message="----- commons-build:readme-md - Parameters - START -----" />
- <echo level="${level}" message="project.name : ${project.name}" />
- <echo level="${level}" message="project.artifactId : ${project.artifactId}" />
- <echo level="${level}" message="project.groupId : ${project.groupId}" />
- <echo level="${level}" message="project.description : ${project.description}" />
- <echo level="${level}" message="commons.jira.id : ${commons.jira.id}" />
- <echo level="${level}" message="commons.release.version : ${commons.release.version}" />
- <echo level="${level}" message="commons.componentid : ${commons.componentid}" />
- <echo level="${level}" message="----- commons-build:readme-md - Parameters - END -----" />
-
- <echo level="info" message="*** Generating ${project.name} README.md ***" />
-
- <!-- Create a temporary directory to load the template files into -->
- <mkdir dir="${commonsMojoTempDir}"/>
-
- <!-- Load the readme-md template from mojo resources to temp directory -->
- <loadresource property="readme-md">
- <javaresource name="${commonsMojoXdocDir}/readme-md-template.md"/>
- </loadresource>
- <echo message="${readme-md}" file="${commonsMojoTempDir}/readme-md-template.md" append="false" />
-
- <!-- Without using ant-contrib: remove "-project" for multi-module artifacts -->
- <loadresource property="tmp.artifactId">
- <propertyresource name="project.artifactId" />
- <filterchain>
- <tokenfilter>
- <filetokenizer/>
- <replacestring from="-project" to=""/>
- </tokenfilter>
- </filterchain>
- </loadresource>
-
- <!-- Copy the readme-md template filtering to replace properties -->
- <copy file="${commonsMojoTempDir}/readme-md-template.md" tofile="README.md" overwrite="true">
- <filterset>
- <filter token="NAME" value="${project.name}"/>
- <filter token="ARTIFACTID" value="${project.artifactId}"/>
- <filter token="ARTIFACTCOREID" value="${tmp.artifactId}"/>
- <filter token="GROUPID" value="${project.groupId}"/>
- <filter token="JIRA_ID" value="${commons.jira.id}"/>
- <filter token="VERSION" value="${commons.release.version}"/>
- <filter token="DESCRIPTION" value="${project.description}"/>
- <filter token="ID" value="${commons.componentid}"/>
- </filterset>
- </copy>
-
- </target>
-
- <!-- ========== Generate NOTICE.txt file ================================ -->
-
- <target name="notice-txt" description="Generate NOTICE.txt">
-
- <echo level="${level}" message="----- commons-build:notice-txt - Parameters - START -----" />
- <echo level="${level}" message="project.name : ${project.name}" />
- <echo level="${level}" message="project.inceptionYear : ${project.inceptionYear}" />
- <echo level="${level}" message="----- commons-build:notice-txt - Parameters - END -----" />
-
- <script manager="javax" language="javascript"><![CDATA[
- project.setProperty("commons.currentYear", new Date().getFullYear());
- ]]></script>
-
- <echo level="${level}" message="commons.currentYear : ${commons.currentYear}" />
- <echo level="info" message="*** Generating ${project.name} NOTICE.txt ***" />
-
- <!-- Create a temporary directory to load the template files into -->
- <mkdir dir="${commonsMojoTempDir}"/>
-
- <!-- Load the notice-txt template from mojo resources to temp directory -->
- <loadresource property="notice-txt">
- <javaresource name="${commonsMojoXdocDir}/notice-txt-template.txt"/>
- </loadresource>
- <echo message="${notice-txt}" file="${commonsMojoTempDir}/notice-txt-template.txt" append="false" />
-
- <!-- Copy the notice-txt template filtering to replace properties -->
- <copy file="${commonsMojoTempDir}/notice-txt-template.txt" tofile="NOTICE.txt" overwrite="true">
- <filterset>
- <filter token="NAME" value="${project.name}"/>
- <filter token="INCEPTIONYEAR" value="${project.inceptionYear}"/>
- <filter token="CURRENTYEAR" value="${commons.currentYear}"/>
- </filterset>
- </copy>
-
- </target>
-
- <!-- ========== Generate CONTRIBUTING.md file ================================ -->
-
- <target name="contributing-md" description="Generate CONTRIBUTING.md">
-
- <echo level="${level}" message="----- commons-build:readme-md - Parameters - START -----" />
- <echo level="${level}" message="project.name : ${project.name}" />
- <echo level="${level}" message="project.artifactId : ${project.artifactId}" />
- <echo level="${level}" message="commons.jira.id : ${commons.jira.id}" />
- <echo level="${level}" message="commons.componentid : ${commons.componentid}" />
- <echo level="${level}" message="----- commons-build:readme-md - Parameters - END -----" />
-
- <echo level="info" message="*** Generating ${project.name} CONTRIBUTING.md ***" />
-
- <!-- Create a temporary directory to load the template files into -->
- <mkdir dir="${commonsMojoTempDir}"/>
-
- <!-- Load the contributing-md template from mojo resources to temp directory -->
- <loadresource property="contributing-md">
- <javaresource name="${commonsMojoXdocDir}/contributing-md-template.md"/>
- </loadresource>
- <echo message="${contributing-md}" file="${commonsMojoTempDir}/contributing-md-template.md" append="false" />
-
- <!-- Without using ant-contrib: remove "-project" for multi-module artifacts -->
- <loadresource property="tmp.artifactId">
- <propertyresource name="project.artifactId" />
- <filterchain>
- <tokenfilter>
- <filetokenizer/>
- <replacestring from="-project" to=""/>
- </tokenfilter>
- </filterchain>
- </loadresource>
-
- <!-- Copy the mail-lists template filtering to replace properties -->
- <copy file="${commonsMojoTempDir}/contributing-md-template.md" tofile="CONTRIBUTING.md" overwrite="true">
- <filterset>
- <filter token="NAME" value="${project.name}"/>
- <filter token="ARTIFACTID" value="${project.artifactId}"/>
- <filter token="ARTIFACTCOREID" value="${tmp.artifactId}"/>
- <filter token="JIRA_ID" value="${commons.jira.id}"/>
- <filter token="ID" value="${commons.componentid}"/>
- </filterset>
- </copy>
-
- </target>
-
-</project>
+<!--
+ 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.
+-->
+<!--
+ Commons Build: Standard XDOC Pages Generation.
+ -->
+<project name="Commons Build: Standard XDOC Pages Generation" basedir=".">
+
+ <property name="commonsMojoId" value="Commons:xdoc-generate" />
+ <property name="commonsMojoXdocDir" value="resources/commons-xdoc-templates" />
+ <property name="commonsMojoTempDir" value="target/commons-generated-xdocs" />
+ <property name="level" value="info" />
+
+ <!-- ========== Generate All Pages ================================ -->
+
+ <target name="all" description="Generate all pages" depends="contributing-md, download-page, jira-page, mail-page, readme-md, notice-txt" />
+ <target name="all-sandbox" description="Generate all sandbox pages" depends="contributing-md, download-page, sandbox-jira-page, mail-page, readme-md, notice-txt" />
+
+ <!-- ========== Generate Mailing List Page ================================ -->
+
+ <target name="mail-page" description="Generate Mailing List page">
+
+ <echo level="${level}" message="----- commons-build:mailing-list - Parameters - START -----" />
+ <echo level="${level}" message="project.name : ${project.name}" />
+ <echo level="${level}" message="commons.componentid : ${commons.componentid}" />
+ <echo level="${level}" message="commons.xdoc.dir : ${commons.xdoc.dir}" />
+ <echo level="${level}" message="----- commons-build:mailing-list - Parameters - END -----" />
+
+ <echo level="info" message="*** Generating ${project.name} Mailing List Page ***" />
+
+ <!-- Create a temporary directory to load the template files into -->
+ <mkdir dir="${commonsMojoTempDir}"/>
+
+ <!-- Load the issue-tracking template from mojo resources to temp directory -->
+ <loadresource property="mailinglists-xml">
+ <javaresource name="${commonsMojoXdocDir}/mail-lists-template.xml"/>
+ </loadresource>
+ <echo message="${mailinglists-xml}" file="${commonsMojoTempDir}/mail-lists-template.xml" append="false" />
+
+ <!-- Copy the mail-lists template filtering to replace properties -->
+ <copy file="${commonsMojoTempDir}/mail-lists-template.xml" tofile="${commonsMojoTempDir}/mail-lists.xml" overwrite="true">
+ <filterset>
+ <filter token="NAME" value="${project.name}"/>
+ <filter token="ID" value="${commons.componentid}"/>
+ </filterset>
+ </copy>
+
+ <!-- copy to either m1 or m2 xdoc directory -->
+ <antcall target="copy-to-xdoc-dir">
+ <param name="file.name" value="mail-lists.xml"/>
+ </antcall>
+
+ </target>
+
+ <!-- ========== Generate Issue Tracking Page ============================== -->
+
+ <target name="jira-page" description="Generate JIRA Issue Tracking page">
+
+ <echo level="${level}" message="----- commons-build:jira-page - Parameters - START -----" />
+ <echo level="${level}" message="project.name : ${project.name}" />
+ <echo level="${level}" message="commons.xdoc.dir : ${commons.xdoc.dir}" />
+ <echo level="${level}" message="commons.jira.id : ${commons.jira.id}" />
+ <echo level="${level}" message="commons.jira.pid : ${commons.jira.pid}" />
+ <echo level="${level}" message="----- commons-build:jira-page - Parameters - END -----" />
+
+ <echo level="info" message="*** Generating ${project.name} Issue Tracking Page ***" />
+
+ <!-- Create a temporary directory to load the template files into -->
+ <mkdir dir="${commonsMojoTempDir}"/>
+
+ <!-- Load the issue-tracking template from mojo resources to temp directory -->
+ <loadresource property="issuetracking-xml">
+ <javaresource name="${commonsMojoXdocDir}/issue-tracking-template.xml"/>
+ </loadresource>
+ <echo message="${issuetracking-xml}" file="${commonsMojoTempDir}/issue-tracking-template.xml" append="false" />
+
+ <!-- Copy the issue-tracking template filtering to replace properties -->
+ <copy file="${commonsMojoTempDir}/issue-tracking-template.xml" tofile="${commonsMojoTempDir}/issue-tracking.xml" overwrite="true">
+ <filterset>
+ <filter token="NAME" value="${project.name}"/>
+ <filter token="JIRA_ID" value="${commons.jira.id}"/>
+ <filter token="JIRA_PID" value="${commons.jira.pid}"/>
+ </filterset>
+ </copy>
+
+ <!-- copy to either m1 or m2 xdoc directory -->
+ <antcall target="copy-to-xdoc-dir">
+ <param name="file.name" value="issue-tracking.xml"/>
+ </antcall>
+
+ </target>
+
+
+ <!-- ========== Generate Sandbox Issue Tracking Page ====================== -->
+
+ <target name="sandbox-jira-page" description="Generate Sandbox JIRA Issue Tracking page">
+
+ <echo level="${level}" message="----- commons-build:sandbox-jira-page - Parameters - START -----" />
+ <echo level="${level}" message="project.name : ${project.name}" />
+ <echo level="${level}" message="commons.jira.componentid: ${commons.jira.componentid}" />
+ <echo level="${level}" message="----- commons-build:sandbox-jira-page - Parameters - END -----" />
+
+ <echo level="info" message="*** Generating ${project.name} Sandbox Issue Tracking Page ***" />
+
+ <!-- Create a temporary directory to load the template files into -->
+ <mkdir dir="${commonsMojoTempDir}"/>
+
+ <!-- Load the issue-tracking template from mojo resources to temp directory -->
+ <loadresource property="sandbox-issuetracking-xml">
+ <javaresource name="${commonsMojoXdocDir}/sandbox-issue-tracking-template.xml"/>
+ </loadresource>
+ <echo message="${sandbox-issuetracking-xml}" file="${commonsMojoTempDir}/sandbox-issue-tracking-template.xml" append="false" />
+
+ <!-- Copy the issue-tracking template filtering to replace properties -->
+ <copy file="${commonsMojoTempDir}/sandbox-issue-tracking-template.xml" tofile="${commonsMojoTempDir}/issue-tracking.xml" overwrite="true">
+ <filterset>
+ <filter token="NAME" value="${project.name}"/>
+ <filter token="JIRA_COMPONENTID" value="${commons.jira.componentid}"/>
+ </filterset>
+ </copy>
+
+ <!-- copy to either m1 or m2 xdoc directory -->
+ <antcall target="copy-to-xdoc-dir">
+ <param name="file.name" value="issue-tracking.xml"/>
+ </antcall>
+
+ </target>
+
+
+ <!-- ========== Generate Download Page ==================================== -->
+
+ <scriptdef language="javascript" name="upper">
+ <attribute name="string" />
+ <attribute name="to" />
+
+ project.setProperty( attributes.get( "to" ),
+ attributes.get( "string" ).toUpperCase() );
+ </scriptdef>
+
+ <target name="download-page" description="Generate Download page">
+
+ <echo level="${level}" message="----- commons-build:download-page - Parameters - START -----" />
+ <echo level="${level}" message="project.name : ${project.name}" />
+ <echo level="${level}" message="commons.componentid : ${commons.componentid}" />
+ <!-- Current release -->
+ <echo level="${level}" message="commons.release.version : ${commons.release.version}" />
+ <echo level="${level}" message="commons.release.name : ${commons.release.name}" />
+ <echo level="${level}" message="commons.release.desc : ${commons.release.desc}" />
+ <echo level="${level}" message="commons.binary.suffix : ${commons.binary.suffix}" />
+ <echo level="${level}" message="commons.release.subdir : ${commons.release.subdir}" />
+ <echo level="${level}" message="commons.release.hash : ${commons.release.hash}" />
+ <!-- Release #2 -->
+ <echo level="${level}" message="commons.release.2.version: ${commons.release.2.version}" />
+ <echo level="${level}" message="commons.release.2.name : ${commons.release.2.name}" />
+ <echo level="${level}" message="commons.release.2.desc : ${commons.release.2.desc}" />
+ <echo level="${level}" message="commons.release.2.binary.suffix: ${commons.release.2.binary.suffix}" />
+ <echo level="${level}" message="commons.release.2.subdir : ${commons.release.2.subdir}" />
+ <echo level="${level}" message="commons.release.2.hash : ${commons.release.2.hash}" />
+ <!-- Release #3 -->
+ <echo level="${level}" message="commons.release.3.version: ${commons.release.3.version}" />
+ <echo level="${level}" message="commons.release.3.name : ${commons.release.3.name}" />
+ <echo level="${level}" message="commons.release.3.desc : ${commons.release.3.desc}" />
+ <echo level="${level}" message="commons.release.3.binary.suffix: ${commons.release.3.binary.suffix}" />
+ <echo level="${level}" message="commons.release.3.subdir : ${commons.release.3.subdir}" />
+ <echo level="${level}" message="commons.release.3.hash : ${commons.release.3.hash}" />
+ <!-- Release #4 -->
+ <echo level="${level}" message="commons.release.4.version: ${commons.release.4.version}" />
+ <echo level="${level}" message="commons.release.4.name : ${commons.release.4.name}" />
+ <echo level="${level}" message="commons.release.4.desc : ${commons.release.4.desc}" />
+ <echo level="${level}" message="commons.release.4.binary.suffix: ${commons.release.4.binary.suffix}" />
+ <echo level="${level}" message="commons.release.4.subdir : ${commons.release.4.subdir}" />
+ <echo level="${level}" message="commons.release.4.hash : ${commons.release.4.hash}" />
+
+ <echo level="${level}" message="----- commons-build:download-page - Parameters - END -----" />
+
+ <echo level="info" message="*** Generating ${project.name} ${commons.release.version} Download Page ***" />
+
+ <!-- Create a temporary directory to load the template files into -->
+ <mkdir dir="${commonsMojoTempDir}"/>
+
+ <!-- Load the dowload-page template from mojo resources to temp directory -->
+ <antcall target="load-no-download-page-template"/>
+ <antcall target="load-download-page-head"/>
+ <antcall target="load-download-page-body-1"/>
+ <antcall target="load-download-page-body-2"/>
+ <antcall target="load-download-page-body-3"/>
+ <antcall target="load-download-page-body-4"/>
+ <antcall target="load-download-page-foot"/>
+
+ <!-- copy to either m1 or m2 xdoc directory -->
+ <antcall target="copy-to-xdoc-dir">
+ <param name="file.name" value="download_${commons.componentid}.xml"/>
+ </antcall>
+ </target>
+
+ <target name="load-download-page-head" if="commons.release.version">
+ <echo level="info" message="*** loading download-page header file ***" />
+
+ <condition property="HASHLC" value="${commons.release.hash}" else="sha512">
+ <isset property="commons.release.hash"/>
+ </condition>
+ <upper string="${HASHLC}" to="HASHUC" />
+
+ <!-- Load header -->
+ <loadresource property="download-page-head-xml">
+ <javaresource name="${commonsMojoXdocDir}/download-page-head.xml"/>
+ <filterchain>
+ <replacetokens>
+ <token key="NAME" value="${project.name}"/>
+ <token key="HASHUC" value="${HASHUC}"/>
+ <token key="HASHLC" value="${HASHLC}"/>
+ </replacetokens>
+ </filterchain>
+ </loadresource>
+ <echo message="${download-page-head-xml}" file="${commonsMojoTempDir}/download_${commons.componentid}.xml" append="false" />
+
+ </target>
+
+ <target name="load-download-page-body-1" if="commons.release.version">
+ <echo level="info" message="*** loading download-page body(1) file***" />
+
+ <!-- Set up the defaults -->
+ <condition property="BINDIR" value="${commons.release.subdir}" else="binaries">
+ <isset property="commons.release.subdir"/>
+ </condition>
+ <condition property="SRCDIR" value="${commons.release.subdir}" else="source">
+ <isset property="commons.release.subdir"/>
+ </condition>
+ <condition property="HASHLC" value="${commons.release.hash}" else="sha512">
+ <isset property="commons.release.hash"/>
+ </condition>
+ <upper string="${HASHLC}" to="HASHUC" />
+
+ <!-- Load Body -->
+ <loadresource property="download-page-body-1-xml">
+ <javaresource name="${commonsMojoXdocDir}/download-page-body.xml"/>
+ <filterchain>
+ <replacetokens>
+ <token key="VERSION" value="${commons.release.version}"/>
+ <token key="RELDESC" value="${commons.release.desc}"/>
+ <token key="NAME" value="${project.name}"/>
+ <token key="ID" value="${commons.componentid}"/>
+ <token key="FINAL_NAME" value="${commons.release.name}"/>
+ <token key="BINARY-SUFFIX" value="${commons.binary.suffix}"/>
+ <token key="BINDIR" value="${BINDIR}"/>
+ <token key="SRCDIR" value="${SRCDIR}"/>
+ <token key="HASHUC" value="${HASHUC}"/>
+ <token key="HASHLC" value="${HASHLC}"/>
+ </replacetokens>
+ </filterchain>
+ </loadresource>
+ <echo message="${download-page-body-1-xml}" file="${commonsMojoTempDir}/download_${commons.componentid}.xml" append="true" />
+
+ </target>
+
+ <target name="load-download-page-body-2" if="commons.release.2.version">
+ <echo level="info" message="*** loading download-page body(2) file***" />
+
+ <!-- Set up the defaults -->
+ <condition property="BINDIR" value="${commons.release.2.subdir}" else="binaries">
+ <isset property="commons.release.2.subdir"/>
+ </condition>
+ <condition property="SRCDIR" value="${commons.release.2.subdir}" else="source">
+ <isset property="commons.release.2.subdir"/>
+ </condition>
+ <condition property="HASHLC" value="${commons.release.2.hash}" else="sha512">
+ <isset property="commons.release.2.hash"/>
+ </condition>
+ <upper string="${HASHLC}" to="HASHUC" />
+
+ <!-- Load Body -->
+ <loadresource property="download-page-body-2-xml">
+ <javaresource name="${commonsMojoXdocDir}/download-page-body.xml"/>
+ <filterchain>
+ <replacetokens>
+ <token key="VERSION" value="${commons.release.2.version}"/>
+ <token key="RELDESC" value="${commons.release.2.desc}"/>
+ <token key="NAME" value="${project.name}"/>
+ <token key="ID" value="${commons.componentid}"/>
+ <token key="FINAL_NAME" value="${commons.release.2.name}"/>
+ <token key="BINARY-SUFFIX" value="${commons.release.2.binary.suffix}"/>
+ <token key="BINDIR" value="${BINDIR}"/>
+ <token key="SRCDIR" value="${SRCDIR}"/>
+ <token key="HASHUC" value="${HASHUC}"/>
+ <token key="HASHLC" value="${HASHLC}"/>
+ </replacetokens>
+ </filterchain>
+ </loadresource>
+ <echo message="${download-page-body-2-xml}" file="${commonsMojoTempDir}/download_${commons.componentid}.xml" append="true" />
+
+ </target>
+
+ <target name="load-download-page-body-3" if="commons.release.3.version">
+ <echo level="info" message="*** loading download-page body(3) file***" />
+
+ <!-- Set up the defaults -->
+ <condition property="BINDIR" value="${commons.release.3.subdir}" else="binaries">
+ <isset property="commons.release.3.subdir"/>
+ </condition>
+ <condition property="SRCDIR" value="${commons.release.3.subdir}" else="source">
+ <isset property="commons.release.3.subdir"/>
+ </condition>
+ <condition property="HASHLC" value="${commons.release.3.hash}" else="sha512">
+ <isset property="commons.release.3.hash"/>
+ </condition>
+ <upper string="${HASHLC}" to="HASHUC" />
+
+ <!-- Load Body -->
+ <loadresource property="download-page-body-3-xml">
+ <javaresource name="${commonsMojoXdocDir}/download-page-body.xml"/>
+ <filterchain>
+ <replacetokens>
+ <token key="VERSION" value="${commons.release.3.version}"/>
+ <token key="RELDESC" value="${commons.release.3.desc}"/>
+ <token key="NAME" value="${project.name}"/>
+ <token key="ID" value="${commons.componentid}"/>
+ <token key="FINAL_NAME" value="${commons.release.3.name}"/>
+ <token key="BINARY-SUFFIX" value="${commons.release.3.binary.suffix}"/>
+ <token key="BINDIR" value="${BINDIR}"/>
+ <token key="SRCDIR" value="${SRCDIR}"/>
+ <token key="HASHUC" value="${HASHUC}"/>
+ <token key="HASHLC" value="${HASHLC}"/>
+ </replacetokens>
+ </filterchain>
+ </loadresource>
+ <echo message="${download-page-body-3-xml}" file="${commonsMojoTempDir}/download_${commons.componentid}.xml" append="true" />
+
+ </target>
+
+ <target name="load-download-page-body-4" if="commons.release.4.version">
+ <echo level="info" message="*** loading download-page body(4) file***" />
+
+ <!-- Set up the defaults -->
+ <condition property="BINDIR" value="${commons.release.4.subdir}" else="binaries">
+ <isset property="commons.release.4.subdir"/>
+ </condition>
+ <condition property="SRCDIR" value="${commons.release.4.subdir}" else="source">
+ <isset property="commons.release.4.subdir"/>
+ </condition>
+ <condition property="HASHLC" value="${commons.release.4.hash}" else="sha512">
+ <isset property="commons.release.4.hash"/>
+ </condition>
+ <upper string="${HASHLC}" to="HASHUC" />
+
+ <!-- Load Body -->
+ <loadresource property="download-page-body-4-xml">
+ <javaresource name="${commonsMojoXdocDir}/download-page-body.xml"/>
+ <filterchain>
+ <replacetokens>
+ <token key="VERSION" value="${commons.release.4.version}"/>
+ <token key="RELDESC" value="${commons.release.4.desc}"/>
+ <token key="NAME" value="${project.name}"/>
+ <token key="ID" value="${commons.componentid}"/>
+ <token key="FINAL_NAME" value="${commons.release.4.name}"/>
+ <token key="BINARY-SUFFIX" value="${commons.release.4.binary.suffix}"/>
+ <token key="BINDIR" value="${BINDIR}"/>
+ <token key="SRCDIR" value="${SRCDIR}"/>
+ <token key="HASHUC" value="${HASHUC}"/>
+ <token key="HASHLC" value="${HASHLC}"/>
+ </replacetokens>
+ </filterchain>
+ </loadresource>
+ <echo message="${download-page-body-4-xml}" file="${commonsMojoTempDir}/download_${commons.componentid}.xml" append="true" />
+
+ </target>
+
+ <target name="load-download-page-foot" if="commons.release.version">
+ <echo level="info" message="*** loading download-page footer files ***" />
+
+ <!-- Load Footer -->
+ <loadresource property="download-page-foot-xml">
+ <javaresource name="${commonsMojoXdocDir}/download-page-foot.xml"/>
+ <filterchain>
+ <replacetokens>
+ <token key="ID" value="${commons.componentid}"/>
+ </replacetokens>
+ </filterchain>
+ </loadresource>
+ <echo message="${download-page-foot-xml}" file="${commonsMojoTempDir}/download_${commons.componentid}.xml" append="true" />
+
+ </target>
+
+ <target name="load-no-download-page-template" unless="commons.release.version">
+ <echo level="info" message="*** copying no-download-page-template.xml ***" />
+ <loadresource property="no-downloadpage-xml">
+ <javaresource name="${commonsMojoXdocDir}/no-download-page-template.xml"/>
+ </loadresource>
+ <echo message="${no-downloadpage-xml}" file="${commonsMojoTempDir}/download-page-template.xml" append="false" />
+ </target>
+
+ <target name="copy-to-xdoc-dir">
+ <available file="xdocs" type="dir" property="m1.xdocs.lib.present"/>
+ <available file="src/site/xdoc" type="dir" property="m2.xdocs.lib.present"/>
+ <antcall target="copy-to-m1-xdoc-dir"/>
+ <antcall target="copy-to-m2-xdoc-dir"/>
+ </target>
+
+ <target name="copy-to-m1-xdoc-dir" if="m1.xdocs.lib.present">
+ <echo level="info" message="*** Copying ${file.name} to m1 xdocs dir ***" />
+ <copy file="${commonsMojoTempDir}/${file.name}" tofile="xdocs/${file.name}" overwrite="true" filtering="true"/>
+ </target>
+
+ <target name="copy-to-m2-xdoc-dir" if="m2.xdocs.lib.present">
+ <echo level="info" message="*** Copying ${file.name} to m2 src/site/xdoc dir ***" />
+ <copy file="${commonsMojoTempDir}/${file.name}" tofile="src/site/xdoc/${file.name}" overwrite="true" filtering="true"/>
+ </target>
+
+ <!-- ========== Generate README.md file ================================ -->
+
+ <target name="readme-md" description="Generate README.md">
+
+ <echo level="${level}" message="----- commons-build:readme-md - Parameters - START -----" />
+ <echo level="${level}" message="project.name : ${project.name}" />
+ <echo level="${level}" message="project.artifactId : ${project.artifactId}" />
+ <echo level="${level}" message="project.groupId : ${project.groupId}" />
+ <echo level="${level}" message="project.description : ${project.description}" />
+ <echo level="${level}" message="commons.jira.id : ${commons.jira.id}" />
+ <echo level="${level}" message="commons.release.version : ${commons.release.version}" />
+ <echo level="${level}" message="commons.componentid : ${commons.componentid}" />
+ <echo level="${level}" message="----- commons-build:readme-md - Parameters - END -----" />
+
+ <echo level="info" message="*** Generating ${project.name} README.md ***" />
+
+ <!-- Create a temporary directory to load the template files into -->
+ <mkdir dir="${commonsMojoTempDir}"/>
+
+ <!-- Load the readme-md template from mojo resources to temp directory -->
+ <loadresource property="readme-md">
+ <javaresource name="${commonsMojoXdocDir}/readme-md-template.md"/>
+ </loadresource>
+ <echo message="${readme-md}" file="${commonsMojoTempDir}/readme-md-template.md" append="false" />
+
+ <!-- Without using ant-contrib: remove "-project" for multi-module artifacts -->
+ <loadresource property="tmp.artifactId">
+ <propertyresource name="project.artifactId" />
+ <filterchain>
+ <tokenfilter>
+ <filetokenizer/>
+ <replacestring from="-project" to=""/>
+ </tokenfilter>
+ </filterchain>
+ </loadresource>
+
+ <!-- Copy the readme-md template filtering to replace properties -->
+ <copy file="${commonsMojoTempDir}/readme-md-template.md" tofile="README.md" overwrite="true">
+ <filterset>
+ <filter token="NAME" value="${project.name}"/>
+ <filter token="ARTIFACTID" value="${project.artifactId}"/>
+ <filter token="ARTIFACTCOREID" value="${tmp.artifactId}"/>
+ <filter token="GROUPID" value="${project.groupId}"/>
+ <filter token="JIRA_ID" value="${commons.jira.id}"/>
+ <filter token="VERSION" value="${commons.release.version}"/>
+ <filter token="DESCRIPTION" value="${project.description}"/>
+ <filter token="ID" value="${commons.componentid}"/>
+ </filterset>
+ </copy>
+
+ </target>
+
+ <!-- ========== Generate NOTICE.txt file ================================ -->
+
+ <target name="notice-txt" description="Generate NOTICE.txt">
+
+ <echo level="${level}" message="----- commons-build:notice-txt - Parameters - START -----" />
+ <echo level="${level}" message="project.name : ${project.name}" />
+ <echo level="${level}" message="project.inceptionYear : ${project.inceptionYear}" />
+ <echo level="${level}" message="----- commons-build:notice-txt - Parameters - END -----" />
+
+ <script manager="javax" language="javascript"><![CDATA[
+ project.setProperty("commons.currentYear", new Date().getFullYear());
+ ]]></script>
+
+ <echo level="${level}" message="commons.currentYear : ${commons.currentYear}" />
+ <echo level="info" message="*** Generating ${project.name} NOTICE.txt ***" />
+
+ <!-- Create a temporary directory to load the template files into -->
+ <mkdir dir="${commonsMojoTempDir}"/>
+
+ <!-- Load the notice-txt template from mojo resources to temp directory -->
+ <loadresource property="notice-txt">
+ <javaresource name="${commonsMojoXdocDir}/notice-txt-template.txt"/>
+ </loadresource>
+ <echo message="${notice-txt}" file="${commonsMojoTempDir}/notice-txt-template.txt" append="false" />
+
+ <!-- Copy the notice-txt template filtering to replace properties -->
+ <copy file="${commonsMojoTempDir}/notice-txt-template.txt" tofile="NOTICE.txt" overwrite="true">
+ <filterset>
+ <filter token="NAME" value="${project.name}"/>
+ <filter token="INCEPTIONYEAR" value="${project.inceptionYear}"/>
+ <filter token="CURRENTYEAR" value="${commons.currentYear}"/>
+ </filterset>
+ </copy>
+
+ </target>
+
+ <!-- ========== Generate CONTRIBUTING.md file ================================ -->
+
+ <target name="contributing-md" description="Generate CONTRIBUTING.md">
+
+ <echo level="${level}" message="----- commons-build:readme-md - Parameters - START -----" />
+ <echo level="${level}" message="project.name : ${project.name}" />
+ <echo level="${level}" message="project.artifactId : ${project.artifactId}" />
+ <echo level="${level}" message="commons.jira.id : ${commons.jira.id}" />
+ <echo level="${level}" message="commons.componentid : ${commons.componentid}" />
+ <echo level="${level}" message="----- commons-build:readme-md - Parameters - END -----" />
+
+ <echo level="info" message="*** Generating ${project.name} CONTRIBUTING.md ***" />
+
+ <!-- Create a temporary directory to load the template files into -->
+ <mkdir dir="${commonsMojoTempDir}"/>
+
+ <!-- Load the contributing-md template from mojo resources to temp directory -->
+ <loadresource property="contributing-md">
+ <javaresource name="${commonsMojoXdocDir}/contributing-md-template.md"/>
+ </loadresource>
+ <echo message="${contributing-md}" file="${commonsMojoTempDir}/contributing-md-template.md" append="false" />
+
+ <!-- Without using ant-contrib: remove "-project" for multi-module artifacts -->
+ <loadresource property="tmp.artifactId">
+ <propertyresource name="project.artifactId" />
+ <filterchain>
+ <tokenfilter>
+ <filetokenizer/>
+ <replacestring from="-project" to=""/>
+ </tokenfilter>
+ </filterchain>
+ </loadresource>
+
+ <!-- Copy the mail-lists template filtering to replace properties -->
+ <copy file="${commonsMojoTempDir}/contributing-md-template.md" tofile="CONTRIBUTING.md" overwrite="true">
+ <filterset>
+ <filter token="NAME" value="${project.name}"/>
+ <filter token="ARTIFACTID" value="${project.artifactId}"/>
+ <filter token="ARTIFACTCOREID" value="${tmp.artifactId}"/>
+ <filter token="JIRA_ID" value="${commons.jira.id}"/>
+ <filter token="ID" value="${commons.componentid}"/>
+ </filterset>
+ </copy>
+
+ </target>
+
+</project>
diff --git a/src/main/scripts/generate-xdocs.mojos.xml b/src/main/scripts/generate-xdocs.mojos.xml
index aeac0d4..a35b09f 100644
--- a/src/main/scripts/generate-xdocs.mojos.xml
+++ b/src/main/scripts/generate-xdocs.mojos.xml
@@ -1,1016 +1,1016 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-
- 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.
--->
-<!--
- Mojo metadata for "Commons Build: Standard XDOC Pages Generation".
- -->
-<pluginMetadata>
-<!-- Using XInclude would help here. -->
- <mojos>
- <mojo>
- <goal>all</goal>
- <call>all</call>
- <description>Apache Commons Build Mojo: Generate all pages.</description>
- <requiresProject>true</requiresProject>
- <parameters>
- <parameter>
- <name>project.name</name>
- <property>project.name</property>
- <required>true</required>
- <readonly>true</readonly>
- <defaultValue>${project.name}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the project currently being built.</description>
- </parameter>
- <parameter>
- <name>project.description</name>
- <property>project.description</property>
- <required>true</required>
- <readonly>true</readonly>
- <defaultValue>${project.description}</defaultValue>
- <type>java.lang.String</type>
- <description>A description of the project currently being built.</description>
- </parameter>
- <parameter>
- <name>project.groupId</name>
- <property>project.groupId</property>
- <required>true</required>
- <readonly>true</readonly>
- <defaultValue>${project.groupId}</defaultValue>
- <type>java.lang.String</type>
- <description>The groupId of the project currently being built.</description>
- </parameter>
- <parameter>
- <name>project.artifactId</name>
- <property>project.artifactId</property>
- <required>true</required>
- <readonly>true</readonly>
- <defaultValue>${project.artifactId}</defaultValue>
- <type>java.lang.String</type>
- <description>The artifactId of the project currently being built.</description>
- </parameter>
- <parameter>
- <name>project.inceptionYear</name>
- <property>project.inceptionYear</property>
- <required>true</required>
- <readonly>true</readonly>
- <expression>${project.inceptionYear}</expression>
- <type>java.lang.String</type>
- <description>The inception year of the project currently being built.</description>
- </parameter>
- <parameter>
- <name>commons.jira.id</name>
- <property>commons.jira.id</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${commons.jira.id}</defaultValue>
- <type>java.lang.String</type>
- <description>The external JIRA id for the project (alphabetic, upper case.)</description>
- </parameter>
- <parameter>
- <name>commons.componentid</name>
- <property>commons.componentid</property>
- <required>true</required>
- <readonly>true</readonly>
- <defaultValue>${commons.componentid}</defaultValue>
- <type>java.lang.String</type>
- <description>The commons component id.</description>
- </parameter>
- <parameter>
- <name>commons.jira.pid</name>
- <property>commons.jira.pid</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${commons.jira.pid}</defaultValue>
- <type>java.lang.String</type>
- <description>The internal JIRA id for the project (numeric.)</description>
- </parameter>
- <parameter>
- <name>commons.release.version</name>
- <property>commons.release.version</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.version}</defaultValue>
- <type>java.lang.String</type>
- <description>The version of the latest release of the project.</description>
- </parameter>
- <parameter>
- <name>commons.release.name</name>
- <property>commons.release.name</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.name}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the latest release of the project.</description>
- </parameter>
- <parameter>
- <name>commons.binary.suffix</name>
- <property>commons.binary.suffix</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.binary.suffix}</defaultValue>
- <type>java.lang.String</type>
- <description>The suffix for the binary distribution.</description>
- </parameter>
- <parameter>
- <name>commons.release.desc</name>
- <property>commons.release.desc</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.desc}</defaultValue>
- <type>java.lang.String</type>
- <description>Release Title or Description.</description>
- </parameter>
- <parameter>
- <name>commons.release.subdir</name>
- <property>commons.release.subdir</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.subdir}</defaultValue>
- <type>java.lang.String</type>
- <description>Subdirectory (instead of source/binaries.)</description>
- </parameter>
- <!-- commons.release.2.* -->
- <parameter>
- <name>commons.release.2.version</name>
- <property>commons.release.2.version</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.2.version}</defaultValue>
- <type>java.lang.String</type>
- <description>The version of an alternative release of the project.</description>
- </parameter>
- <parameter>
- <name>commons.release.2.name</name>
- <property>commons.release.2.name</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.2.name}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the alternative release of the project.</description>
- </parameter>
- <parameter>
- <name>commons.release.2.desc</name>
- <property>commons.release.2.desc</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.2.desc}</defaultValue>
- <type>java.lang.String</type>
- <description>Alternative Release Title or Description.</description>
- </parameter>
- <parameter>
- <name>commons.release.2.binary.suffix</name>
- <property>commons.release.2.binary.suffix</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.2.binary.suffix}</defaultValue>
- <type>java.lang.String</type>
- <description>The suffix for the alternative release binary distribution.</description>
- </parameter>
- <parameter>
- <name>commons.release.2.subdir</name>
- <property>commons.release.2.subdir</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.2.subdir}</defaultValue>
- <type>java.lang.String</type>
- <description>Subdirectory (instead of source/binaries.)</description>
- </parameter>
- <!-- commons.release.3.* -->
- <parameter>
- <name>commons.release.3.version</name>
- <property>commons.release.3.version</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.3.version}</defaultValue>
- <type>java.lang.String</type>
- <description>The version of an alternative release of the project.</description>
- </parameter>
- <parameter>
- <name>commons.release.3.name</name>
- <property>commons.release.3.name</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.3.name}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the alternative release of the project.</description>
- </parameter>
- <parameter>
- <name>commons.release.3.desc</name>
- <property>commons.release.3.desc</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.3.desc}</defaultValue>
- <type>java.lang.String</type>
- <description>Alternative Release Title or Description.</description>
- </parameter>
- <parameter>
- <name>commons.release.3.binary.suffix</name>
- <property>commons.release.3.binary.suffix</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.3.binary.suffix}</defaultValue>
- <type>java.lang.String</type>
- <description>The suffix for the alternative release binary distribution.</description>
- </parameter>
- <parameter>
- <name>commons.release.3.subdir</name>
- <property>commons.release.3.subdir</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.3.subdir}</defaultValue>
- <type>java.lang.String</type>
- <description>Subdirectory (instead of source/binaries.)</description>
- </parameter>
- <!-- commons.release.4.* -->
- <parameter>
- <name>commons.release.4.version</name>
- <property>commons.release.4.version</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.4.version}</defaultValue>
- <type>java.lang.String</type>
- <description>The version of an alternative release of the project.</description>
- </parameter>
- <parameter>
- <name>commons.release.4.name</name>
- <property>commons.release.4.name</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.4.name}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the alternative release of the project.</description>
- </parameter>
- <parameter>
- <name>commons.release.4.desc</name>
- <property>commons.release.4.desc</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.4.desc}</defaultValue>
- <type>java.lang.String</type>
- <description>Alternative Release Title or Description.</description>
- </parameter>
- <parameter>
- <name>commons.release.4.binary.suffix</name>
- <property>commons.release.4.binary.suffix</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.4.binary.suffix}</defaultValue>
- <type>java.lang.String</type>
- <description>The suffix for the alternative release binary distribution.</description>
- </parameter>
- <parameter>
- <name>commons.release.4.subdir</name>
- <property>commons.release.4.subdir</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.4.subdir}</defaultValue>
- <type>java.lang.String</type>
- <description>Subdirectory (instead of source/binaries.)</description>
- </parameter>
- </parameters>
- </mojo>
- <mojo>
- <goal>all-sandbox</goal>
- <call>all-sandbox</call>
- <description>Apache Commons Build Mojo: Generate all sandbox pages.</description>
- <requiresProject>true</requiresProject>
- <parameters>
- <parameter>
- <name>project.name</name>
- <property>project.name</property>
- <required>true</required>
- <readonly>true</readonly>
- <defaultValue>${project.name}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the project currently being built.</description>
- </parameter>
- <parameter>
- <name>project.groupId</name>
- <property>project.groupId</property>
- <required>true</required>
- <readonly>true</readonly>
- <defaultValue>${project.groupId}</defaultValue>
- <type>java.lang.String</type>
- <description>The groupId of the project currently being built.</description>
- </parameter>
- <parameter>
- <name>project.artifactId</name>
- <property>project.artifactId</property>
- <required>true</required>
- <readonly>true</readonly>
- <defaultValue>${project.artifactId}</defaultValue>
- <type>java.lang.String</type>
- <description>The artifactId of the project currently being built.</description>
- </parameter>
- <parameter>
- <name>commons.jira.id</name>
- <property>commons.jira.id</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${commons.jira.id}</defaultValue>
- <type>java.lang.String</type>
- <description>The external JIRA id for the project (alphabetic, upper case.)</description>
- </parameter>
- <parameter>
- <name>commons.componentid</name>
- <property>commons.componentid</property>
- <required>true</required>
- <readonly>true</readonly>
- <defaultValue>${commons.componentid}</defaultValue>
- <type>java.lang.String</type>
- <description>The commons component id.</description>
- </parameter>
- <parameter>
- <name>commons.jira.pid</name>
- <property>commons.jira.pid</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${commons.jira.pid}</defaultValue>
- <type>java.lang.String</type>
- <description>The internal JIRA id for the project (numeric.)</description>
- </parameter>
- <parameter>
- <name>commons.release.version</name>
- <property>commons.release.version</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.version}</defaultValue>
- <type>java.lang.String</type>
- <description>The version of the latest release of the project.</description>
- </parameter>
- <parameter>
- <name>commons.release.name</name>
- <property>commons.release.name</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.name}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the latest release of the project.</description>
- </parameter>
- <parameter>
- <name>commons.binary.suffix</name>
- <property>commons.binary.suffix</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.binary.suffix}</defaultValue>
- <type>java.lang.String</type>
- <description>The suffix for the binary distribution.</description>
- </parameter>
- <parameter>
- <name>commons.release.desc</name>
- <property>commons.release.desc</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.desc}</defaultValue>
- <type>java.lang.String</type>
- <description>Release Title or Description.</description>
- </parameter>
- <parameter>
- <name>commons.release.subdir</name>
- <property>commons.release.subdir</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.subdir}</defaultValue>
- <type>java.lang.String</type>
- <description>Subdirectory (instead of source/binaries.)</description>
- </parameter>
- <!-- commons.release.2.* -->
- <parameter>
- <name>commons.release.2.version</name>
- <property>commons.release.2.version</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.2.version}</defaultValue>
- <type>java.lang.String</type>
- <description>The version of an alternative release of the project.</description>
- </parameter>
- <parameter>
- <name>commons.release.2.name</name>
- <property>commons.release.2.name</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.2.name}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the alternative release of the project.</description>
- </parameter>
- <parameter>
- <name>commons.release.2.desc</name>
- <property>commons.release.2.desc</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.2.desc}</defaultValue>
- <type>java.lang.String</type>
- <description>Alternative Release Title or Description.</description>
- </parameter>
- <parameter>
- <name>commons.release.2.binary.suffix</name>
- <property>commons.release.2.binary.suffix</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.2.binary.suffix}</defaultValue>
- <type>java.lang.String</type>
- <description>The suffix for the alternative release binary distribution.</description>
- </parameter>
- <parameter>
- <name>commons.release.2.subdir</name>
- <property>commons.release.2.subdir</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.2.subdir}</defaultValue>
- <type>java.lang.String</type>
- <description>Subdirectory (instead of source/binaries.)</description>
- </parameter>
- <!-- commons.release.3.* -->
- <parameter>
- <name>commons.release.3.version</name>
- <property>commons.release.3.version</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.3.version}</defaultValue>
- <type>java.lang.String</type>
- <description>The version of an alternative release of the project.</description>
- </parameter>
- <parameter>
- <name>commons.release.3.name</name>
- <property>commons.release.3.name</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.3.name}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the alternative release of the project.</description>
- </parameter>
- <parameter>
- <name>commons.release.3.desc</name>
- <property>commons.release.3.desc</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.3.desc}</defaultValue>
- <type>java.lang.String</type>
- <description>Alternative Release Title or Description.</description>
- </parameter>
- <parameter>
- <name>commons.release.3.binary.suffix</name>
- <property>commons.release.3.binary.suffix</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.3.binary.suffix}</defaultValue>
- <type>java.lang.String</type>
- <description>The suffix for the alternative release binary distribution.</description>
- </parameter>
- <parameter>
- <name>commons.release.3.subdir</name>
- <property>commons.release.3.subdir</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.3.subdir}</defaultValue>
- <type>java.lang.String</type>
- <description>Subdirectory (instead of source/binaries.)</description>
- </parameter>
- <!-- commons.release.4.* -->
- <parameter>
- <name>commons.release.4.version</name>
- <property>commons.release.4.version</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.4.version}</defaultValue>
- <type>java.lang.String</type>
- <description>The version of an alternative release of the project.</description>
- </parameter>
- <parameter>
- <name>commons.release.4.name</name>
- <property>commons.release.4.name</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.4.name}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the alternative release of the project.</description>
- </parameter>
- <parameter>
- <name>commons.release.4.desc</name>
- <property>commons.release.4.desc</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.4.desc}</defaultValue>
- <type>java.lang.String</type>
- <description>Alternative Release Title or Description.</description>
- </parameter>
- <parameter>
- <name>commons.release.4.binary.suffix</name>
- <property>commons.release.4.binary.suffix</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.4.binary.suffix}</defaultValue>
- <type>java.lang.String</type>
- <description>The suffix for the alternative release binary distribution.</description>
- </parameter>
- <parameter>
- <name>commons.release.4.subdir</name>
- <property>commons.release.4.subdir</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.4.subdir}</defaultValue>
- <type>java.lang.String</type>
- <description>Subdirectory (instead of source/binaries.)</description>
- </parameter>
- </parameters>
- </mojo>
- <mojo>
- <goal>mail-page</goal>
- <call>mail-page</call>
- <description>Apache Commons Build Mojo: Generate Mailing List page.</description>
- <requiresProject>true</requiresProject>
- <parameters>
- <parameter>
- <name>project.name</name>
- <property>project.name</property>
- <required>true</required>
- <readonly>true</readonly>
- <defaultValue>${project.name}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the project currently being built.</description>
- </parameter>
- <parameter>
- <name>commons.componentid</name>
- <property>commons.componentid</property>
- <required>true</required>
- <readonly>true</readonly>
- <defaultValue>${commons.componentid}</defaultValue>
- <type>java.lang.String</type>
- <description>The commons component id.</description>
- </parameter>
- </parameters>
- </mojo>
- <mojo>
- <goal>jira-page</goal>
- <call>jira-page</call>
- <description>Apache Commons Build Mojo: Generate Issue Tracking page.</description>
- <requiresProject>true</requiresProject>
- <parameters>
- <parameter>
- <name>project.name</name>
- <property>project.name</property>
- <required>true</required>
- <readonly>true</readonly>
- <defaultValue>${project.name}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the project currently being built.</description>
- </parameter>
- <parameter>
- <name>commons.jira.id</name>
- <property>commons.jira.id</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${commons.jira.id}</defaultValue>
- <type>java.lang.String</type>
- <description>The external JIRA id for the project (alphabetic, upper case.)</description>
- </parameter>
- <parameter>
- <name>commons.jira.pid</name>
- <property>commons.jira.pid</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${commons.jira.pid}</defaultValue>
- <type>java.lang.String</type>
- <description>The internal JIRA id for the project (numeric.)</description>
- </parameter>
- </parameters>
- </mojo>
- <mojo>
- <goal>sandbox-jira-page</goal>
- <call>sandbox-jira-page</call>
- <description>Apache Commons Build Mojo: Generate Sandbox Issue Tracking page.</description>
- <requiresProject>true</requiresProject>
- <parameters>
- <parameter>
- <name>project.name</name>
- <property>project.name</property>
- <required>true</required>
- <readonly>true</readonly>
- <defaultValue>${project.name}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the project currently being built.</description>
- </parameter>
- <parameter>
- <name>commons.jira.componentid</name>
- <property>commons.jira.componentid</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${commons.jira.componentid}</defaultValue>
- <type>java.lang.String</type>
- <description>The internal JIRA component id (numeric.)</description>
- </parameter>
- </parameters>
- </mojo>
- <mojo>
- <goal>download-page</goal>
- <call>download-page</call>
- <description>Apache Commons Build Mojo: Generate Download page.</description>
- <requiresProject>true</requiresProject>
- <parameters>
- <parameter>
- <name>project.name</name>
- <property>project.name</property>
- <required>true</required>
- <readonly>true</readonly>
- <defaultValue>${project.name}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the project currently being built.</description>
- </parameter>
- <parameter>
- <name>project.artifactId</name>
- <property>project.artifactId</property>
- <required>true</required>
- <readonly>true</readonly>
- <defaultValue>${project.artifactId}</defaultValue>
- <type>java.lang.String</type>
- <description>The artifactId of the project currently being built.</description>
- </parameter>
- <parameter>
- <name>commons.componentid</name>
- <property>commons.componentid</property>
- <required>true</required>
- <readonly>true</readonly>
- <defaultValue>${commons.componentid}</defaultValue>
- <type>java.lang.String</type>
- <description>The commons component id.</description>
- </parameter>
- <parameter>
- <name>commons.release.version</name>
- <property>commons.release.version</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.version}</defaultValue>
- <type>java.lang.String</type>
- <description>The version of the latest release of the project.</description>
- </parameter>
- <parameter>
- <name>commons.release.name</name>
- <property>commons.release.name</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.name}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the latest release of the project.</description>
- </parameter>
- <parameter>
- <name>commons.binary.suffix</name>
- <property>commons.binary.suffix</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.binary.suffix}</defaultValue>
- <type>java.lang.String</type>
- <description>The suffix for the binary distribution.</description>
- </parameter>
- <parameter>
- <name>commons.release.desc</name>
- <property>commons.release.desc</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.desc}</defaultValue>
- <type>java.lang.String</type>
- <description>Release Title or Description.</description>
- </parameter>
- <parameter>
- <name>commons.release.subdir</name>
- <property>commons.release.subdir</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.subdir}</defaultValue>
- <type>java.lang.String</type>
- <description>Subdirectory (instead of source/binaries.)</description>
- </parameter>
- <parameter>
- <name>commons.release.hash</name>
- <property>commons.release.hash</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.hash}</defaultValue>
- <type>java.lang.String</type>
- <description>Type of hash (lower case, e.g. sha256)</description>
- </parameter>
- <!-- commons.release.2.* -->
- <parameter>
- <name>commons.release.2.version</name>
- <property>commons.release.2.version</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.2.version}</defaultValue>
- <type>java.lang.String</type>
- <description>The version of an alternative release of the project.</description>
- </parameter>
- <parameter>
- <name>commons.release.2.name</name>
- <property>commons.release.2.name</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.2.name}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the alternative release of the project.</description>
- </parameter>
- <parameter>
- <name>commons.release.2.desc</name>
- <property>commons.release.2.desc</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.2.desc}</defaultValue>
- <type>java.lang.String</type>
- <description>Alternative Release Title or Description.</description>
- </parameter>
- <parameter>
- <name>commons.release.2.binary.suffix</name>
- <property>commons.release.2.binary.suffix</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.2.binary.suffix}</defaultValue>
- <type>java.lang.String</type>
- <description>The suffix for the alternative release binary distribution.</description>
- </parameter>
- <parameter>
- <name>commons.release.2.subdir</name>
- <property>commons.release.2.subdir</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.2.subdir}</defaultValue>
- <type>java.lang.String</type>
- <description>Subdirectory (instead of source/binaries.)</description>
- </parameter>
- <parameter>
- <name>commons.release.2.hash</name>
- <property>commons.release.2.hash</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.2.hash}</defaultValue>
- <type>java.lang.String</type>
- <description>Type of hash (lower case, e.g. sha256)</description>
- </parameter>
- <!-- commons.release.3.* -->
- <parameter>
- <name>commons.release.3.version</name>
- <property>commons.release.3.version</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.3.version}</defaultValue>
- <type>java.lang.String</type>
- <description>The version of an alternative release of the project.</description>
- </parameter>
- <parameter>
- <name>commons.release.3.name</name>
- <property>commons.release.3.name</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.3.name}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the alternative release of the project.</description>
- </parameter>
- <parameter>
- <name>commons.release.3.desc</name>
- <property>commons.release.3.desc</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.3.desc}</defaultValue>
- <type>java.lang.String</type>
- <description>Alternative Release Title or Description.</description>
- </parameter>
- <parameter>
- <name>commons.release.3.binary.suffix</name>
- <property>commons.release.3.binary.suffix</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.3.binary.suffix}</defaultValue>
- <type>java.lang.String</type>
- <description>The suffix for the alternative release binary distribution.</description>
- </parameter>
- <parameter>
- <name>commons.release.3.subdir</name>
- <property>commons.release.3.subdir</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.3.subdir}</defaultValue>
- <type>java.lang.String</type>
- <description>Subdirectory (instead of source/binaries.)</description>
- </parameter>
- <parameter>
- <name>commons.release.3.hash</name>
- <property>commons.release.3.hash</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.3.hash}</defaultValue>
- <type>java.lang.String</type>
- <description>Type of hash (lower case, e.g. sha256)</description>
- </parameter>
- <!-- commons.release.4.* -->
- <parameter>
- <name>commons.release.4.version</name>
- <property>commons.release.4.version</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.4.version}</defaultValue>
- <type>java.lang.String</type>
- <description>The version of an alternative release of the project.</description>
- </parameter>
- <parameter>
- <name>commons.release.4.name</name>
- <property>commons.release.4.name</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.4.name}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the alternative release of the project.</description>
- </parameter>
- <parameter>
- <name>commons.release.4.desc</name>
- <property>commons.release.4.desc</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.4.desc}</defaultValue>
- <type>java.lang.String</type>
- <description>Alternative Release Title or Description.</description>
- </parameter>
- <parameter>
- <name>commons.release.4.binary.suffix</name>
- <property>commons.release.4.binary.suffix</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.4.binary.suffix}</defaultValue>
- <type>java.lang.String</type>
- <description>The suffix for the alternative release binary distribution.</description>
- </parameter>
- <parameter>
- <name>commons.release.4.subdir</name>
- <property>commons.release.4.subdir</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.4.subdir}</defaultValue>
- <type>java.lang.String</type>
- <description>Subdirectory (instead of source/binaries.)</description>
- </parameter>
- <parameter>
- <name>commons.release.4.hash</name>
- <property>commons.release.4.hash</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.4.hash}</defaultValue>
- <type>java.lang.String</type>
- <description>Type of hash (lower case, e.g. sha256)</description>
- </parameter>
- </parameters>
- </mojo>
- <mojo>
- <goal>readme-md</goal>
- <call>readme-md</call>
- <description>Apache Commons Build Mojo: Generate README.md.</description>
- <requiresProject>true</requiresProject>
- <parameters>
- <parameter>
- <name>project.name</name>
- <property>project.name</property>
- <required>true</required>
- <readonly>true</readonly>
- <defaultValue>${project.name}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the project currently being built.</description>
- </parameter>
- <parameter>
- <name>project.description</name>
- <property>project.description</property>
- <required>true</required>
- <readonly>true</readonly>
- <defaultValue>${project.description}</defaultValue>
- <type>java.lang.String</type>
- <description>A description of the project currently being built.</description>
- </parameter>
- <parameter>
- <name>project.artifactId</name>
- <property>project.artifactId</property>
- <required>true</required>
- <readonly>true</readonly>
- <defaultValue>${project.artifactId}</defaultValue>
- <type>java.lang.String</type>
- <description>The artifactId of the project currently being built.</description>
- </parameter>
- <parameter>
- <name>project.groupId</name>
- <property>project.groupId</property>
- <required>true</required>
- <readonly>true</readonly>
- <defaultValue>${project.groupId}</defaultValue>
- <type>java.lang.String</type>
- <description>The groupId of the project currently being built.</description>
- </parameter>
- <parameter>
- <name>commons.jira.id</name>
- <property>commons.jira.id</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${commons.jira.id}</defaultValue>
- <type>java.lang.String</type>
- <description>The external JIRA id for the project (alphabetic, upper case.)</description>
- </parameter>
- <parameter>
- <name>commons.release.version</name>
- <property>commons.release.version</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${commons.release.version}</defaultValue>
- <type>java.lang.String</type>
- <description>The version of the latest release of the project.</description>
- </parameter>
- <parameter>
- <name>commons.componentid</name>
- <property>commons.componentid</property>
- <required>true</required>
- <readonly>true</readonly>
- <defaultValue>${commons.componentid}</defaultValue>
- <type>java.lang.String</type>
- <description>The commons component id.</description>
- </parameter>
- </parameters>
- </mojo>
- <mojo>
- <goal>notice-txt</goal>
- <call>notice-txt</call>
- <description>Apache Commons Build Mojo: Generate NOTICE.txt.</description>
- <requiresProject>true</requiresProject>
- <parameters>
- <parameter>
- <name>project.name</name>
- <property>project.name</property>
- <required>true</required>
- <readonly>true</readonly>
- <defaultValue>${project.name}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the project currently being built.</description>
- </parameter>
- <parameter>
- <name>project.inceptionYear</name>
- <property>project.inceptionYear</property>
- <required>true</required>
- <readonly>true</readonly>
- <expression>${project.inceptionYear}</expression>
- <type>java.lang.String</type>
- <description>The inception year of the project currently being built.</description>
- </parameter>
- </parameters>
- </mojo>
- <mojo>
- <goal>contributing-md</goal>
- <call>contributing-md</call>
- <description>Apache Commons Build Mojo: Generate CONTRIBUTING.md.</description>
- <requiresProject>true</requiresProject>
- <parameters>
- <parameter>
- <name>project.name</name>
- <property>project.name</property>
- <required>true</required>
- <readonly>true</readonly>
- <defaultValue>${project.name}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the project currently being built.</description>
- </parameter>
- <parameter>
- <name>project.artifactId</name>
- <property>project.artifactId</property>
- <required>true</required>
- <readonly>true</readonly>
- <defaultValue>${project.artifactId}</defaultValue>
- <type>java.lang.String</type>
- <description>The artifactId of the project currently being built.</description>
- </parameter>
- <parameter>
- <name>commons.jira.id</name>
- <property>commons.jira.id</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${commons.jira.id}</defaultValue>
- <type>java.lang.String</type>
- <description>The external JIRA id for the project (alphabetic, upper case.)</description>
- </parameter>
- <parameter>
- <name>commons.componentid</name>
- <property>commons.componentid</property>
- <required>true</required>
- <readonly>true</readonly>
- <defaultValue>${commons.componentid}</defaultValue>
- <type>java.lang.String</type>
- <description>The commons component id.</description>
- </parameter>
- </parameters>
- </mojo>
- </mojos>
-</pluginMetadata>
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+
+ 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.
+-->
+<!--
+ Mojo metadata for "Commons Build: Standard XDOC Pages Generation".
+ -->
+<pluginMetadata>
+<!-- Using XInclude would help here. -->
+ <mojos>
+ <mojo>
+ <goal>all</goal>
+ <call>all</call>
+ <description>Apache Commons Build Mojo: Generate all pages.</description>
+ <requiresProject>true</requiresProject>
+ <parameters>
+ <parameter>
+ <name>project.name</name>
+ <property>project.name</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <defaultValue>${project.name}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The name of the project currently being built.</description>
+ </parameter>
+ <parameter>
+ <name>project.description</name>
+ <property>project.description</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <defaultValue>${project.description}</defaultValue>
+ <type>java.lang.String</type>
+ <description>A description of the project currently being built.</description>
+ </parameter>
+ <parameter>
+ <name>project.groupId</name>
+ <property>project.groupId</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <defaultValue>${project.groupId}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The groupId of the project currently being built.</description>
+ </parameter>
+ <parameter>
+ <name>project.artifactId</name>
+ <property>project.artifactId</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <defaultValue>${project.artifactId}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The artifactId of the project currently being built.</description>
+ </parameter>
+ <parameter>
+ <name>project.inceptionYear</name>
+ <property>project.inceptionYear</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <expression>${project.inceptionYear}</expression>
+ <type>java.lang.String</type>
+ <description>The inception year of the project currently being built.</description>
+ </parameter>
+ <parameter>
+ <name>commons.jira.id</name>
+ <property>commons.jira.id</property>
+ <required>true</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.jira.id}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The external JIRA id for the project (alphabetic, upper case.)</description>
+ </parameter>
+ <parameter>
+ <name>commons.componentid</name>
+ <property>commons.componentid</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <defaultValue>${commons.componentid}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The commons component id.</description>
+ </parameter>
+ <parameter>
+ <name>commons.jira.pid</name>
+ <property>commons.jira.pid</property>
+ <required>true</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.jira.pid}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The internal JIRA id for the project (numeric.)</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.version</name>
+ <property>commons.release.version</property>
+ <required>true</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.version}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The version of the latest release of the project.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.name</name>
+ <property>commons.release.name</property>
+ <required>true</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.name}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The name of the latest release of the project.</description>
+ </parameter>
+ <parameter>
+ <name>commons.binary.suffix</name>
+ <property>commons.binary.suffix</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.binary.suffix}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The suffix for the binary distribution.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.desc</name>
+ <property>commons.release.desc</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.desc}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Release Title or Description.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.subdir</name>
+ <property>commons.release.subdir</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.subdir}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Subdirectory (instead of source/binaries.)</description>
+ </parameter>
+ <!-- commons.release.2.* -->
+ <parameter>
+ <name>commons.release.2.version</name>
+ <property>commons.release.2.version</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.2.version}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The version of an alternative release of the project.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.2.name</name>
+ <property>commons.release.2.name</property>
+ <required>true</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.2.name}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The name of the alternative release of the project.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.2.desc</name>
+ <property>commons.release.2.desc</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.2.desc}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Alternative Release Title or Description.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.2.binary.suffix</name>
+ <property>commons.release.2.binary.suffix</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.2.binary.suffix}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The suffix for the alternative release binary distribution.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.2.subdir</name>
+ <property>commons.release.2.subdir</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.2.subdir}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Subdirectory (instead of source/binaries.)</description>
+ </parameter>
+ <!-- commons.release.3.* -->
+ <parameter>
+ <name>commons.release.3.version</name>
+ <property>commons.release.3.version</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.3.version}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The version of an alternative release of the project.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.3.name</name>
+ <property>commons.release.3.name</property>
+ <required>true</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.3.name}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The name of the alternative release of the project.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.3.desc</name>
+ <property>commons.release.3.desc</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.3.desc}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Alternative Release Title or Description.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.3.binary.suffix</name>
+ <property>commons.release.3.binary.suffix</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.3.binary.suffix}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The suffix for the alternative release binary distribution.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.3.subdir</name>
+ <property>commons.release.3.subdir</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.3.subdir}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Subdirectory (instead of source/binaries.)</description>
+ </parameter>
+ <!-- commons.release.4.* -->
+ <parameter>
+ <name>commons.release.4.version</name>
+ <property>commons.release.4.version</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.4.version}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The version of an alternative release of the project.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.4.name</name>
+ <property>commons.release.4.name</property>
+ <required>true</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.4.name}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The name of the alternative release of the project.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.4.desc</name>
+ <property>commons.release.4.desc</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.4.desc}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Alternative Release Title or Description.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.4.binary.suffix</name>
+ <property>commons.release.4.binary.suffix</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.4.binary.suffix}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The suffix for the alternative release binary distribution.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.4.subdir</name>
+ <property>commons.release.4.subdir</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.4.subdir}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Subdirectory (instead of source/binaries.)</description>
+ </parameter>
+ </parameters>
+ </mojo>
+ <mojo>
+ <goal>all-sandbox</goal>
+ <call>all-sandbox</call>
+ <description>Apache Commons Build Mojo: Generate all sandbox pages.</description>
+ <requiresProject>true</requiresProject>
+ <parameters>
+ <parameter>
+ <name>project.name</name>
+ <property>project.name</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <defaultValue>${project.name}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The name of the project currently being built.</description>
+ </parameter>
+ <parameter>
+ <name>project.groupId</name>
+ <property>project.groupId</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <defaultValue>${project.groupId}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The groupId of the project currently being built.</description>
+ </parameter>
+ <parameter>
+ <name>project.artifactId</name>
+ <property>project.artifactId</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <defaultValue>${project.artifactId}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The artifactId of the project currently being built.</description>
+ </parameter>
+ <parameter>
+ <name>commons.jira.id</name>
+ <property>commons.jira.id</property>
+ <required>true</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.jira.id}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The external JIRA id for the project (alphabetic, upper case.)</description>
+ </parameter>
+ <parameter>
+ <name>commons.componentid</name>
+ <property>commons.componentid</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <defaultValue>${commons.componentid}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The commons component id.</description>
+ </parameter>
+ <parameter>
+ <name>commons.jira.pid</name>
+ <property>commons.jira.pid</property>
+ <required>true</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.jira.pid}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The internal JIRA id for the project (numeric.)</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.version</name>
+ <property>commons.release.version</property>
+ <required>true</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.version}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The version of the latest release of the project.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.name</name>
+ <property>commons.release.name</property>
+ <required>true</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.name}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The name of the latest release of the project.</description>
+ </parameter>
+ <parameter>
+ <name>commons.binary.suffix</name>
+ <property>commons.binary.suffix</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.binary.suffix}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The suffix for the binary distribution.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.desc</name>
+ <property>commons.release.desc</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.desc}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Release Title or Description.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.subdir</name>
+ <property>commons.release.subdir</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.subdir}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Subdirectory (instead of source/binaries.)</description>
+ </parameter>
+ <!-- commons.release.2.* -->
+ <parameter>
+ <name>commons.release.2.version</name>
+ <property>commons.release.2.version</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.2.version}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The version of an alternative release of the project.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.2.name</name>
+ <property>commons.release.2.name</property>
+ <required>true</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.2.name}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The name of the alternative release of the project.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.2.desc</name>
+ <property>commons.release.2.desc</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.2.desc}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Alternative Release Title or Description.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.2.binary.suffix</name>
+ <property>commons.release.2.binary.suffix</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.2.binary.suffix}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The suffix for the alternative release binary distribution.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.2.subdir</name>
+ <property>commons.release.2.subdir</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.2.subdir}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Subdirectory (instead of source/binaries.)</description>
+ </parameter>
+ <!-- commons.release.3.* -->
+ <parameter>
+ <name>commons.release.3.version</name>
+ <property>commons.release.3.version</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.3.version}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The version of an alternative release of the project.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.3.name</name>
+ <property>commons.release.3.name</property>
+ <required>true</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.3.name}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The name of the alternative release of the project.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.3.desc</name>
+ <property>commons.release.3.desc</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.3.desc}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Alternative Release Title or Description.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.3.binary.suffix</name>
+ <property>commons.release.3.binary.suffix</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.3.binary.suffix}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The suffix for the alternative release binary distribution.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.3.subdir</name>
+ <property>commons.release.3.subdir</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.3.subdir}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Subdirectory (instead of source/binaries.)</description>
+ </parameter>
+ <!-- commons.release.4.* -->
+ <parameter>
+ <name>commons.release.4.version</name>
+ <property>commons.release.4.version</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.4.version}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The version of an alternative release of the project.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.4.name</name>
+ <property>commons.release.4.name</property>
+ <required>true</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.4.name}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The name of the alternative release of the project.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.4.desc</name>
+ <property>commons.release.4.desc</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.4.desc}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Alternative Release Title or Description.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.4.binary.suffix</name>
+ <property>commons.release.4.binary.suffix</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.4.binary.suffix}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The suffix for the alternative release binary distribution.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.4.subdir</name>
+ <property>commons.release.4.subdir</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.4.subdir}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Subdirectory (instead of source/binaries.)</description>
+ </parameter>
+ </parameters>
+ </mojo>
+ <mojo>
+ <goal>mail-page</goal>
+ <call>mail-page</call>
+ <description>Apache Commons Build Mojo: Generate Mailing List page.</description>
+ <requiresProject>true</requiresProject>
+ <parameters>
+ <parameter>
+ <name>project.name</name>
+ <property>project.name</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <defaultValue>${project.name}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The name of the project currently being built.</description>
+ </parameter>
+ <parameter>
+ <name>commons.componentid</name>
+ <property>commons.componentid</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <defaultValue>${commons.componentid}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The commons component id.</description>
+ </parameter>
+ </parameters>
+ </mojo>
+ <mojo>
+ <goal>jira-page</goal>
+ <call>jira-page</call>
+ <description>Apache Commons Build Mojo: Generate Issue Tracking page.</description>
+ <requiresProject>true</requiresProject>
+ <parameters>
+ <parameter>
+ <name>project.name</name>
+ <property>project.name</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <defaultValue>${project.name}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The name of the project currently being built.</description>
+ </parameter>
+ <parameter>
+ <name>commons.jira.id</name>
+ <property>commons.jira.id</property>
+ <required>true</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.jira.id}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The external JIRA id for the project (alphabetic, upper case.)</description>
+ </parameter>
+ <parameter>
+ <name>commons.jira.pid</name>
+ <property>commons.jira.pid</property>
+ <required>true</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.jira.pid}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The internal JIRA id for the project (numeric.)</description>
+ </parameter>
+ </parameters>
+ </mojo>
+ <mojo>
+ <goal>sandbox-jira-page</goal>
+ <call>sandbox-jira-page</call>
+ <description>Apache Commons Build Mojo: Generate Sandbox Issue Tracking page.</description>
+ <requiresProject>true</requiresProject>
+ <parameters>
+ <parameter>
+ <name>project.name</name>
+ <property>project.name</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <defaultValue>${project.name}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The name of the project currently being built.</description>
+ </parameter>
+ <parameter>
+ <name>commons.jira.componentid</name>
+ <property>commons.jira.componentid</property>
+ <required>true</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.jira.componentid}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The internal JIRA component id (numeric.)</description>
+ </parameter>
+ </parameters>
+ </mojo>
+ <mojo>
+ <goal>download-page</goal>
+ <call>download-page</call>
+ <description>Apache Commons Build Mojo: Generate Download page.</description>
+ <requiresProject>true</requiresProject>
+ <parameters>
+ <parameter>
+ <name>project.name</name>
+ <property>project.name</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <defaultValue>${project.name}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The name of the project currently being built.</description>
+ </parameter>
+ <parameter>
+ <name>project.artifactId</name>
+ <property>project.artifactId</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <defaultValue>${project.artifactId}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The artifactId of the project currently being built.</description>
+ </parameter>
+ <parameter>
+ <name>commons.componentid</name>
+ <property>commons.componentid</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <defaultValue>${commons.componentid}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The commons component id.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.version</name>
+ <property>commons.release.version</property>
+ <required>true</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.version}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The version of the latest release of the project.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.name</name>
+ <property>commons.release.name</property>
+ <required>true</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.name}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The name of the latest release of the project.</description>
+ </parameter>
+ <parameter>
+ <name>commons.binary.suffix</name>
+ <property>commons.binary.suffix</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.binary.suffix}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The suffix for the binary distribution.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.desc</name>
+ <property>commons.release.desc</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.desc}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Release Title or Description.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.subdir</name>
+ <property>commons.release.subdir</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.subdir}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Subdirectory (instead of source/binaries.)</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.hash</name>
+ <property>commons.release.hash</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.hash}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Type of hash (lower case, e.g. sha512)</description>
+ </parameter>
+ <!-- commons.release.2.* -->
+ <parameter>
+ <name>commons.release.2.version</name>
+ <property>commons.release.2.version</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.2.version}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The version of an alternative release of the project.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.2.name</name>
+ <property>commons.release.2.name</property>
+ <required>true</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.2.name}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The name of the alternative release of the project.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.2.desc</name>
+ <property>commons.release.2.desc</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.2.desc}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Alternative Release Title or Description.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.2.binary.suffix</name>
+ <property>commons.release.2.binary.suffix</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.2.binary.suffix}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The suffix for the alternative release binary distribution.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.2.subdir</name>
+ <property>commons.release.2.subdir</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.2.subdir}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Subdirectory (instead of source/binaries.)</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.2.hash</name>
+ <property>commons.release.2.hash</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.2.hash}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Type of hash (lower case, e.g. sha512)</description>
+ </parameter>
+ <!-- commons.release.3.* -->
+ <parameter>
+ <name>commons.release.3.version</name>
+ <property>commons.release.3.version</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.3.version}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The version of an alternative release of the project.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.3.name</name>
+ <property>commons.release.3.name</property>
+ <required>true</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.3.name}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The name of the alternative release of the project.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.3.desc</name>
+ <property>commons.release.3.desc</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.3.desc}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Alternative Release Title or Description.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.3.binary.suffix</name>
+ <property>commons.release.3.binary.suffix</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.3.binary.suffix}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The suffix for the alternative release binary distribution.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.3.subdir</name>
+ <property>commons.release.3.subdir</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.3.subdir}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Subdirectory (instead of source/binaries.)</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.3.hash</name>
+ <property>commons.release.3.hash</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.3.hash}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Type of hash (lower case, e.g. sha512)</description>
+ </parameter>
+ <!-- commons.release.4.* -->
+ <parameter>
+ <name>commons.release.4.version</name>
+ <property>commons.release.4.version</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.4.version}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The version of an alternative release of the project.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.4.name</name>
+ <property>commons.release.4.name</property>
+ <required>true</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.4.name}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The name of the alternative release of the project.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.4.desc</name>
+ <property>commons.release.4.desc</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.4.desc}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Alternative Release Title or Description.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.4.binary.suffix</name>
+ <property>commons.release.4.binary.suffix</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.4.binary.suffix}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The suffix for the alternative release binary distribution.</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.4.subdir</name>
+ <property>commons.release.4.subdir</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.4.subdir}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Subdirectory (instead of source/binaries.)</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.4.hash</name>
+ <property>commons.release.4.hash</property>
+ <required>false</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.4.hash}</defaultValue>
+ <type>java.lang.String</type>
+ <description>Type of hash (lower case, e.g. sha512)</description>
+ </parameter>
+ </parameters>
+ </mojo>
+ <mojo>
+ <goal>readme-md</goal>
+ <call>readme-md</call>
+ <description>Apache Commons Build Mojo: Generate README.md.</description>
+ <requiresProject>true</requiresProject>
+ <parameters>
+ <parameter>
+ <name>project.name</name>
+ <property>project.name</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <defaultValue>${project.name}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The name of the project currently being built.</description>
+ </parameter>
+ <parameter>
+ <name>project.description</name>
+ <property>project.description</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <defaultValue>${project.description}</defaultValue>
+ <type>java.lang.String</type>
+ <description>A description of the project currently being built.</description>
+ </parameter>
+ <parameter>
+ <name>project.artifactId</name>
+ <property>project.artifactId</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <defaultValue>${project.artifactId}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The artifactId of the project currently being built.</description>
+ </parameter>
+ <parameter>
+ <name>project.groupId</name>
+ <property>project.groupId</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <defaultValue>${project.groupId}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The groupId of the project currently being built.</description>
+ </parameter>
+ <parameter>
+ <name>commons.jira.id</name>
+ <property>commons.jira.id</property>
+ <required>true</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.jira.id}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The external JIRA id for the project (alphabetic, upper case.)</description>
+ </parameter>
+ <parameter>
+ <name>commons.release.version</name>
+ <property>commons.release.version</property>
+ <required>true</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.release.version}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The version of the latest release of the project.</description>
+ </parameter>
+ <parameter>
+ <name>commons.componentid</name>
+ <property>commons.componentid</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <defaultValue>${commons.componentid}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The commons component id.</description>
+ </parameter>
+ </parameters>
+ </mojo>
+ <mojo>
+ <goal>notice-txt</goal>
+ <call>notice-txt</call>
+ <description>Apache Commons Build Mojo: Generate NOTICE.txt.</description>
+ <requiresProject>true</requiresProject>
+ <parameters>
+ <parameter>
+ <name>project.name</name>
+ <property>project.name</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <defaultValue>${project.name}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The name of the project currently being built.</description>
+ </parameter>
+ <parameter>
+ <name>project.inceptionYear</name>
+ <property>project.inceptionYear</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <expression>${project.inceptionYear}</expression>
+ <type>java.lang.String</type>
+ <description>The inception year of the project currently being built.</description>
+ </parameter>
+ </parameters>
+ </mojo>
+ <mojo>
+ <goal>contributing-md</goal>
+ <call>contributing-md</call>
+ <description>Apache Commons Build Mojo: Generate CONTRIBUTING.md.</description>
+ <requiresProject>true</requiresProject>
+ <parameters>
+ <parameter>
+ <name>project.name</name>
+ <property>project.name</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <defaultValue>${project.name}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The name of the project currently being built.</description>
+ </parameter>
+ <parameter>
+ <name>project.artifactId</name>
+ <property>project.artifactId</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <defaultValue>${project.artifactId}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The artifactId of the project currently being built.</description>
+ </parameter>
+ <parameter>
+ <name>commons.jira.id</name>
+ <property>commons.jira.id</property>
+ <required>true</required>
+ <readonly>false</readonly>
+ <defaultValue>${commons.jira.id}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The external JIRA id for the project (alphabetic, upper case.)</description>
+ </parameter>
+ <parameter>
+ <name>commons.componentid</name>
+ <property>commons.componentid</property>
+ <required>true</required>
+ <readonly>true</readonly>
+ <defaultValue>${commons.componentid}</defaultValue>
+ <type>java.lang.String</type>
+ <description>The commons component id.</description>
+ </parameter>
+ </parameters>
+ </mojo>
+ </mojos>
+</pluginMetadata>