Fix pom/gradle extracts to have the right artifactId

This commit is contained in:
Dave Syer
2015-06-26 13:30:17 +01:00
parent b2d193c535
commit 484bcbd468
3 changed files with 8 additions and 5 deletions

View File

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

View File

@@ -1,6 +1,6 @@
<parent> <parent>
<groupId>{@= groupId @}</groupId> <groupId>{@= groupId @}</groupId>
<artifactId>{@= artifactId @}</artifactId> <artifactId>spring-cloud-starter-parent</artifactId>
<version>{@= version @}</version> <version>{@= version @}</version>
</parent> </parent>
<dependencies> <dependencies>

View File

@@ -96,9 +96,12 @@ a critical mass, or if there is a critical bug in one of them that needs to be a
the release train will push out "service releases" with names ending ".SRX", where "X" the release train will push out "service releases" with names ending ".SRX", where "X"
is a number. is a number.
To use Spring Cloud in a traditional Java or Groovy project using The release train label is actually only used
Maven or Gradle, you can use the BOM only for dependency management or as a parent POM (Maven explicitly in one artifact: "spring-cloud-starter-parent" (all the
only). Example using the latest version with the config client and eureka (change the others have normal "Spring" release labels tied to their parent
project). The starter parent is the one you can use as a BOM for
dependency management or as a parent POM (Maven only). Example using
the latest version with the config client and eureka (change the
artifact ids to pull in other starters): artifact ids to pull in other starters):
{% include download_widget.md %} {% include download_widget.md %}