updated the commons-functor download page

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/functor/trunk@1183743 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/site/site.xml b/src/site/site.xml
index fa7f9f7..fc4ea0b 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -28,7 +28,7 @@
       <item name="Javadoc" href="apidocs/index.html"/>
       <item name="Mailing lists" href="/mail-lists.html"/>
       <item name="Issue Tracking" href="/issue-tracking.html"/>
-      <item name="Downloads" href="/download.html"/>
+      <item name="Downloads" href="/download_functor.cgi"/>
     </menu>
     <menu name="Development">
       <item name="Building" href="/building.html"/>
diff --git a/src/site/xdoc/download.xml b/src/site/xdoc/download.xml
deleted file mode 100644
index a8631e8..0000000
--- a/src/site/xdoc/download.xml
+++ /dev/null
@@ -1,56 +0,0 @@
-<?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.
--->
-<document>
-  <properties>
-    <title>Downloads</title>
-    <author email="dev@commons.apache.org">Apache Commons Development Team</author>
-  </properties>
-
-  <body>
-    <section name="Snapshots">
-      <p>
-         Functor has not yet had an official binary release.
-      </p>
-<!--         
-         Daily, <a href="http://jakarta.apache.org/gump">Gump</a>-generated builds 
-         are available however.
-      </p>
-      <dl>
-         <dt><a href="http://gump.covalent.net/jars/latest/commons-functor">JAR</a></dt>
-         <dd>
-            The latest pre-build JAR archive is availble at 
-            <a href="http://gump.covalent.net/jars/latest/commons-functor/">http://gump.covalent.net/jars/latest/commons-functor/</a>.
-            See
-            <a href="http://gump.covalent.net/jars/">http://gump.covalent.net/jars/</a>
-            for previous versions.
-         </dd>
-         <dt><a href="http://gump.apache.org/gump/javadoc/jakarta-commons-sandbox/functor/target/dist/docs/api/">JavaDocs</a></dt>
-         <dd>
-            JavaDoc-generated API documentation is available at 
-            <a href="http://gump.apache.org/gump/javadoc/jakarta-commons-sandbox/functor/target/dist/docs/api/">http://gump.apache.org/gump/javadoc/jakarta-commons-sandbox/functor/target/dist/docs/api/</a>.
-         </dd>
-      </dl>
-      <p>
-         See 
-         <a href="http://cvs.apache.org/builds/gump/latest/commons-functor.html">http://cvs.apache.org/builds/gump/latest/commons-functor.html</a>
-         for the status of the latest <a href="http://jakarta.apache.org/gump">Gump</a> generated build.
-      </p>
--->
-    </section>
-  </body>
-</document>
diff --git a/src/site/xdoc/download_functor.xml b/src/site/xdoc/download_functor.xml
new file mode 100644
index 0000000..659b17b
--- /dev/null
+++ b/src/site/xdoc/download_functor.xml
@@ -0,0 +1,138 @@
+<?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:download-page                      |
+ |                                                                      |
+ | 2) Set the following properties in the component's pom:              |
+ |    - commons.componentid (required, alphabetic, lower case)          |
+ |    - commons.release.version (required)                              |
+ |    - commons.binary.suffix (optional)                                |
+ |      (defaults to "-bin", set to "" for pre-maven2 releases)         |
+ |                                                                      |
+ | 3) Example Properties                                                |
+ |                                                                      |
+ |  <properties>                                                        |
+ |    <commons.componentid>math</commons.componentid>                   |
+ |    <commons.release.version>1.2</commons.release.version>            |
+ |  </properties>                                                       |
+ |                                                                      |
+ +======================================================================+
+-->
+<document>
+  <properties>
+    <title>Download Commons Functor</title>
+    <author email="dev@commons.apache.org">Commons Documentation Team</author>
+  </properties>
+  <body>
+    <section name="Download Commons Functor">
+    <subsection name="Using a Mirror">
+      <p>
+        We recommend you use a mirror to download our release
+        builds, but you <strong>must</strong> verify the integrity of
+        the downloaded files using signatures downloaded from our main 
+        distribution directories. Recent releases (48 hours) may not yet
+        be available from the mirrors.
+      </p>
+
+      <p>
+        You are currently using <b>[preferred]</b>.  If you
+        encounter a problem with this mirror, please select another
+        mirror.  If all mirrors are failing, there are <i>backup</i>
+        mirrors (at the end of the mirrors list) that should be
+        available.
+        <br></br>
+        [if-any logo]<a href="[link]"><img 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>
+        The <a href="http://www.apache.org/dist/commons/KEYS">KEYS</a>
+        link links to the code signing keys used to sign the product.
+        The <code>PGP</code> link downloads the OpenPGP compatible signature from our main site. 
+        The <code>MD5</code> link downloads the checksum from the main site.
+      </p>
+    </subsection>
+    </section>
+    <section name="Commons Functor 1.0 ">
+      <subsection name="Binaries">
+        <table>
+          <tr>
+              <td><a href="[preferred]/commons/functor/binaries/commons-functor-1.0-bin.tar.gz">commons-functor-1.0-bin.tar.gz</a></td>
+              <td><a href="http://www.apache.org/dist/commons/functor/binaries/commons-functor-1.0-bin.tar.gz.md5">md5</a></td>
+              <td><a href="http://www.apache.org/dist/commons/functor/binaries/commons-functor-1.0-bin.tar.gz.asc">pgp</a></td>
+          </tr>
+          <tr>
+              <td><a href="[preferred]/commons/functor/binaries/commons-functor-1.0-bin.zip">commons-functor-1.0-bin.zip</a></td>
+              <td><a href="http://www.apache.org/dist/commons/functor/binaries/commons-functor-1.0-bin.zip.md5">md5</a></td>
+              <td><a href="http://www.apache.org/dist/commons/functor/binaries/commons-functor-1.0-bin.zip.asc">pgp</a></td>
+          </tr>
+        </table>
+      </subsection>
+      <subsection name="Source">
+        <table>
+          <tr>
+              <td><a href="[preferred]/commons/functor/source/commons-functor-1.0-src.tar.gz">commons-functor-1.0-src.tar.gz</a></td>
+              <td><a href="http://www.apache.org/dist/commons/functor/source/commons-functor-1.0-src.tar.gz.md5">md5</a></td>
+              <td><a href="http://www.apache.org/dist/commons/functor/source/commons-functor-1.0-src.tar.gz.asc">pgp</a></td>
+          </tr>
+          <tr>
+              <td><a href="[preferred]/commons/functor/source/commons-functor-1.0-src.zip">commons-functor-1.0-src.zip</a></td>
+              <td><a href="http://www.apache.org/dist/commons/functor/source/commons-functor-1.0-src.zip.md5">md5</a></td>
+              <td><a href="http://www.apache.org/dist/commons/functor/source/commons-functor-1.0-src.zip.asc">pgp</a></td>
+          </tr>
+        </table>
+      </subsection>
+    </section>
+    <section name="Archives">
+        <p>
+          Older releases can be obtained from the archives.
+        </p>
+        <ul>
+          <li class="download"><a href="[preferred]/commons/functor/">browse download area</a></li>
+          <li><a href="http://archive.apache.org/dist/commons/functor/">archives...</a></li>
+        </ul>
+    </section>
+  </body>
+</document>