- - API (JavaDoc)
- - Browse Source (XREF)
- - Maven Static Site
+ - API (JavaDoc)
+ - Browse Source (XREF)
+ - Maven Static Site
diff --git a/download.html b/download.html.vtl
similarity index 94%
rename from download.html
rename to download.html.vtl
index fe360b8071..94a9733529 100644
--- a/download.html
+++ b/download.html.vtl
@@ -1,3 +1,5 @@
+#parse("templates/includes.vtl")
+
Download Apache Shiro
-Apache Shiro 1.3.2 is the current stable release (Java 1.6+ JVM).
+Apache Shiro ${latestRelease} is the current stable release (Java 1.6+ JVM).
To download Shiro please follow the instructions below.
@@ -43,11 +45,11 @@ Releases
-Latest Stable Release (1.3.2)
+Latest Stable Release (${latestRelease})
-1.3.2 Binary Distribution
+${latestRelease} Binary Distribution
Associated documentation can be found here
@@ -94,7 +96,7 @@ 1.3.2 Binary Distribution
shiro-all |
+ href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-all/${latestRelease}/shiro-all-${latestRelease}.jar">shiro-all
Not Recommended |
Includes all binary functionality for Shiro (without
dependencies), useful in certain build environments (e.g. Ant). However, this is NOT
@@ -105,14 +107,14 @@ 1.3.2 Binary Distribution
|
shiro-core |
+ href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-core/${latestRelease}/shiro-core-${latestRelease}.jar">shiro-core
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-core</artifactId>
- <version>1.3.2</version>
+ <version>${latestRelease}</version>
</dependency>
@@ -125,14 +127,14 @@ 1.3.2 Binary Distribution
|
shiro-web |
+ href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-web/${latestRelease}/shiro-web-${latestRelease}.jar">shiro-web
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-web</artifactId>
- <version>1.3.2</version>
+ <version>${latestRelease}</version>
</dependency>
@@ -141,14 +143,14 @@ 1.3.2 Binary Distribution
|
shiro-aspectj |
+ href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-aspectj/${latestRelease}/shiro-aspectj-${latestRelease}.jar">shiro-aspectj
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-aspectj</artifactId>
- <version>1.3.2</version>
+ <version>${latestRelease}</version>
</dependency>
@@ -160,14 +162,14 @@ 1.3.2 Binary Distribution
|
shiro-cas |
+ href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-cas/${latestRelease}/shiro-cas-${latestRelease}.jar">shiro-cas
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-cas</artifactId>
- <version>1.3.2</version>
+ <version>${latestRelease}</version>
</dependency>
@@ -182,14 +184,14 @@ 1.3.2 Binary Distribution
|
shiro-ehcache |
+ href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-ehcache/${latestRelease}/shiro-ehcache-${latestRelease}.jar">shiro-ehcache
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-ehcache</artifactId>
- <version>1.3.2</version>
+ <version>${latestRelease}</version>
</dependency>
@@ -202,14 +204,14 @@ 1.3.2 Binary Distribution
|
shiro-hazelcast |
+ href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-hazelcast/${latestRelease}/shiro-hazelcast-${latestRelease}.jar">shiro-hazelcast
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-hazelcast</artifactId>
- <version>1.3.2</version>
+ <version>${latestRelease}</version>
</dependency>
@@ -221,14 +223,14 @@ 1.3.2 Binary Distribution
|
shiro-features |
+ href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-features/${latestRelease}/shiro-features-${latestRelease}-features.xml">shiro-features
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-features</artifactId>
- <version>1.3.2</version>
+ <version>${latestRelease}</version>
</dependency>
@@ -240,14 +242,14 @@ 1.3.2 Binary Distribution
|
shiro-guice |
+ href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-guice/${latestRelease}/shiro-guice-${latestRelease}.jar">shiro-guice
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-guice</artifactId>
- <version>1.3.2</version>
+ <version>${latestRelease}</version>
</dependency>
@@ -259,14 +261,14 @@ 1.3.2 Binary Distribution
|
shiro-quartz |
+ href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-quartz/${latestRelease}/shiro-quartz-${latestRelease}.jar">shiro-quartz
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-quartz</artifactId>
- <version>1.3.2</version>
+ <version>${latestRelease}</version>
</dependency>
@@ -278,14 +280,14 @@ 1.3.2 Binary Distribution
|
shiro-spring |
+ href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-spring/${latestRelease}/shiro-spring-${latestRelease}.jar">shiro-spring
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-spring</artifactId>
- <version>1.3.2</version>
+ <version>${latestRelease}</version>
</dependency>
@@ -297,7 +299,7 @@ 1.3.2 Binary Distribution
|
shiro-tools-hasher-cli |
+ href="http://repo1.maven.org/maven2/org/apache/shiro/tools/shiro-tools-hasher/${latestRelease}/shiro-tools-hasher-${latestRelease}-cli.jar">shiro-tools-hasher-cli
Not Relevant |
A command-line program to perform hashing (MD5, SHA,
etc) for files, streams and passwords. Note that this is a command line program and not intended to
@@ -306,7 +308,7 @@ 1.3.2 Binary Distribution
-java -jar shiro-tools-hasher-1.3.2-cli.jar
+java -jar shiro-tools-hasher-${latestRelease}-cli.jar
@@ -317,27 +319,27 @@ 1.3.2 Binary Distribution
-1.3.2 Source Code Distribution
+${latestRelease} Source Code Distribution
The source bundle requires JDK 1.6 and Maven 3.0.3+ to build:
-zip
+ zip
(pgp, pgp, md5, md5, sha1)
+ href="http://www.apache.org/dyn/closer.cgi/shiro/${latestRelease}/shiro-root-${latestRelease}-source-release.zip.sha1">sha1)
-1.3.2 Git Source repository
+${latestRelease} Git Source repository
The source can be cloned anonymously from Git with this command:
git clone https:
-git checkout shiro-root-1.3.2 -b shiro-root-1.3.2
+git checkout shiro-root-${latestRelease} -b shiro-root-${latestRelease}
diff --git a/templates/default.vtl b/templates/default.vtl
index 3651a9213e..fb5a7818c5 100644
--- a/templates/default.vtl
+++ b/templates/default.vtl
@@ -16,7 +16,7 @@
-->
-#parse("templates/macros.vtl")
+#parse("templates/includes.vtl")
diff --git a/templates/macros.vtl b/templates/includes.vtl
similarity index 72%
rename from templates/macros.vtl
rename to templates/includes.vtl
index 7d9b83edc9..359060a2b4 100644
--- a/templates/macros.vtl
+++ b/templates/includes.vtl
@@ -3,4 +3,6 @@
#parse( "templates/macros/tip.vtl" )
#parse( "templates/macros/warning.vtl" )
#parse( "templates/macros/lend-a-hand.vtl" )
-#parse( "templates/macros/redirect.vtl" )
\ No newline at end of file
+#parse( "templates/macros/redirect.vtl" )
+
+#parse( "templates/versions.vtl" )
\ No newline at end of file
diff --git a/templates/versions.vtl b/templates/versions.vtl
new file mode 100644
index 0000000000..aa2f42be02
--- /dev/null
+++ b/templates/versions.vtl
@@ -0,0 +1,2 @@
+#set( $latestRelease = "1.3.2" )
+#set( $versionInfo = {"1.3.2": { "releaseDate": "2016-09-12" } } )
\ No newline at end of file
|