Remove reference to spring cloud bom for mvn/gradle coordinate generation
This commit is contained in:
19
_includes/#download_widget.md#
Normal file
19
_includes/#download_widget.md#
Normal 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 – 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>
|
||||
@@ -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 @}'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user