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

randgalt pushed a commit to branch CURATOR-577-add-downloads-page-to-website
in repository https://gitbox.apache.org/repos/asf/curator.git

commit 3031858538370811c1a43dbf1bd1992ec999e179
Author: randgalt <randg...@apache.org>
AuthorDate: Thu Jul 9 17:11:47 2020 -0500

    CURATOR-577 - Add a dedicated downloads page to the website
    
    Add a dedicated downloads page to the website. Note: this page depends
    on the new property "currentStableVersion"
---
 pom.xml                                    |  3 +++
 src/site/confluence/index.confluence       |  4 ++++
 src/site/confluence/releases.confluence.vm | 22 ++++++++++++++++++++++
 src/site/site.xml                          |  3 +--
 4 files changed, 30 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index cae1880..98104d5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -52,6 +52,8 @@
     </organization>
 
     <properties>
+        <currentStableVersion>5.1.0</currentStableVersion>
+
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>
         
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
@@ -800,6 +802,7 @@
                     <header>src/etc/header.txt</header>
                     <excludes>
                         <exclude>**/*.confluence</exclude>
+                        <exclude>**/*.confluence.vm</exclude>
                         <exclude>**/help.txt</exclude>
                         <exclude>**/*.rdf</exclude>
                         <exclude>**/.gitignore</exclude>
diff --git a/src/site/confluence/index.confluence 
b/src/site/confluence/index.confluence
index 8ea1c0e..fcaaed6 100644
--- a/src/site/confluence/index.confluence
+++ b/src/site/confluence/index.confluence
@@ -8,6 +8,10 @@ Apache Curator is a Java/JVM client library for [[Apache 
ZooKeeper|https://zooke
 
 !images/ph-quote.png!
 
+h2. Download
+
+[[Download Apache Curator|releases.html]] from the release page.
+
 h2. Important Compatibility Updates
 
 Note: version 5.0 of Curator has a few breaking changes. Please read the 
details here:
diff --git a/src/site/confluence/releases.confluence.vm 
b/src/site/confluence/releases.confluence.vm
new file mode 100644
index 0000000..ee3213f
--- /dev/null
+++ b/src/site/confluence/releases.confluence.vm
@@ -0,0 +1,22 @@
+h1. Apache Curator Releases
+
+h2. Download
+The current release can be [[downloaded using these links|#Current_Release]].
+
+Older releases are available from the 
[[archive|https://archive.apache.org/dist/curator/]].
+
+You can verify the integrity of a downloaded release using the PGP signatures 
and hashes hosted at the main Apache distribution site.
+For additional information, refer to the Apache documentation for [[verifying 
the integrity of Apache project 
releases|https://www.apache.org/info/verification.html]].
+The binary artifacts for Curator are available from [[Maven 
Central|http://search.maven.org/#search%7Cga%7C1%7Corg.apache.curator]] and its 
mirrors.
+
+h2. Current Release
+
+* Current Release: 
[[apache\-curator\-${currentStableVersion}\-source\-release.zip|https://downloads.apache.org/curator/${currentStableVersion}/apache-curator-${currentStableVersion}-source-release.zip]]
+* PGP: 
[[apache\-curator\-${currentStableVersion}\-source\-release.zip.asc|https://downloads.apache.org/curator/${currentStableVersion}/apache-curator-${currentStableVersion}-source-release.zip.asc]]
+* SHA\-512: 
[[apache\-curator\-${currentStableVersion}\-source\-release.zip.sha512|https://downloads.apache.org/curator/${currentStableVersion}/apache-curator-${currentStableVersion}-source-release.zip.sha512]]
+* Keys: [[KEYS|https://downloads.apache.org/curator/KEYS]]
+
+h2. All Releases / History
+
+See [[Curator's Release 
Wiki|https://cwiki.apache.org/confluence/display/CURATOR/Releases]] for a 
detailed historical
+list of releases.
diff --git a/src/site/site.xml b/src/site/site.xml
index 7d9224f..7975c55 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -71,7 +71,7 @@
 
         <menu name="Apache Curator" inherit="top">
             <item name="About" href="index.html"/>
-            <item name="Download" 
href="https://cwiki.apache.org/confluence/display/CURATOR/Releases"/>
+            <item name="Download" href="releases.html"/>
             <item name="Getting Started" href="getting-started.html"/>
             <item name="Examples" href="curator-examples/index.html"/>
             <item name="Recipes" href="curator-recipes/index.html"/>
@@ -97,7 +97,6 @@
             <item name="API Compatibility" href="compatibility.html"/>
             <item name="Javadoc" href="apidocs/index.html"/>
             <item name="Wiki" 
href="https://cwiki.apache.org/confluence/display/CURATOR"/>
-            <item name="Releases/Compatibility" 
href="https://cwiki.apache.org/confluence/display/CURATOR/Releases"/>
             <item name="ZooKeeper 3.4.x" href="zk-compatibility-34.html"/>
             <item name="v5.x Breaking Changes" href="breaking-changes.html"/>
         </menu>

Reply via email to