This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-archetypes.git
The following commit(s) were added to refs/heads/master by this push:
new 5e507df [MARCHETYPES-84] Refresh download page
5e507df is described below
commit 5e507dfc5c7e5edfa27549a7536b1b57eb553cc0
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Sat Aug 17 23:09:25 2024 +0200
[MARCHETYPES-84] Refresh download page
---
.../src/site/apt/index.apt.vm | 8 +-
.../src/site/apt/index.apt.vm | 8 +-
.../src/site/apt/index.apt.vm | 8 +-
maven-archetype-plugin/src/site/apt/index.apt.vm | 8 +-
maven-archetype-portlet/src/site/apt/index.apt.vm | 8 +-
maven-archetype-profiles/src/site/apt/index.apt.vm | 8 +-
maven-archetype-simple/src/site/apt/index.apt.vm | 8 +-
.../src/site/apt/index.apt.vm | 8 +-
.../src/site/apt/index.apt.vm | 8 +-
maven-archetype-site/src/site/apt/index.apt.vm | 8 +-
maven-archetype-webapp/src/site/apt/index.apt.vm | 8 +-
src/site/site.xml | 2 +-
src/site/xdoc/download.xml.vm | 117 ++++++---------------
13 files changed, 78 insertions(+), 129 deletions(-)
diff --git a/maven-archetype-archetype/src/site/apt/index.apt.vm
b/maven-archetype-archetype/src/site/apt/index.apt.vm
index 5b72c3e..77131ce 100644
--- a/maven-archetype-archetype/src/site/apt/index.apt.vm
+++ b/maven-archetype-archetype/src/site/apt/index.apt.vm
@@ -30,7 +30,7 @@ ${project.name}
<<<${project.artifactId}>>> is an archetype which generates a sample
archetype:
-+----+
+----
project
|-- .mvn
@@ -59,14 +59,14 @@ project
|-- archetype.properties
`-- goal.txt
-+----+
+----
* Usage
To generate a new project from this archetype, type:
-+----+
+----
mvn archetype:generate -DarchetypeGroupId=${project.groupId}
-DarchetypeArtifactId=${project.artifactId}
-DarchetypeVersion=${project.version}
-+----+
+----
diff --git a/maven-archetype-j2ee-simple/src/site/apt/index.apt.vm
b/maven-archetype-j2ee-simple/src/site/apt/index.apt.vm
index 49e81d0..e54b09e 100644
--- a/maven-archetype-j2ee-simple/src/site/apt/index.apt.vm
+++ b/maven-archetype-j2ee-simple/src/site/apt/index.apt.vm
@@ -30,7 +30,7 @@ ${project.name}
<<<${project.artifactId}>>> is an archetype which generates a simplified
sample J2EE application:
-+----+
+----
project
|-- .mvn
@@ -84,14 +84,14 @@ project
`-- test
`-- java
-+----+
+----
* Usage
To generate a new project from this archetype, type:
-+----+
+----
mvn archetype:generate -DarchetypeGroupId=${project.groupId}
-DarchetypeArtifactId=${project.artifactId}
-DarchetypeVersion=${project.version}
-+----+
+----
diff --git a/maven-archetype-plugin-site/src/site/apt/index.apt.vm
b/maven-archetype-plugin-site/src/site/apt/index.apt.vm
index fd62ee2..67f50ce 100644
--- a/maven-archetype-plugin-site/src/site/apt/index.apt.vm
+++ b/maven-archetype-plugin-site/src/site/apt/index.apt.vm
@@ -30,7 +30,7 @@ ${project.name}
<<<${project.artifactId}>>> is an archetype which generates a sample Maven
plugin's site:
-+----+
+----
project
|-- .mvn
@@ -49,7 +49,7 @@ project
| `-- markdown-velocity.md.vm
`-- site.xml
-+----+
+----
This archetype can be layered upon an existing Maven project.
@@ -57,8 +57,8 @@ project
To generate a new project or update an existing project from this archetype,
type:
-+----+
+----
mvn archetype:generate -DarchetypeGroupId=${project.groupId}
-DarchetypeArtifactId=${project.artifactId}
-DarchetypeVersion=${project.version}
-+----+
+----
diff --git a/maven-archetype-plugin/src/site/apt/index.apt.vm
b/maven-archetype-plugin/src/site/apt/index.apt.vm
index 6f24e65..c672e10 100644
--- a/maven-archetype-plugin/src/site/apt/index.apt.vm
+++ b/maven-archetype-plugin/src/site/apt/index.apt.vm
@@ -30,7 +30,7 @@ ${project.name}
<<<${project.artifactId}>>> is an archetype which generates a sample Maven
plugin:
-+----+
+----
project
|-- .mvn
@@ -55,14 +55,14 @@ project
| `-- verify.groovy
`-- settings.xml
-+----+
+----
* Usage
To generate a new project from this archetype, type:
-+----+
+----
mvn archetype:generate -DarchetypeGroupId=${project.groupId}
-DarchetypeArtifactId=${project.artifactId}
-DarchetypeVersion=${project.version}
-+----+
+----
diff --git a/maven-archetype-portlet/src/site/apt/index.apt.vm
b/maven-archetype-portlet/src/site/apt/index.apt.vm
index 61da105..427b36c 100644
--- a/maven-archetype-portlet/src/site/apt/index.apt.vm
+++ b/maven-archetype-portlet/src/site/apt/index.apt.vm
@@ -30,7 +30,7 @@ ${project.name}
<<<${project.artifactId}>>> is an archetype which generates a sample JSR-268
Portlet:
-+----+
+----
project
|-- .mvn
@@ -54,14 +54,14 @@ project
|-- maximized.jsp
`-- normal.jsp
-+----+
+----
* Usage
To generate a new project from this archetype, type:
-+----+
+----
mvn archetype:generate -DarchetypeGroupId=${project.groupId}
-DarchetypeArtifactId=${project.artifactId}
-DarchetypeVersion=${project.version}
-+----+
+----
diff --git a/maven-archetype-profiles/src/site/apt/index.apt.vm
b/maven-archetype-profiles/src/site/apt/index.apt.vm
index ede4f6b..7b6aa32 100644
--- a/maven-archetype-profiles/src/site/apt/index.apt.vm
+++ b/maven-archetype-profiles/src/site/apt/index.apt.vm
@@ -30,7 +30,7 @@ ${project.name}
<<<${project.artifactId}>>> is an archetype which generates a sample Maven
project which demonstrates the use of profiles:
-+----+
+----
project
|-- .mvn
@@ -51,14 +51,14 @@ project
`-- $package
`-- AppTest.java
-+----+
+----
* Usage
To generate a new project from this archetype, type:
-+----+
+----
mvn archetype:generate -DarchetypeGroupId=${project.groupId}
-DarchetypeArtifactId=${project.artifactId}
-DarchetypeVersion=${project.version}
-+----+
+----
diff --git a/maven-archetype-simple/src/site/apt/index.apt.vm
b/maven-archetype-simple/src/site/apt/index.apt.vm
index 5960947..33aa7ad 100644
--- a/maven-archetype-simple/src/site/apt/index.apt.vm
+++ b/maven-archetype-simple/src/site/apt/index.apt.vm
@@ -30,7 +30,7 @@ ${project.name}
<<<${project.artifactId}>>> is an archetype which generates a simple Maven
project:
-+----+
+----
project
|-- .mvn
@@ -49,14 +49,14 @@ project
`-- $package
`-- AppTest.java
-+----+
+----
* Usage
To generate a new project from this archetype, type:
-+----+
+----
mvn archetype:generate -DarchetypeGroupId=${project.groupId}
-DarchetypeArtifactId=${project.artifactId}
-DarchetypeVersion=${project.version}
-+----+
+----
diff --git a/maven-archetype-site-simple/src/site/apt/index.apt.vm
b/maven-archetype-site-simple/src/site/apt/index.apt.vm
index 8e04184..893de37 100644
--- a/maven-archetype-site-simple/src/site/apt/index.apt.vm
+++ b/maven-archetype-site-simple/src/site/apt/index.apt.vm
@@ -30,7 +30,7 @@ ${project.name}
<<<${project.artifactId}>>> is an archetype which generates a sample Maven
simple site:
-+----+
+----
project
|-- .mvn
@@ -46,7 +46,7 @@ project
| `-- markdown.md
`-- site.xml
-+----+
+----
This archetype can be layered upon an existing Maven project.
@@ -54,8 +54,8 @@ project
To generate a new project or update an existing project from this archetype,
type:
-+----+
+----
mvn archetype:generate -DarchetypeGroupId=${project.groupId}
-DarchetypeArtifactId=${project.artifactId}
-DarchetypeVersion=${project.version}
-+----+
+----
diff --git a/maven-archetype-site-skin/src/site/apt/index.apt.vm
b/maven-archetype-site-skin/src/site/apt/index.apt.vm
index 9a00f80..e56113b 100644
--- a/maven-archetype-site-skin/src/site/apt/index.apt.vm
+++ b/maven-archetype-site-skin/src/site/apt/index.apt.vm
@@ -31,7 +31,7 @@ ${project.name}
<<<${project.artifactId}>>> is an archetype which generates a sample
{{{/plugins/maven-site-plugin/examples/creatingskins.html}Maven Site Skin}}:
-+----+
+----
project
|-- .mvn
@@ -68,14 +68,14 @@ project
`-- apt
`-- index.apt.vm
-+----+
+----
* Usage
To generate a new project from this archetype, type:
-+----+
+----
mvn archetype:generate -DarchetypeGroupId=${project.groupId}
-DarchetypeArtifactId=${project.artifactId}
-DarchetypeVersion=${project.version}
-+----+
+----
diff --git a/maven-archetype-site/src/site/apt/index.apt.vm
b/maven-archetype-site/src/site/apt/index.apt.vm
index 4a25813..d898786 100644
--- a/maven-archetype-site/src/site/apt/index.apt.vm
+++ b/maven-archetype-site/src/site/apt/index.apt.vm
@@ -31,7 +31,7 @@ ${project.name}
<<<${project.artifactId}>>> is an archetype which generates a sample Maven
site which demonstrates
some of the supported document types like APT, Markdown, XDoc, and FML and
demonstrates how to i18n your site:
-+----+
+----
project
|-- .mvn
@@ -64,7 +64,7 @@ project
|-- site_fr.xml
`-- site.xml
-+----+
+----
This archetype can be layered upon an existing Maven project.
@@ -73,8 +73,8 @@ project
To generate a new project from this archetype, type:
-+----+
+----
mvn archetype:generate -DarchetypeGroupId=${project.groupId}
-DarchetypeArtifactId=${project.artifactId}
-DarchetypeVersion=${project.version}
-+----+
+----
diff --git a/maven-archetype-webapp/src/site/apt/index.apt.vm
b/maven-archetype-webapp/src/site/apt/index.apt.vm
index c535fda..d4b6171 100644
--- a/maven-archetype-webapp/src/site/apt/index.apt.vm
+++ b/maven-archetype-webapp/src/site/apt/index.apt.vm
@@ -30,7 +30,7 @@ ${project.name}
<<<${project.artifactId}>>> is an archetype which generates a sample Maven
webapp project:
-+----+
+----
project
|-- .mvn
@@ -44,14 +44,14 @@ project
| `-- web.xml
`-- index.jsp
-+----+
+----
* Usage
To generate a new project from this archetype, type:
-+----+
+----
mvn archetype:generate -DarchetypeGroupId=${project.groupId}
-DarchetypeArtifactId=${project.artifactId}
-DarchetypeVersion=${project.version}
-+----+
+----
diff --git a/src/site/site.xml b/src/site/site.xml
index 8cf6437..587dedf 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -32,7 +32,7 @@ under the License.
<menu name="Overview">
<item name="Introduction" href="index.html"/>
<!-- According to https://issues.apache.org/jira/browse/MNGSITE-152 -->
- <item name="License" href="http://www.apache.org/licenses/"/>
+ <item name="License" href="https://www.apache.org/licenses/"/>
<item name="Download" href="download.html"/>
</menu>
diff --git a/src/site/xdoc/download.xml.vm b/src/site/xdoc/download.xml.vm
index 9f1ef1a..10b5eda 100644
--- a/src/site/xdoc/download.xml.vm
+++ b/src/site/xdoc/download.xml.vm
@@ -23,102 +23,51 @@ under the License.
<properties>
<title>Download ${project.name} Source</title>
</properties>
+
<body>
<section name="Download ${project.name} ${project.version} Source">
- <p>${project.name} ${project.version} is distributed in source format.
Use a source archive if you intend to build
- ${project.name} yourself. Otherwise, simply use the ready-made binary
artifacts from central repository.</p>
-
- <p>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.<p/>
-
- <p>In order to guard against corrupted downloads/installations, it is
highly recommended to
- <a
href="http://www.apache.org/dev/release-signing#verifying-signature">verify the
signature</a>
- of the release bundles against the public <a
href="https://www.apache.org/dist/maven/KEYS">KEYS</a> used by the Apache Maven
- developers.</p>
+ <p><strong>${project.name} ${project.version}</strong> is distributed in
source format.</p>
- <p>${project.name} is distributed under the <a
href="http://www.apache.org/licenses/">Apache License, version 2.0</a>.</p>
+ <p>Use a source archive if you intend to build
<strong>${project.name}</strong> yourself.</p>
- <p></p>We <b>strongly</b> encourage our users to configure a Maven
repository mirror closer to their location, please read <a
href="/guides/mini/guide-mirror-settings.html">How to Use Mirrors for
Repositories</a>.</p>
-
- <a name="mirror"/>
- <subsection name="Mirror">
-
- <p>
- [if-any logo]
- <a href="[link]">
- <img align="right" src="[logo]" border="0"
- alt="logo"/>
- </a>
- [end]
- The currently selected mirror is
- <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.
- </p>
+ <p>Otherwise, simply use the ready-made binary artifacts from
<strong>central repository</strong>.</p>
- <form action="[location]" method="get" id="SelectMirror">
- 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"/>
- </form>
+ <p><strong>${project.name}</strong> is distributed under the <a
href="https://www.apache.org/licenses/">Apache License, version 2.0</a>.</p>
- <p>
- You may also consult the
- <a href="http://www.apache.org/mirrors/">complete list of
- mirrors.</a>
+ <subsection name="Files">
+
+ <p>This is the current stable version of
<strong>${project.name}</strong>.</p>
+
+ <table>
+ <thead>
+ <tr>
+ <th></th>
+ <th>Link</th>
+ <th>Checksum</th>
+ <th>Signature</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>${project.name} ${project.version} (Source zip)</td>
+ <td><a
href="https://dlcdn.apache.org/maven/archetype/${project.artifactId}-${project.version}-source-release.zip">${project.artifactId}-${project.version}-source-release.zip</a></td>
+ <td><a
href="https://downloads.apache.org/maven/archetype/${project.artifactId}-${project.version}-source-release.zip.sha512">${project.artifactId}-${project.version}-source-release.zip.sha512</a></td>
+ <td><a
href="https://downloads.apache.org/maven/archetype/${project.artifactId}-${project.version}-source-release.zip.asc">${project.artifactId}-${project.version}-source-release.zip.asc</a></td>
+ </tr>
+ </tbody>
+ </table>
+
+ <p>It is essential that you <a
href="https://www.apache.org/info/verification.html">verify the integrity</a>
of the downloaded file
+ using the checksum (.sha512 file)
+ or using the signature (.asc file) against the public <a
href="https://downloads.apache.org/maven/KEYS">KEYS</a> used by the Apache
Maven developers.
</p>
</subsection>
-
- <subsection name="${project.name} ${project.version}">
-
- <p>This is the current stable version of ${project.name}.</p>
-
- <table>
- <thead>
- <tr>
- <th></th>
- <th>Link</th>
- <th>Checksum</th>
- <th>Signature</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>${project.name} ${project.version} (Source zip)</td>
- <td><a
href="[preferred]maven/archetype/${project.artifactId}-${project.version}-source-release.zip">maven/archetype/${project.artifactId}-${project.version}-source-release.zip</a></td>
- <td><a
href="https://www.apache.org/dist/maven/archetype/${project.artifactId}-${project.version}-source-release.zip.sha512">maven/archetype/${project.artifactId}-${project.version}-source-release.zip.sha512</a></td>
- <td><a
href="https://www.apache.org/dist/maven/archetype/${project.artifactId}-${project.version}-source-release.zip.asc">maven/archetype/${project.artifactId}-${project.version}-source-release.zip.asc</a></td>
- </tr>
- </tbody>
- </table>
- </subsection>
<subsection name="Previous Versions">
-
- <p>Older non-recommended releases can be found on our <a
href="http://archive.apache.org/dist/maven/archetype/">archive site</a>.</p>
-
+ <p>It is strongly recommended to use the latest release version of
<strong>${project.name}</strong> to take advantage of the newest features and
bug fixes.</p>
+ <p>Older non-recommended releases can be found on our <a
href="https://archive.apache.org/dist/maven/archetype/">archive site</a>.</p>
</subsection>
</section>
</body>