diff --git a/_includes/build.gradle b/_includes/build.gradle index 549c268b3..ecf92b490 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-streams-parent:{@= version @}' + mavenBom '{@= groupId @}:spring-cloud-streams-parent:{@= findBom(version) @}' } } diff --git a/_includes/custom.js b/_includes/custom.js new file mode 100644 index 000000000..0e6cd073b --- /dev/null +++ b/_includes/custom.js @@ -0,0 +1,9 @@ +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 b39ffb8c8..ecef74847 100644 --- a/_includes/pom.xml +++ b/_includes/pom.xml @@ -3,7 +3,7 @@ {@= groupId @} spring-cloud-streams-parent - {@= version @} + {@= findBom(version) @} pom import diff --git a/index.html b/index.html index 3ff2add7a..a502e3892 100644 --- a/index.html +++ b/index.html @@ -35,6 +35,7 @@ Spring Cloud Streams allows a user to develop and run messaging microservices us ## Quick Start + {% include download_widget.md %} As long as Spring Cloud Streams and a Spring XD Message Bus is on the