You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by fp...@apache.org on 2020/11/05 22:00:23 UTC

[shiro-site] branch master updated: Fix download links

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

fpapon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shiro-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 1e036aa  Fix download links
     new b223171  Merge pull request #71 from fpapon/download
1e036aa is described below

commit 1e036aa7028a3702790c9ec59e904bbf75397d6e
Author: Francois Papon <fr...@openobject.fr>
AuthorDate: Thu Nov 5 22:59:22 2020 +0100

    Fix download links
---
 download.html.vtl | 143 +++++++++++++++++++++++++++++++-----------------------
 1 file changed, 82 insertions(+), 61 deletions(-)

diff --git a/download.html.vtl b/download.html.vtl
index 7a81995..871783a 100644
--- a/download.html.vtl
+++ b/download.html.vtl
@@ -23,7 +23,10 @@
             #end
 
             <td style="white-space: nowrap;">
-                <a href="http://repo1.maven.org/maven2/$artifact.g.replace('.', '/')/${artifact.a}/${version}/${artifact.a}-${version}${classifier}.${artifact.type}">$artifact.a</a>
+                <a href="https://repo1.maven.org/maven2/$artifact.g.replace('.', '/')/${artifact.a}/${version}/${artifact.a}-${version}${classifier}.${artifact.type}">$artifact.a</a><br/>
+                (<a href="https://repo1.maven.org/maven2/$artifact.g.replace('.', '/')/${artifact.a}/${version}/${artifact.a}-${version}${classifier}.${artifact.type}.asc">pgp</a>,
+                <a href="https://repo1.maven.org/maven2/$artifact.g.replace('.', '/')/${artifact.a}/${version}/${artifact.a}-${version}${classifier}.${artifact.type}.md5">md5</a>,
+                <a href="https://repo1.maven.org/maven2/$artifact.g.replace('.', '/')/${artifact.a}/${version}/${artifact.a}-${version}${classifier}.${artifact.type}.sha1">sha1</a>)
             </td>
 
             <td>
@@ -57,7 +60,7 @@
 
 <p>You may <a class="external-link" href="https://infra.apache.org/release-signing.html#verifying-signature">verify the
     authenticity</a> of all artifacts below by using the PGP <a class="external-link"
-                                                                href="https://downloads.apache.org/shiro/KEYS">KEYS</a>
+                                                                href="https://www.apache.org/dist/shiro/KEYS">KEYS</a>
     file. </p>
 
 <h3>Releases</h3>
@@ -75,7 +78,7 @@
 
         <li><a href="#previous">Previous Releases</a>
             <ul>
-                <li><a href="#1.6.xBinary">$shiro16x.version</a></li>
+                <li><a href="#1.6.x">$shiro16x.version</a></li>
                 <ul>
                     <li><a href="#1.6.xBinary">$shiro16x.version Binary Distribution</a></li>
                     <li><a href="#1.6.xSource">$shiro16x.version Source Code Distribution</a></li>
@@ -83,7 +86,7 @@
                 </ul>
             </ul>
             <ul>
-                <li><a href="#1.5.xBinary">$shiro15x.version</a></li>
+                <li><a href="#1.5.x">$shiro15x.version</a></li>
                 <ul>
                     <li><a href="#1.5.xBinary">$shiro15x.version Binary Distribution</a></li>
                     <li><a href="#1.5.xSource">$shiro15x.version Source Code Distribution</a></li>
@@ -91,7 +94,7 @@
                 </ul>
             </ul>
             <ul>
-                <li><a href="#1.4.xBinary">$shiro14x.version</a></li>
+                <li><a href="#1.4.x">$shiro14x.version</a></li>
                 <ul>
                     <li><a href="#1.4.xBinary">$shiro14x.version Binary Distribution</a></li>
                     <li><a href="#1.4.xSource">$shiro14x.version Source Code Distribution</a></li>
@@ -99,7 +102,7 @@
                 </ul>
             </ul>
             <ul>
-                <li><a href="#1.3.xBinary">$shiro13x.version</a></li>
+                <li><a href="#1.3.x">$shiro13x.version</a></li>
                 <ul>
                     <li><a href="#1.3.xBinary">$shiro13x.version Binary Distribution</a></li>
                     <li><a href="#1.3.xSource">$shiro13x.version Source Code Distribution</a></li>
@@ -107,7 +110,7 @@
                 </ul>
             </ul>
             <ul>
-                <li><a href="#1.2.xBinary">$shiro12x.version</a></li>
+                <li><a href="#1.2.x">$shiro12x.version</a></li>
                 <ul>
                     <li><a href="#1.2.xBinary">$shiro12x.version Binary Distribution</a></li>
                     <li><a href="#1.2.xSource">$shiro12x.version Source Code Distribution</a></li>
@@ -115,11 +118,11 @@
                 </ul>
             </ul>
             <ul>
-                <li><a href="#1.1.0Binary">$shiro11x.version</a></li>
+                <li><a href="#1.1.x">$shiro11x.version</a></li>
                 <ul>
-                    <li><a href="#1.1.0Binary">$shiro11x.version Binary Distribution</a></li>
-                    <li><a href="#1.1.0Source">$shiro11x.version Source Code Distribution</a></li>
-                    <li><a href="#1.1.0Git">$shiro11x.version Git Source repository</a></li>
+                    <li><a href="#1.1.xBinary">$shiro11x.version Binary Distribution</a></li>
+                    <li><a href="#1.1.xSource">$shiro11x.version Source Code Distribution</a></li>
+                    <li><a href="#1.1.xGit">$shiro11x.version Git Source repository</a></li>
                 </ul>
             </ul>
         </li>
@@ -127,9 +130,12 @@
 </div>
 
 
-<h2><a name="latest"></a>Latest Stable Release (${latestRelease})</h2>
+<h2><a name="latest"></a>Latest Stable Release</h2>
 
-<h3><a name="latestBinary"></a>${latestRelease} Binary Distribution</h3>
+<!-- SHIRO LATEST VERSION -->
+<h3>${latestRelease}</h3>
+
+<h4><a name="latestBinary"></a>${latestRelease} Binary Distribution</h4>
 
 <p>Associated documentation can be found <a href="documentation.html" title="Documentation">here</a></p>
 
@@ -141,18 +147,18 @@
 
 #artifactTable($shiro17x)
 
-<h3><a name="latestSource"></a>${latestRelease} Source Code Distribution</h3>
+<h4><a name="latestSource"></a>${latestRelease} Source Code Distribution</h4>
 
 <p>The source bundle requires JDK 1.8 and Maven 3.0.3+ to build:</p>
 
-<p><a class="external-link" href="https://downloads.apache.org/shiro/${latestRelease}/shiro-root-${latestRelease}-source-release.zip">zip</a>
+<p><a class="external-link" href="https://www.apache.org/dyn/closer.lua/shiro/${latestRelease}/shiro-root-${latestRelease}-source-release.zip">zip</a>
     (<a class="external-link"
-        href="https://downloads.apache.org/shiro/${latestRelease}/shiro-root-${latestRelease}-source-release.zip.asc">pgp</a>, <a
+        href="https://www.apache.org/dist/shiro/${latestRelease}/shiro-root-${latestRelease}-source-release.zip.asc">pgp</a>, <a
             class="external-link"
-            href="https://downloads.apache.org/${latestRelease}/shiro-root-${latestRelease}-source-release.zip.sha512">sha512</a>)
+            href="https://www.apache.org/dist/shiro/${latestRelease}/shiro-root-${latestRelease}-source-release.zip.sha512">sha512</a>)
 </p>
 
-<h3><a name="latestGit"></a>${latestRelease} Git Source repository</h3>
+<h4><a name="latestGit"></a>${latestRelease} Git Source repository</h4>
 
 <p>The source can be cloned anonymously from Git with this command:</p>
 <pre><code style="bash">git clone https://github.com/apache/shiro.git
@@ -163,7 +169,10 @@ git checkout shiro-root-${latestRelease} -b shiro-root-${latestRelease}
 
 <h2><a name="previous"></a>Previous Releases</h2>
 
-<h3><a name="1.6.xBinary"></a>${shiro16x.version} Binary Distribution</h3>
+<!-- SHIRO 1.6.X VERSION -->
+<h3><a name="1.6.x"></a>${shiro16x.version}</h3>
+
+<h4><a name="1.6.xBinary"></a>${shiro16x.version} Binary Distribution</h4>
 
 <p>Associated documentation can be found <a href="documentation.html" title="Documentation">here</a></p>
 
@@ -175,27 +184,31 @@ git checkout shiro-root-${latestRelease} -b shiro-root-${latestRelease}
 
 #artifactTable($shiro16x)
 
-<h3><a name="1.6.xSource"></a>${shiro16x.version} Source Code Distribution</h3>
+<h4><a name="1.6.xSource"></a>${shiro16x.version} Source Code Distribution</h4>
 
 <p>The source bundle requires JDK 1.8 and Maven 3.0.3+ to build:</p>
 
-<p><a class="external-link" href="https://downloads.apache.org/shiro/${shiro16x.version}/shiro-root-${shiro16x.version}-source-release.zip">zip</a>
+<p><a class="external-link" href="https://www.apache.org/dyn/closer.lua/shiro/${shiro16x.version}/shiro-root-${shiro16x.version}-source-release.zip">zip</a>
     (<a class="external-link"
-        href="https://downloads.apache.org/shiro/${shiro16x.version}/shiro-root-${shiro16x.version}-source-release.zip.asc">pgp</a>, <a
-            class="external-link"
-            href="https://downloads.apache.org/shiro/${shiro16x.version}/shiro-root-${shiro16x.version}-source-release.zip.md5">md5</a>, <a
+        href="https://www.apache.org/dist/shiro/${shiro16x.version}/shiro-root-${shiro16x.version}-source-release.zip.asc">pgp</a>, <a
             class="external-link"
-            href="https://downloads.apache.org/shiro/${shiro16x.version}/shiro-root-${shiro16x.version}-source-release.zip.sha512">sha512</a>)
+            href="https://www.apache.org/dist/shiro/${shiro16x.version}/shiro-root-${shiro16x.version}-source-release.zip.md5">md5</a>, <a
+           class="external-link"
+           href="https://www.apache.org/dist/shiro/${shiro16x.version}/shiro-root-${shiro16x.version}-source-release.zip.sha1">sha1</a>)
 </p>
 
-<h3><a name="1.6.xGit"></a>${shiro16x.version} Git Source repository</h3>
+<h4><a name="1.6.xGit"></a>${shiro16x.version} Git Source repository</h4>
 
 <p>The source can be cloned anonymously from Git with this command:</p>
 <pre><code class="bash">git clone https://github.com/apache/shiro.git
 git checkout shiro-root-${shiro16x.version} -b shiro-root-${shiro16x.version}
 </code></pre>
 
-<h3><a name="1.6.xBinary"></a>${shiro16x.version} Binary Distribution</h3>
+
+<!-- SHIRO 1.5.X VERSION -->
+<h3><a name="1.5.x"></a>${shiro15x.version}</h3>
+
+<h4><a name="1.5.xBinary"></a>${shiro15x.version} Binary Distribution</h4>
 
 <p>Associated documentation can be found <a href="documentation.html" title="Documentation">here</a></p>
 
@@ -207,27 +220,29 @@ git checkout shiro-root-${shiro16x.version} -b shiro-root-${shiro16x.version}
 
 #artifactTable($shiro15x)
 
-<h3><a name="1.5.xSource"></a>${shiro15x.version} Source Code Distribution</h3>
+<h4><a name="1.5.xSource"></a>${shiro15x.version} Source Code Distribution</h4>
 
 <p>The source bundle requires JDK 1.8 and Maven 3.0.3+ to build:</p>
 
-<p><a class="external-link" href="https://downloads.apache.org/shiro/${shiro15x.version}/shiro-root-${shiro15x.version}-source-release.zip">zip</a>
+<p><a class="external-link" href="https://www.apache.org/dyn/closer.lua/shiro/${shiro15x.version}/shiro-root-${shiro15x.version}-source-release.zip">zip</a>
     (<a class="external-link"
-        href="https://downloads.apache.org/shiro/${shiro15x.version}/shiro-root-${shiro15x.version}-source-release.zip.asc">pgp</a>, <a
-            class="external-link"
-            href="https://downloads.apache.org/shiro/${shiro15x.version}/shiro-root-${shiro15x.version}-source-release.zip.md5">md5</a>, <a
+        href="https://www.apache.org/dist/shiro/${shiro15x.version}/shiro-root-${shiro15x.version}-source-release.zip.asc">pgp</a>, <a
             class="external-link"
-            href="https://downloads.apache.org/shiro/${shiro15x.version}/shiro-root-${shiro15x.version}-source-release.zip.sha512">sha512</a>)
+            href="https://www.apache.org/dist/shiro/${shiro15x.version}/shiro-root-${shiro15x.version}-source-release.zip.sha512">sha512</a>)
 </p>
 
-<h3><a name="1.5.xGit"></a>${shiro15x.version} Git Source repository</h3>
+<h4><a name="1.5.xGit"></a>${shiro15x.version} Git Source repository</h4>
 
 <p>The source can be cloned anonymously from Git with this command:</p>
 <pre><code class="bash">git clone https://github.com/apache/shiro.git
 git checkout shiro-root-${shiro15x.version} -b shiro-root-${shiro15x.version}
 </code></pre>
 
-<h3><a name="1.5.xBinary"></a>${shiro15x.version} Binary Distribution</h3>
+
+<!-- SHIRO 1.4.X VERSION -->
+<h3><a name="1.4.x"></a>${shiro14x.version}</h3>
+
+<h4><a name="1.4.xBinary"></a>${shiro14x.version} Binary Distribution</h4>
 
 <p>Associated documentation can be found <a href="documentation.html" title="Documentation">here</a></p>
 
@@ -239,27 +254,29 @@ git checkout shiro-root-${shiro15x.version} -b shiro-root-${shiro15x.version}
 
 #artifactTable($shiro14x)
 
-<h3><a name="1.4.xSource"></a>${shiro14x.version} Source Code Distribution</h3>
+<h4><a name="1.4.xSource"></a>${shiro14x.version} Source Code Distribution</h4>
 
 <p>The source bundle requires JDK 1.6 and Maven 3.0.3+ to build:</p>
 
-<p><a class="external-link" href="https://downloads.apache.org/shiro/${shiro14x.version}/shiro-root-${shiro14x.version}-source-release.zip">zip</a>
+<p><a class="external-link" href="https://www.apache.org/dyn/closer.lua/shiro/${shiro14x.version}/shiro-root-${shiro14x.version}-source-release.zip">zip</a>
     (<a class="external-link"
-        href="https://downloads.apache.org/shiro/${shiro14x.version}/shiro-root-${shiro14x.version}-source-release.zip.asc">pgp</a>, <a
-            class="external-link"
-            href="https://downloads.apache.org/shiro/${shiro14x.version}/shiro-root-${shiro14x.version}-source-release.zip.md5">md5</a>, <a
+        href="https://www.apache.org/dist/shiro/${shiro14x.version}/shiro-root-${shiro14x.version}-source-release.zip.asc">pgp</a>, <a
             class="external-link"
-            href="https://downloads.apache.org/shiro/${shiro14x.version}/shiro-root-${shiro14x.version}-source-release.zip.sha512">sha512</a>)
+            href="https://www.apache.org/dist/shiro/${shiro14x.version}/shiro-root-${shiro14x.version}-source-release.zip.sha512">sha512</a>)
 </p>
 
-<h3><a name="1.4.xGit"></a>${shiro14x.version} Git Source repository</h3>
+<h4><a name="1.4.xGit"></a>${shiro14x.version} Git Source repository</h4>
 
 <p>The source can be cloned anonymously from Git with this command:</p>
 <pre><code class="bash">git clone https://github.com/apache/shiro.git
 git checkout shiro-root-${shiro14x.version} -b shiro-root-${shiro14x.version}
 </code></pre>
 
-<h3><a name="1.3.xBinary"></a>${shiro13x.version} Binary Distribution</h3>
+
+<!-- SHIRO 1.3.X VERSION -->
+<h3><a name="1.3.x"></a>${shiro13x.version}</h3>
+
+<h4><a name="1.3.xBinary"></a>${shiro13x.version} Binary Distribution</h4>
 
 <p>Associated documentation can be found <a href="documentation.html" title="Documentation">here</a></p>
 
@@ -271,27 +288,30 @@ git checkout shiro-root-${shiro14x.version} -b shiro-root-${shiro14x.version}
 
 #artifactTable($shiro13x)
 
-<h3><a name="1.3.xSource"></a>${shiro13x.version} Source Code Distribution</h3>
+<h4><a name="1.3.xSource"></a>${shiro13x.version} Source Code Distribution</h4>
 
 <p>The source bundle requires JDK 1.6 and Maven 3.0.3+ to build:</p>
 
-<p><a class="external-link" href="https://downloads.apache.org/shiro/${shiro13x.version}/shiro-root-${shiro13x.version}-source-release.zip">zip</a>
+<p><a class="external-link" href="https://www.apache.org/dyn/closer.lua/shiro/${shiro13x.version}/shiro-root-${shiro13x.version}-source-release.zip">zip</a>
     (<a class="external-link"
-        href="https://downloads.apache.org/shiro/${shiro13x.version}/shiro-root-${shiro13x.version}-source-release.zip.asc">pgp</a>, <a
+        href="https://www.apache.org/dist/shiro/${shiro13x.version}/shiro-root-${shiro13x.version}-source-release.zip.asc">pgp</a>, <a
             class="external-link"
-            href="https://downloads.apache.org/shiro/${shiro13x.version}/shiro-root-${shiro13x.version}-source-release.zip.md5">md5</a>, <a
+            href="https://www.apache.org/dist/shiro/${shiro13x.version}/shiro-root-${shiro13x.version}-source-release.zip.md5">md5</a>, <a
             class="external-link"
-            href="https://downloads.apache.org/shiro/${shiro13x.version}/shiro-root-${shiro13x.version}-source-release.zip.sha1">sha1</a>)
+            href="https://www.apache.org/dist/shiro/${shiro13x.version}/shiro-root-${shiro13x.version}-source-release.zip.sha1">sha1</a>)
 </p>
 
-<h3><a name="1.3.xGit"></a>${shiro13x.version} Git Source repository</h3>
+<h4><a name="1.3.xGit"></a>${shiro13x.version} Git Source repository</h4>
 
 <p>The source can be cloned anonymously from Git with this command:</p>
 <pre><code class="bash">git clone https://github.com/apache/shiro.git
 git checkout shiro-root-${shiro13x.version} -b shiro-root-${shiro13x.version}
 </code></pre>
 
-<h3><a name="1.2.xBinary"></a>${shiro12x.version} Binary Distribution</h3>
+<!-- SHIRO 1.2.X VERSION -->
+<h3><a name="1.2.x"></a>${shiro12x.version}</h3>
+
+<h4><a name="1.2.xBinary"></a>${shiro12x.version} Binary Distribution</h4>
 
 <p>Associated documentation can be found <a href="documentation.html" title="Documentation">here</a></p>
 
@@ -303,20 +323,20 @@ git checkout shiro-root-${shiro13x.version} -b shiro-root-${shiro13x.version}
 
 #artifactTable($shiro12x)
 
-<h3><a name="1.2.xSource"></a>${shiro12x.version} Source Code Distribution</h3>
+<h4><a name="1.2.xSource"></a>${shiro12x.version} Source Code Distribution</h4>
 
 <p>The source bundle requires JDK 1.6 and Maven 3.0.3+ to build:</p>
 
-<p><a class="external-link" href="https://downloads.apache.org/shiro/${shiro12x.version}/shiro-root-${shiro12x.version}-source-release.zip">zip</a>
+<p><a class="external-link" href="https://www.apache.org/dyn/closer.lua/shiro/${shiro12x.version}/shiro-root-${shiro12x.version}-source-release.zip">zip</a>
     (<a class="external-link"
-        href="https://downloads.apache.org/shiro/${shiro12x.version}/shiro-root-${shiro12x.version}-source-release.zip.asc">pgp</a>, <a
+        href="https://www.apache.org/dist/shiro/${shiro12x.version}/shiro-root-${shiro12x.version}-source-release.zip.asc">pgp</a>, <a
             class="external-link"
-            href="https://downloads.apache.org/shiro/${shiro12x.version}/shiro-root-${shiro12x.version}-source-release.zip.md5">md5</a>, <a
+            href="https://www.apache.org/dist/shiro/${shiro12x.version}/shiro-root-${shiro12x.version}-source-release.zip.md5">md5</a>, <a
             class="external-link"
-            href="https://downloads.apache.org/shiro/${shiro12x.version}/shiro-root-${shiro12x.version}-source-release.zip.sha1">sha1</a>)
+            href="https://www.apache.org/dist/shiro/${shiro12x.version}/shiro-root-${shiro12x.version}-source-release.zip.sha1">sha1</a>)
 </p>
 
-<h3><a name="1.2.xGit"></a>${shiro12x.version} Git Source repository</h3>
+<h4><a name="1.2.xGit"></a>${shiro12x.version} Git Source repository</h4>
 
 <p>The source can be cloned anonymously from Git with this command:</p>
 <pre><code class="bash">git clone https://github.com/apache/shiro.git
@@ -324,9 +344,10 @@ git checkout shiro-root-${shiro12x.version} -b shiro-root-${shiro12x.version}
 </code></pre>
 
 
-<h3><a name="1.1.0"></a>${shiro11x.version}</h3>
+<!-- SHIRO 1.1.X VERSION -->
+<h3><a name="1.1.x"></a>${shiro11x.version}</h3>
 
-<h4><a name="1.1.0Binary"></a>${shiro11x.version} Binary Distribution</h4>
+<h4><a name="1.1.xBinary"></a>${shiro11x.version} Binary Distribution</h4>
 
 <p>Associated documentation can be found <a href="documentation.html" title="Documentation">here</a></p>
 
@@ -338,18 +359,18 @@ git checkout shiro-root-${shiro12x.version} -b shiro-root-${shiro12x.version}
 
 #artifactTable($shiro11x)
 
-<h4><a name="1.1.0Source"></a>${shiro11x.version} Source Code Distribution</h4>
+<h4><a name="1.1.xSource"></a>${shiro11x.version} Source Code Distribution</h4>
 
 <p>The ${shiro11x.version} source bundle requires JDK 1.5+ and Maven 2.2+ to build:</p>
 
 <p><a class="external-link"
-      href="https://archive.apache.org/dist/shiro/${shiro11x.version}/shiro-root-${shiro11x.version}-source-release.zip">zip</a> (<a
+      href="https://www.apache.org/dyn/closer.lua/shiro/${shiro11x.version}/shiro-root-${shiro11x.version}-source-release.zip">zip</a> (<a
         class="external-link" href="https://archive.apache.org/dist/shiro/${shiro11x.version}/shiro-root-${shiro11x.version}-source-release.zip.asc">pgp</a>,
     <a class="external-link" href="https://archive.apache.org/dist/shiro/${shiro11x.version}/shiro-root-${shiro11x.version}-source-release.zip.md5">md5</a>,
     <a class="external-link" href="https://archive.apache.org/dist/shiro/${shiro11x.version}/shiro-root-${shiro11x.version}-source-release.zip.sha1">sha1</a>)
 </p>
 
-<h4><a name="1.1.0Git"></a>${shiro11x.version} Git Source repository</h4>
+<h4><a name="1.1.xGit"></a>${shiro11x.version} Git Source repository</h4>
 
 <p>The source can be cloned anonymously from Git with this command:</p>
 <pre><code class="bash">git clone https://github.com/apache/shiro.git