From 3bb7de202a41d42d992b10ac4eebd4fd96d9f2a5 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Fri, 26 Jun 2015 10:29:35 +0100 Subject: [PATCH] Support for release trains in sagan --- _includes/build.gradle | 6 +++--- _includes/pom.xml | 10 +++++----- index.html | 3 ++- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/_includes/build.gradle b/_includes/build.gradle index ba6e9ad..9e0e1b6 100644 --- a/_includes/build.gradle +++ b/_includes/build.gradle @@ -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' } \ No newline at end of file diff --git a/_includes/pom.xml b/_includes/pom.xml index f69e337..2d00771 100644 --- a/_includes/pom.xml +++ b/_includes/pom.xml @@ -1,15 +1,15 @@ - org.springframework.cloud - spring-cloud-starter-parent - Angel.SR3 + {@= groupId @} + {@= artifactId @} + {@= version @} - org.springframework.cloud + {@= groupId @} spring-cloud-starter-config - org.springframework.cloud + {@= groupId @} spring-cloud-starter-eureka diff --git a/index.html b/index.html index 3e22e72..611b622 100644 --- a/index.html +++ b/index.html @@ -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 %}