Skip to content

Commit

Permalink
[MNGSITE-505] use dlcdn.apache.org (no mirrors) + downloads.apache.org
Browse files Browse the repository at this point in the history
  • Loading branch information
hboutemy committed Jan 9, 2023
1 parent 5d364e0 commit 062ba3d
Showing 1 changed file with 10 additions and 66 deletions.
76 changes: 10 additions & 66 deletions src/site/xdoc/download.xml.vm
Original file line number Diff line number Diff line change
Expand Up @@ -23,77 +23,21 @@ 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>${project.name} is distributed under the <a href="http://www.apache.org/licenses/">Apache License, version 2.0</a>.</p>
<p><strong>${project.name} ${project.version}</strong> is distributed in source format.</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>
<p>Use a source archive if you intend to build <strong>${project.name}</strong> yourself.</p>

<a name="mirror"/>
<subsection name="Mirror">
<p>Otherwise, simply use the ready-made binary artifacts from <strong>central repository</strong>.</p>

<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><strong>${project.name}</strong> is distributed under the <a href="https://www.apache.org/licenses/">Apache License, version 2.0</a>.</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>
You may also consult the
<a href="http://www.apache.org/mirrors/">complete list of
mirrors.</a>
</p>

</subsection>

<subsection name="${project.name} ${project.version}">
<subsection name="Files">

<p>This is the current stable version of ${project.name}.</p>
<p>This is the current stable version of <strong>${project.name}</strong>.</p>

<table>
<thead>
Expand All @@ -107,9 +51,9 @@ under the License.
<tbody>
<tr>
<td>${project.name} ${project.version} (Source zip)</td>
<td><a href="[preferred]maven/doxia/${project.artifactId}-${project.version}-source-release.zip">maven/doxia/${project.artifactId}-${project.version}-source-release.zip</a></td>
<td><a href="https://www.apache.org/dist/maven/doxia/${project.artifactId}-${project.version}-source-release.zip.sha512">maven/doxia/${project.artifactId}-${project.version}-source-release.zip.sha512</a></td>
<td><a href="https://www.apache.org/dist/maven/doxia/${project.artifactId}-${project.version}-source-release.zip.asc">maven/doxia/${project.artifactId}-${project.version}-source-release.zip.asc</a></td>
<td><a href="https://dlcdn.apache.org/maven/doxia/${project.artifactId}-${project.version}-source-release.zip">maven/doxia/${project.artifactId}-${project.version}-source-release.zip</a></td>
<td><a href="https://downloads.apache.org/maven/doxia/${project.artifactId}-${project.version}-source-release.zip.sha512">maven/doxia/${project.artifactId}-${project.version}-source-release.zip.sha512</a></td>
<td><a href="https://downloads.apache.org/maven/doxia/${project.artifactId}-${project.version}-source-release.zip.asc">maven/doxia/${project.artifactId}-${project.version}-source-release.zip.asc</a></td>
</tr>
</tbody>
</table>
Expand Down

0 comments on commit 062ba3d

Please sign in to comment.