Support for release trains in sagan

This commit is contained in:
Dave Syer
2015-06-26 10:29:35 +01:00
parent b72bc5c5ab
commit 3bb7de202a
3 changed files with 10 additions and 9 deletions

View File

@@ -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'
}

View File

@@ -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>

View File

@@ -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 %}