diff --git a/_includes/build.gradle b/_includes/build.gradle
index a289c935..0697b727 100644
--- a/_includes/build.gradle
+++ b/_includes/build.gradle
@@ -8,7 +8,7 @@ apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
- mavenBom '{@= groupId @}:spring-cloud-zookeeper:{@= version @}'
+ mavenBom '{@= groupId @}:spring-cloud-zookeeper:{@= findBom(version) @}'
}
}
diff --git a/_includes/custom.js b/_includes/custom.js
new file mode 100644
index 00000000..1a9eaab1
--- /dev/null
+++ b/_includes/custom.js
@@ -0,0 +1,8 @@
+var defaultBomVersion = "Angel.SR3";
+var boms = {
+ "1.0.0.BUILD-SNAPSHOT": "Brixton.BUILD-SNAPSHOT"
+};
+function findBom(version) {
+ if (boms[version]) return boms[version];
+ return defaultBomVersion;
+}
diff --git a/_includes/pom.xml b/_includes/pom.xml
index c51f8200..b0124c5c 100644
--- a/_includes/pom.xml
+++ b/_includes/pom.xml
@@ -3,7 +3,7 @@
{@= groupId @}
spring-cloud-zookeeper
- {@= version @}
+ {@= findBom(version) @}
pom
import
diff --git a/index.html b/index.html
index 61b98689..0f1bf04d 100644
--- a/index.html
+++ b/index.html
@@ -44,6 +44,7 @@ Spring Cloud Zookeeper features:
## Quick Start
+
{% include download_widget.md %}
As long as Spring Cloud Zookeeper, [Apache Curator](http://curator.apache.org/) and the Zookeeper Java Client are on the