From 26c5a3edb22bea6fa5e61bc69f123ad189358c46 Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Fri, 11 Apr 2014 12:53:11 +0200 Subject: [PATCH] Import Spring Data release train BOM instead of individual modules. The dependencies pom.xml now declares an import to the spring-data-releasetrain BOM pom.xml which in turn constraints version numbers for a dedicated release train release. This has the effect of users being able to upgrade to a certain release train by redeclaring the spring-data-releasetrain.version property to e.g. Dijkstra-M1. Individual modules can be upgraded by simply declaring the dependency in the desired version manually in a or block. Removed the explicit declaration for Spring HATEOAS as it is pulled in transitively by Spring Data REST anyway and thus makes sure it's in a compatible version. --- spring-boot-dependencies/pom.xml | 30 ++++--------------- .../spring-boot-starter-data-rest/pom.xml | 4 --- 2 files changed, 5 insertions(+), 29 deletions(-) diff --git a/spring-boot-dependencies/pom.xml b/spring-boot-dependencies/pom.xml index e4b2e8128e..ea9efbd0db 100644 --- a/spring-boot-dependencies/pom.xml +++ b/spring-boot-dependencies/pom.xml @@ -83,10 +83,8 @@ 4.0.3.RELEASE 3.0.2.RELEASE 2.2.6.RELEASE - 1.5.2.RELEASE - 1.4.2.RELEASE 1.1.1.RELEASE - 2.0.2.RELEASE + Codd-SR2 0.9.0.RELEASE 1.0.0.RELEASE 1.2.2.RELEASE @@ -515,23 +513,10 @@ org.springframework.data - spring-data-jpa - ${spring-data-jpa.version} - - - org.springframework - spring-jdbc - - - org.springframework - spring-orm - - - - - org.springframework.data - spring-data-mongodb - ${spring-data-mongodb.version} + spring-data-releasetrain + ${spring-data-releasetrain.version} + pom + import org.springframework.data @@ -548,11 +533,6 @@ spring-plugin-core ${spring-plugin.version} - - org.springframework.data - spring-data-rest-webmvc - ${spring-data-rest.version} - org.springframework.integration spring-integration-core diff --git a/spring-boot-starters/spring-boot-starter-data-rest/pom.xml b/spring-boot-starters/spring-boot-starter-data-rest/pom.xml index 34d7a7a65b..45ff7f1275 100644 --- a/spring-boot-starters/spring-boot-starter-data-rest/pom.xml +++ b/spring-boot-starters/spring-boot-starter-data-rest/pom.xml @@ -23,10 +23,6 @@ spring-boot-starter-web ${project.version} - - org.springframework.hateoas - spring-hateoas - org.springframework.data spring-data-rest-webmvc