This is an automated email from the ASF dual-hosted git repository.
lprimak pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shiro-site.git
The following commit(s) were added to refs/heads/main by this push:
new 3925bce7c fixed build requirements for older releases as well
3925bce7c is described below
commit 3925bce7ca7462fe1e567e99fc9b9a8bd741ccb2
Author: lprimak <[email protected]>
AuthorDate: Sun Apr 20 15:01:30 2025 -0500
fixed build requirements for older releases as well
---
src/site/templates/download.ftl | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/site/templates/download.ftl b/src/site/templates/download.ftl
index 2ff60ee22..1ec8179f8 100644
--- a/src/site/templates/download.ftl
+++ b/src/site/templates/download.ftl
@@ -15,11 +15,13 @@
<#assign displayReleases=((content.releases).versions)![] />
<#assign downloadUrl="https://www.apache.org/dyn/closer.lua/shiro/" />
<#assign appendToGpg=".txt" />
+ <#assign buildRequitements="The source bundle requires JDK 11+ and Maven
3.8+ to build:"/>
<#else>
<#-- if not releases are given using :jbake-release:, assume oldReleases
(release-archive.html). -->
<#assign displayReleases=versions.oldReleases />
<#assign downloadUrl="https://archive.apache.org/dist/shiro/" />
<#assign appendToGpg="" />
+ <#assign buildRequitements="The source bundle requires JDK 1.8 and Maven
3.0.3+ to build:"/>
</#if>
<#assign downloadHashUrl="https://downloads.apache.org/shiro/" />
@@ -38,7 +40,6 @@
</ul>
</p>
-q
<#list displayReleases as version>
<#assign release=versions.releases[version] />
@@ -47,7 +48,7 @@ q
<h3 id="${release.version?replace(".", "")}Source">${release.version} Source
Code Distribution</h3>
- <p>The source bundle requires JDK 11+ and Maven 3.8+ to build:
+ <p>${buildRequitements}
<code><a class="external-link"
href="${downloadUrl}${release.version}/shiro-root-${release.version}-source-release.zip">shiro-root-${release.version}-source-release.zip</a></code>
(<a class="external-link"