Remove reference to spring cloud bom for mvn/gradle coordinate generation

This commit is contained in:
Mark Pollack
2015-12-18 09:59:45 -05:00
parent fdab9da7bb
commit 5c8fca1887
4 changed files with 21 additions and 11 deletions

View File

@@ -0,0 +1,19 @@
<div id="download-widget">
<div class="row-fluid download-widget--container">
<div class="download-widget--header js-item-dropdown-widget--wrapper">
<div class="download-widget--title">
Download
</div>
<div data-download-widget-controls style="display: inline-block"></div>
</div>
<div class="download-widget--body">
<p>The recommended way to get started using <code>{{ site.project }}</code> in
your project is with a dependency management system &ndash; the snippet below can
be copied and pasted into your build. Need help? See our getting started guides
on building with <a href="http://spring.io/guides/gs/maven/">Maven</a> and
<a href="http://spring.io/guides/gs/gradle/">Gradle</a>.
</p>
<div class="js-download-maven-widget"></div>
</div>
</div>
</div>

View File

@@ -8,7 +8,7 @@ apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom '{@= groupId @}:spring-cloud-streams-parent:{@= findBom(version) @}'
mavenBom '{@= groupId @}:spring-cloud-streams-parent:{@= version @}'
}
}

View File

@@ -1,9 +0,0 @@
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;
}

View File

@@ -3,7 +3,7 @@
<dependency>
<groupId>{@= groupId @}</groupId>
<artifactId>spring-cloud-stream-parent</artifactId>
<version>{@= findBom(version) @}</version>
<version>{@= version @}</version>
<type>pom</type>
<scope>import</scope>
</dependency>