Add bom finder javascript
This commit is contained in:
@@ -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) @}'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
9
_includes/custom.js
Normal file
9
_includes/custom.js
Normal file
@@ -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;
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<dependency>
|
||||
<groupId>{@= groupId @}</groupId>
|
||||
<artifactId>spring-cloud-streams-parent</artifactId>
|
||||
<version>{@= version @}</version>
|
||||
<version>{@= findBom(version) @}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
|
||||
@@ -35,6 +35,7 @@ Spring Cloud Streams allows a user to develop and run messaging microservices us
|
||||
<span id="quick-start"></span>
|
||||
## Quick Start
|
||||
|
||||
<script type="text/javascript">{% include custom.js %}</script>
|
||||
{% include download_widget.md %}
|
||||
|
||||
As long as Spring Cloud Streams and a Spring XD Message Bus is on the
|
||||
|
||||
Reference in New Issue
Block a user