Support for release trains in sagan
This commit is contained in:
@@ -8,11 +8,11 @@ apply plugin: "io.spring.dependency-management"
|
||||
|
||||
dependencyManagement {
|
||||
imports {
|
||||
mavenBom 'org.springframework.cloud:spring-cloud-starter-parent:Angel.SR3'
|
||||
mavenBom '{@= groupId @}:{@= artifactId @}:{@= version @}'
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile 'org.springframework.cloud:spring-cloud-starter-config'
|
||||
compile 'org.springframework.cloud:spring-cloud-starter-eureka'
|
||||
compile '{@= groupId @}:spring-cloud-starter-config'
|
||||
compile '{@= groupId @}:spring-cloud-starter-eureka'
|
||||
}
|
||||
@@ -1,15 +1,15 @@
|
||||
<dependencies>
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-parent</artifactId>
|
||||
<version>Angel.SR3</version>
|
||||
<groupId>{@= groupId @}</groupId>
|
||||
<artifactId>{@= artifactId @}</artifactId>
|
||||
<version>{@= version @}</version>
|
||||
</parent>
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<groupId>{@= groupId @}</groupId>
|
||||
<artifactId>spring-cloud-starter-config</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<groupId>{@= groupId @}</groupId>
|
||||
<artifactId>spring-cloud-starter-eureka</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -98,7 +98,8 @@ is a number.
|
||||
|
||||
To use Spring Cloud in a traditional Java or Groovy project using
|
||||
Maven or Gradle, you can use the BOM only for dependency management or as a parent POM (Maven
|
||||
only). Example using the latest version:
|
||||
only). Example using the latest version with the config client and eureka (change the
|
||||
artifact ids to pull in other starters):
|
||||
|
||||
{% include download_widget.md %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user