You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/08/09 23:25:56 UTC

(maven-resolver) branch modernize-download-page created (now f44b2bd35)

This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a change to branch modernize-download-page
in repository https://gitbox.apache.org/repos/asf/maven-resolver.git


      at f44b2bd35 Reconcile the two download pages and modernise them

This branch includes the following new commits:

     new f44b2bd35 Reconcile the two download pages and modernise them

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(maven-resolver) 01/01: Reconcile the two download pages and modernise them

Posted by sl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch modernize-download-page
in repository https://gitbox.apache.org/repos/asf/maven-resolver.git

commit f44b2bd35fb359ffd44a7c4083402992e27ecc7b
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Mon Aug 10 01:25:46 2026 +0200

    Reconcile the two download pages and modernise them
    
    This repository carried two download pages from different generations: the
    root page in the current form, and the module page still on the 2014 mirror
    form with the checksum and KEYS links pointing at www.apache.org/dist, which
    has been a 301 to downloads.apache.org for years.
    
    The module page also advertised maven-resolver-demos-${project.version}-source-release.zip,
    which has never been released -- maven-resolver-demos ships inside the maven-resolver source release
    and has no source bundle of its own. It now points at the maven-resolver bundle that
    actually exists, and says so, rather than at a URL that 404s.
    
    Both pages now use the form the rest of the Maven estate uses. The rendered
    download.html keeps the same headings and generated anchors on the root page.
    
    Generated-by: Claude Code
---
 maven-resolver-demos/src/site/xdoc/download.xml.vm | 128 +++++++--------------
 src/site/xdoc/download.xml.vm                      |   5 +-
 2 files changed, 41 insertions(+), 92 deletions(-)

diff --git a/maven-resolver-demos/src/site/xdoc/download.xml.vm b/maven-resolver-demos/src/site/xdoc/download.xml.vm
index 2bf500dac..594feedbb 100644
--- a/maven-resolver-demos/src/site/xdoc/download.xml.vm
+++ b/maven-resolver-demos/src/site/xdoc/download.xml.vm
@@ -9,7 +9,7 @@ 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
 
-    https://www.apache.org/licenses/LICENSE-2.0
+    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
@@ -23,104 +23,54 @@ 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="https://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="https://www.apache.org/licenses/">Apache License, version 2.0</a>.</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><strong>${project.name} ${project.version}</strong> is distributed in source format.</p>
+
+      <p>Use a source archive if you intend to build <strong>${project.name}</strong> yourself.</p>
+
+      <p>Otherwise, simply use the ready-made binary artifacts from <strong>central repository</strong>.</p>
+
+      <p><strong>${project.name}</strong> is distributed under the <a href="https://www.apache.org/licenses/">Apache License, version 2.0</a>.</p>
+
+      <p><strong>${project.name}</strong> is released as part of <strong>Maven Artifact Resolver</strong>; the source archive below is the Maven Artifact Resolver source release.</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="https://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/resolver/maven-resolver-${project.version}-source-release.zip">maven-resolver-${project.version}-source-release.zip</a></td>
+              <td><a href="https://downloads.apache.org/maven/resolver/maven-resolver-${project.version}-source-release.zip.sha512">maven-resolver-${project.version}-source-release.zip.sha512</a></td>
+              <td><a href="https://downloads.apache.org/maven/resolver/maven-resolver-${project.version}-source-release.zip.asc">maven-resolver-${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/resolver/${project.artifactId}-${project.version}-source-release.zip">maven/resolver/${project.artifactId}-${project.version}-source-release.zip</a></td>
-            <td><a href="https://www.apache.org/dist/maven/resolver/${project.artifactId}-${project.version}-source-release.zip.sha512">maven/resolver/${project.artifactId}-${project.version}-source-release.zip.sha512</a></td>
-            <td><a href="https://www.apache.org/dist/maven/resolver/${project.artifactId}-${project.version}-source-release.zip.asc">maven/resolver/${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="https://archive.apache.org/dist/maven/resolver/">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/resolver/">archive site</a>.</p>
       </subsection>
     </section>
   </body>
 </document>
-
diff --git a/src/site/xdoc/download.xml.vm b/src/site/xdoc/download.xml.vm
index 3a0f3f01b..13f762bab 100644
--- a/src/site/xdoc/download.xml.vm
+++ b/src/site/xdoc/download.xml.vm
@@ -9,7 +9,7 @@ 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
 
-    https://www.apache.org/licenses/LICENSE-2.0
+    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
@@ -36,7 +36,7 @@ under the License.
       <p><strong>${project.name}</strong> is distributed under the <a href="https://www.apache.org/licenses/">Apache License, version 2.0</a>.</p>
 
       <subsection name="Files">
-        
+
         <p>This is the current stable version of <strong>${project.name}</strong>.</p>
 
         <table>
@@ -72,4 +72,3 @@ under the License.
     </section>
   </body>
 </document>
-