Skip to content

Commit 95cde3e

Browse files
[MRELEASE-1127] Refresh download page
1 parent 33f0d91 commit 95cde3e

File tree

1 file changed

+33
-84
lines changed

1 file changed

+33
-84
lines changed

src/site/xdoc/download.xml.vm

+33-84
Original file line numberDiff line numberDiff line change
@@ -23,102 +23,51 @@ under the License.
2323
<properties>
2424
<title>Download ${project.name} Source</title>
2525
</properties>
26+
2627
<body>
2728
<section name="Download ${project.name} ${project.version} Source">
2829

29-
<p>${project.name} ${project.version} is distributed in source format. Use a source archive if you intend to build
30-
${project.name} yourself. Otherwise, simply use the ready-made binary artifacts from central repository.</p>
31-
32-
<p>You will be prompted for a mirror - if the file is not found on yours, please be patient, as it may take 24
33-
hours to reach all mirrors.<p/>
34-
35-
<p>In order to guard against corrupted downloads/installations, it is highly recommended to
36-
<a href="https://www.apache.org/dev/release-signing#verifying-signature">verify the signature</a>
37-
of the release bundles against the public <a href="https://www.apache.org/dist/maven/KEYS">KEYS</a> used by the Apache Maven
38-
developers.</p>
30+
<p><strong>${project.name} ${project.version}</strong> is distributed in source format.</p>
3931

40-
<p>${project.name} is distributed under the <a href="http://www.apache.org/licenses/">Apache License, version 2.0</a>.</p>
32+
<p>Use a source archive if you intend to build <strong>${project.name}</strong> yourself.</p>
4133

42-
<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>
43-
44-
<a name="mirror"/>
45-
<subsection name="Mirror">
46-
47-
<p>
48-
[if-any logo]
49-
<a href="[link]">
50-
<img align="right" src="[logo]" border="0"
51-
alt="logo"/>
52-
</a>
53-
[end]
54-
The currently selected mirror is
55-
<b>[preferred]</b>.
56-
If you encounter a problem with this mirror,
57-
please select another mirror.
58-
If all mirrors are failing, there are
59-
<i>backup</i>
60-
mirrors
61-
(at the end of the mirrors list) that should be available.
62-
</p>
34+
<p>Otherwise, simply use the ready-made binary artifacts from <strong>central repository</strong>.</p>
6335

64-
<form action="[location]" method="get" id="SelectMirror">
65-
Other mirrors:
66-
<select name="Preferred">
67-
[if-any http]
68-
[for http]
69-
<option value="[http]">[http]</option>
70-
[end]
71-
[end]
72-
[if-any ftp]
73-
[for ftp]
74-
<option value="[ftp]">[ftp]</option>
75-
[end]
76-
[end]
77-
[if-any backup]
78-
[for backup]
79-
<option value="[backup]">[backup] (backup)</option>
80-
[end]
81-
[end]
82-
</select>
83-
<input type="submit" value="Change"/>
84-
</form>
36+
<p><strong>${project.name}</strong> is distributed under the <a href="https://www.apache.org/licenses/">Apache License, version 2.0</a>.</p>
8537

86-
<p>
87-
You may also consult the
88-
<a href="http://www.apache.org/mirrors/">complete list of
89-
mirrors.</a>
38+
<subsection name="Files">
39+
40+
<p>This is the current stable version of <strong>${project.name}</strong>.</p>
41+
42+
<table>
43+
<thead>
44+
<tr>
45+
<th></th>
46+
<th>Link</th>
47+
<th>Checksum</th>
48+
<th>Signature</th>
49+
</tr>
50+
</thead>
51+
<tbody>
52+
<tr>
53+
<td>${project.name} ${project.version} (Source zip)</td>
54+
<td><a href="https://dlcdn.apache.org/maven/release/${project.artifactId}-${project.version}-source-release.zip">${project.artifactId}-${project.version}-source-release.zip</a></td>
55+
<td><a href="https://downloads.apache.org/maven/release/${project.artifactId}-${project.version}-source-release.zip.sha512">${project.artifactId}-${project.version}-source-release.zip.sha512</a></td>
56+
<td><a href="https://downloads.apache.org/maven/release/${project.artifactId}-${project.version}-source-release.zip.asc">${project.artifactId}-${project.version}-source-release.zip.asc</a></td>
57+
</tr>
58+
</tbody>
59+
</table>
60+
61+
<p>It is essential that you <a href="https://www.apache.org/info/verification.html">verify the integrity</a> of the downloaded file
62+
using the checksum (.sha512 file)
63+
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.
9064
</p>
9165

9266
</subsection>
93-
94-
<subsection name="${project.name} ${project.version}">
95-
96-
<p>This is the current stable version of ${project.name}.</p>
97-
98-
<table>
99-
<thead>
100-
<tr>
101-
<th></th>
102-
<th>Link</th>
103-
<th>Checksum</th>
104-
<th>Signature</th>
105-
</tr>
106-
</thead>
107-
<tbody>
108-
<tr>
109-
<td>${project.name} ${project.version} (Source zip)</td>
110-
<td><a href="[preferred]maven/release/${project.artifactId}-${project.version}-source-release.zip">maven/release/${project.artifactId}-${project.version}-source-release.zip</a></td>
111-
<td><a href="https://www.apache.org/dist/maven/release/${project.artifactId}-${project.version}-source-release.zip.sha512">maven/release/${project.artifactId}-${project.version}-source-release.zip.sha512</a></td>
112-
<td><a href="https://www.apache.org/dist/maven/release/${project.artifactId}-${project.version}-source-release.zip.asc">maven/release/${project.artifactId}-${project.version}-source-release.zip.asc</a></td>
113-
</tr>
114-
</tbody>
115-
</table>
116-
</subsection>
11767

11868
<subsection name="Previous Versions">
119-
120-
<p>Older non-recommended releases can be found on our <a href="https://archive.apache.org/dist/maven/release/">archive site</a>.</p>
121-
69+
<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>
70+
<p>Older non-recommended releases can be found on our <a href="https://archive.apache.org/dist/maven/release/">archive site</a>.</p>
12271
</subsection>
12372
</section>
12473
</body>

0 commit comments

Comments
 (0)