Author: jvanzyl
Date: Sun Mar 11 09:27:08 2007
New Revision: 516945

URL: http://svn.apache.org/viewvc?view=rev&rev=516945
Log:
o little script to swap in the versions, until the site plugin can do it, this 
will do. i'm tired of changing N documents each release so                      
                                                          
  i'll update this script and it can be the basis for the configuration of a 
new option in site plugin.                            

Added:
    maven/site/trunk/src/site/apt/download.apt.template
    maven/site/trunk/src/site/apt/insert-project-version.sh   (with props)
Modified:
    maven/site/trunk/src/site/apt/download.apt

Modified: maven/site/trunk/src/site/apt/download.apt
URL: 
http://svn.apache.org/viewvc/maven/site/trunk/src/site/apt/download.apt?view=diff&rev=516945&r1=516944&r2=516945
==============================================================================
--- maven/site/trunk/src/site/apt/download.apt (original)
+++ maven/site/trunk/src/site/apt/download.apt Sun Mar 11 09:27:08 2007
@@ -21,30 +21,16 @@
 *-------------------------+---------+----------+-----------+
 |                         | Mirrors | Checksum | Signature |
 *-------------------------+---------+----------+-----------+
-| Maven 2.0.5 (tar.bz2)     | 
{{{http://www.apache.org/dyn/closer.cgi/maven/binaries/maven-2.0.5-bin.tar.bz2} 
maven-2.0.5-bin.tar.bz2}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-2.0.5-bin.tar.bz2.md5} 
maven-2.0.5-bin.tar.bz2.md5}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-2.0.5-bin.tar.bz2.asc} 
maven-2.0.5-bin.tar.bz2.asc}} |
+| Maven 2.0.5 (tar.bz2)     | 
{{{http://www.apache.org/dyn/closer.cgi/maven/binaries/maven-${project.version}-bin.tar.bz2}
 maven-${project.version}-bin.tar.bz2}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-${project.version}-bin.tar.bz2.md5}
 maven-${project.version}-bin.tar.bz2.md5}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-${project.version}-bin.tar.bz2.asc}
 maven-${project.version}-bin.tar.bz2.asc}} |
 *-------------------------+---------+----------+-----------+
-| Maven 2.0.5 (tar.gz)      | 
{{{http://www.apache.org/dyn/closer.cgi/maven/binaries/maven-2.0.5-bin.tar.gz} 
maven-2.0.5-bin.tar.gz}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-2.0.5-bin.tar.gz.md5} 
maven-2.0.5-bin.tar.gz.md5}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-2.0.5-bin.tar.gz.asc} 
maven-2.0.5-bin.tar.gz.asc}} |
+| Maven 2.0.5 (tar.gz)      | 
{{{http://www.apache.org/dyn/closer.cgi/maven/binaries/maven-${project.version}-bin.tar.gz}
 maven-${project.version}-bin.tar.gz}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-${project.version}-bin.tar.gz.md5}
 maven-${project.version}-bin.tar.gz.md5}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-${project.version}-bin.tar.gz.asc}
 maven-${project.version}-bin.tar.gz.asc}} |
 *-------------------------+---------+----------+-----------+
-| Maven 2.0.5 (zip)         | 
{{{http://www.apache.org/dyn/closer.cgi/maven/binaries/maven-2.0.5-bin.zip} 
maven-2.0.5-bin.zip}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-2.0.5-bin.zip.md5} 
maven-2.0.5-bin.zip.md5}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-2.0.5-bin.zip.asc} 
maven-2.0.5-bin.zip.asc}} |
+| Maven 2.0.5 (zip)         | 
{{{http://www.apache.org/dyn/closer.cgi/maven/binaries/maven-${project.version}-bin.zip}
 maven-${project.version}-bin.zip}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-${project.version}-bin.zip.md5}
 maven-${project.version}-bin.zip.md5}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-${project.version}-bin.zip.asc}
 maven-${project.version}-bin.zip.asc}} |
 *-------------------------+---------+----------+-----------+
 
 *Previous Releases
 
-** Maven 2.0.4
-
-*-------------------------+---------+----------+-----------+
-|                         | Mirrors | Checksum | Signature |
-*-------------------------+---------+----------+-----------+
-| Maven 2.0.4 (tar.bz2)     | 
{{{http://www.apache.org/dyn/closer.cgi/maven/binaries/maven-2.0.4-bin.tar.bz2} 
maven-2.0.4-bin.tar.bz2}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-2.0.4-bin.tar.bz2.md5} 
maven-2.0.4-bin.tar.bz2.md5}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-2.0.4-bin.tar.bz2.asc} 
maven-2.0.4-bin.tar.bz2.asc}} |
-*-------------------------+---------+----------+-----------+
-| Maven 2.0.4 (tar.gz)      | 
{{{http://www.apache.org/dyn/closer.cgi/maven/binaries/maven-2.0.4-bin.tar.gz} 
maven-2.0.4-bin.tar.gz}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-2.0.4-bin.tar.gz.md5} 
maven-2.0.4-bin.tar.gz.md5}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-2.0.4-bin.tar.gz.asc} 
maven-2.0.4-bin.tar.gz.asc}} |
-*-------------------------+---------+----------+-----------+
-| Maven 2.0.4 (zip)         | 
{{{http://www.apache.org/dyn/closer.cgi/maven/binaries/maven-2.0.4-bin.zip} 
maven-2.0.4-bin.zip}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-2.0.4-bin.zip.md5} 
maven-2.0.4-bin.zip.md5}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-2.0.4-bin.zip.asc} 
maven-2.0.4-bin.zip.asc}} |
-*-------------------------+---------+----------+-----------+
-| Maven 2.0.4 Tasks for Ant | 
{{{http://www.apache.org/dyn/closer.cgi/maven/binaries/maven-artifact-ant-2.0.4-dep.jar}
 maven-artifact-ant-2.0.4-dep.jar}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-artifact-ant-2.0.4-dep.jar.md5}
 maven-artifact-ant-2.0.4-dep.jar.md5}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-artifact-ant-2.0.4-dep.jar.asc}
 maven-artifact-ant-2.0.4-dep.jar.asc}} |
-*-------------------------+---------+----------+-----------+
-| Maven 2.0.4 Embedder | 
{{{http://www.apache.org/dyn/closer.cgi/maven/binaries/maven-embedder-2.0.4-dep.jar}
 maven-embedder-2.0.4-dep.jar}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-embedder-2.0.4-dep.jar.md5} 
maven-embedder-2.0.4-dep.jar.md5}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-embedder-2.0.4-dep.jar.asc} 
maven-embedder-2.0.4-dep.jar.asc}} |
-*-------------------------+---------+----------+-----------+
+All previous releases of Maven can be found in the 
{{{http://www.apache.org/dyn/closer.cgi/maven/binaries}distribution 
repository}}.
 
 * System {Requirements}
 
@@ -62,13 +48,13 @@
 
 ** Windows 2000/XP
 
-  [[1]] Unzip <<<maven-2.0.3-bin.zip>>> to the directory you wish to install 
Maven 2.0.3. These instructions
-        assume you chose <<<C:\Program Files\Apache Software 
Foundation\maven-2.0.3>>>
+  [[1]] Unzip <<<maven-2.0.5-bin.zip>>> to the directory you wish to install 
Maven ${project.version}. These instructions
+        assume you chose <<<C:\Program Files\Apache Software 
Foundation\maven-2.0.5>>>
 
   [[2]] Add the <<<bin>>> directory to your path, by opening up the system 
properties (WinKey + Pause),
         selecting the "Advanced" tab, and the "Environment Variables" button, 
then editing the <<<PATH>>>
         variable in the user variables. eg.
-        <<<"C:\Program Files\Apache Software 
Foundation\maven-2.0.3\bin";%PATH%>>>
+        <<<"C:\Program Files\Apache Software 
Foundation\maven-2.0.5\bin";%PATH%>>>
 
   [[3]] In the same dialog, make sure that <<<JAVA_HOME>>> is set to the 
location of your JDK,
         eg. <<<C:\Program Files\Java\jdk1.5.0_02>>>
@@ -77,12 +63,12 @@
 
 ** Unix-based Operating Systems (Linux, Solaris and Mac OS X)
 
-  [[1]] Extract the distribution archive to the directory you wish to install 
Maven 2.0.3. These instructions
-        assume you chose <<</usr/local/maven-2.0.3>>>. The directory 
<<<maven-2.0.3>>> will be created from
+  [[1]] Extract the distribution archive to the directory you wish to install 
Maven 2.0.5. These instructions
+        assume you chose <<</usr/local/maven-2.0.5>>>. The directory 
<<<maven-${project.version}>>> will be created from
         the archive.
 
   [[2]] Add the <<<bin>>> directory to your path, eg. <<<export
-PATH=/usr/local/maven-2.0.3/bin:$PATH>>>
+PATH=/usr/local/maven-2.0.5/bin:$PATH>>>
 
   [[3]] Make sure that <<<JAVA_HOME>>> is set to the location of your JDK, eg.
         <<<export JAVA_HOME=/usr/java/jdk1.5.0_02>>>

Added: maven/site/trunk/src/site/apt/download.apt.template
URL: 
http://svn.apache.org/viewvc/maven/site/trunk/src/site/apt/download.apt.template?view=auto&rev=516945
==============================================================================
--- maven/site/trunk/src/site/apt/download.apt.template (added)
+++ maven/site/trunk/src/site/apt/download.apt.template Sun Mar 11 09:27:08 2007
@@ -0,0 +1,77 @@
+ ------
+Download Maven ${project.version}
+ ------
+Brett Porter
+Jason van Zyl
+ ------
+4 October 2005
+ ------
+
+Download Maven ${project.version}
+
+  Maven is distributed in several formats for your convenience.
+
+  You will be prompted for a mirror - if the file is not found on yours, 
please be patient, as it may take 24
+  hours to reach all mirrors.
+
+  Maven ${project.version} is distributed under the 
{{{http://maven.apache.org/license.html} Apache License, version 2.0}}.
+
+  We <<strongly>> encorage our users to configure a Maven repository mirror 
closer to their location, please read 
{{{guides/mini/guide-mirror-settings.html} How to Use Mirrors for 
Repositories}}.
+
+*-------------------------+---------+----------+-----------+
+|                         | Mirrors | Checksum | Signature |
+*-------------------------+---------+----------+-----------+
+| Maven ${project.version} (tar.bz2)     | 
{{{http://www.apache.org/dyn/closer.cgi/maven/binaries/maven-${project.version}-bin.tar.bz2}
 maven-${project.version}-bin.tar.bz2}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-${project.version}-bin.tar.bz2.md5}
 maven-${project.version}-bin.tar.bz2.md5}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-${project.version}-bin.tar.bz2.asc}
 maven-${project.version}-bin.tar.bz2.asc}} |
+*-------------------------+---------+----------+-----------+
+| Maven ${project.version} (tar.gz)      | 
{{{http://www.apache.org/dyn/closer.cgi/maven/binaries/maven-${project.version}-bin.tar.gz}
 maven-${project.version}-bin.tar.gz}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-${project.version}-bin.tar.gz.md5}
 maven-${project.version}-bin.tar.gz.md5}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-${project.version}-bin.tar.gz.asc}
 maven-${project.version}-bin.tar.gz.asc}} |
+*-------------------------+---------+----------+-----------+
+| Maven ${project.version} (zip)         | 
{{{http://www.apache.org/dyn/closer.cgi/maven/binaries/maven-${project.version}-bin.zip}
 maven-${project.version}-bin.zip}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-${project.version}-bin.zip.md5}
 maven-${project.version}-bin.zip.md5}} | 
{{{http://www.apache.org/dist/maven/binaries/maven-${project.version}-bin.zip.asc}
 maven-${project.version}-bin.zip.asc}} |
+*-------------------------+---------+----------+-----------+
+
+*Previous Releases
+
+All previous releases of Maven can be found in the 
{{{http://www.apache.org/dyn/closer.cgi/maven/binaries}distribution 
repository}}.
+
+* System {Requirements}
+
+*----------------------+---------------------------------------------------------------------------------------------+
+| <<JDK>>              | 1.4 or above (this is to execute Maven - it still 
allows you to build against 1.3 and prior JDK's)
+*----------------------+---------------------------------------------------------------------------------------------+
+| <<Memory>>           | No minimum requirement
+*----------------------+---------------------------------------------------------------------------------------------+
+| <<Disk>>             | No minimum requirement. Approximately 100MB will be 
used for your local repository, however this will vary depending on usage and 
can be removed and redownloaded at any time.
+*----------------------+---------------------------------------------------------------------------------------------+
+| <<Operating System>> | No minimum requirement. On Windows, Windows NT and 
above or Cygwin is required for the startup scripts. Tested on Windows XP, 
Fedora Core and Mac OS X.
+*----------------------+---------------------------------------------------------------------------------------------+
+
+* {Installation} Instructions
+
+** Windows 2000/XP
+
+  [[1]] Unzip <<<maven-${project.version}-bin.zip>>> to the directory you wish 
to install Maven ${project.version}. These instructions
+        assume you chose <<<C:\Program Files\Apache Software 
Foundation\maven-${project.version}>>>
+
+  [[2]] Add the <<<bin>>> directory to your path, by opening up the system 
properties (WinKey + Pause),
+        selecting the "Advanced" tab, and the "Environment Variables" button, 
then editing the <<<PATH>>>
+        variable in the user variables. eg.
+        <<<"C:\Program Files\Apache Software 
Foundation\maven-${project.version}\bin";%PATH%>>>
+
+  [[3]] In the same dialog, make sure that <<<JAVA_HOME>>> is set to the 
location of your JDK,
+        eg. <<<C:\Program Files\Java\jdk1.5.0_02>>>
+
+  [[4]] Run <<<mvn --version>>> to verify that it is correctly installed.
+
+** Unix-based Operating Systems (Linux, Solaris and Mac OS X)
+
+  [[1]] Extract the distribution archive to the directory you wish to install 
Maven ${project.version}. These instructions
+        assume you chose <<</usr/local/maven-${project.version}>>>. The 
directory <<<maven-${project.version}>>> will be created from
+        the archive.
+
+  [[2]] Add the <<<bin>>> directory to your path, eg. <<<export
+PATH=/usr/local/maven-${project.version}/bin:$PATH>>>
+
+  [[3]] Make sure that <<<JAVA_HOME>>> is set to the location of your JDK, eg.
+        <<<export JAVA_HOME=/usr/java/jdk1.5.0_02>>>
+
+  [[4]] Run <<<mvn --version>>> to verify that it is correctly installed.
+

Added: maven/site/trunk/src/site/apt/insert-project-version.sh
URL: 
http://svn.apache.org/viewvc/maven/site/trunk/src/site/apt/insert-project-version.sh?view=auto&rev=516945
==============================================================================
--- maven/site/trunk/src/site/apt/insert-project-version.sh (added)
+++ maven/site/trunk/src/site/apt/insert-project-version.sh Sun Mar 11 09:27:08 
2007
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+files="download.apt"
+
+for i in $files
+do
+  sed 's/${project.version}/2.0.5/' $i.template > $i
+done

Propchange: maven/site/trunk/src/site/apt/insert-project-version.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/site/trunk/src/site/apt/insert-project-version.sh
------------------------------------------------------------------------------
    svn:executable = *

Propchange: maven/site/trunk/src/site/apt/insert-project-version.sh
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"


Reply via email to