mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
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 <dependencies /> or <dependencyManagement /> 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.
This commit is contained in:
parent
d597cc3387
commit
26c5a3edb2
@ -83,10 +83,8 @@
|
||||
<spring.version>4.0.3.RELEASE</spring.version>
|
||||
<spring-integration.version>3.0.2.RELEASE</spring-integration.version>
|
||||
<spring-batch.version>2.2.6.RELEASE</spring-batch.version>
|
||||
<spring-data-jpa.version>1.5.2.RELEASE</spring-data-jpa.version>
|
||||
<spring-data-mongodb.version>1.4.2.RELEASE</spring-data-mongodb.version>
|
||||
<spring-data-redis.version>1.1.1.RELEASE</spring-data-redis.version>
|
||||
<spring-data-rest.version>2.0.2.RELEASE</spring-data-rest.version>
|
||||
<spring-data-releasetrain.version>Codd-SR2</spring-data-releasetrain.version>
|
||||
<spring-hateoas.version>0.9.0.RELEASE</spring-hateoas.version>
|
||||
<spring-plugin.version>1.0.0.RELEASE</spring-plugin.version>
|
||||
<spring-rabbit.version>1.2.2.RELEASE</spring-rabbit.version>
|
||||
@ -515,23 +513,10 @@
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.data</groupId>
|
||||
<artifactId>spring-data-jpa</artifactId>
|
||||
<version>${spring-data-jpa.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-jdbc</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-orm</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.data</groupId>
|
||||
<artifactId>spring-data-mongodb</artifactId>
|
||||
<version>${spring-data-mongodb.version}</version>
|
||||
<artifactId>spring-data-releasetrain</artifactId>
|
||||
<version>${spring-data-releasetrain.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.data</groupId>
|
||||
@ -548,11 +533,6 @@
|
||||
<artifactId>spring-plugin-core</artifactId>
|
||||
<version>${spring-plugin.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.data</groupId>
|
||||
<artifactId>spring-data-rest-webmvc</artifactId>
|
||||
<version>${spring-data-rest.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.integration</groupId>
|
||||
<artifactId>spring-integration-core</artifactId>
|
||||
|
@ -23,10 +23,6 @@
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.hateoas</groupId>
|
||||
<artifactId>spring-hateoas</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.data</groupId>
|
||||
<artifactId>spring-data-rest-webmvc</artifactId>
|
||||
|
Loading…
Reference in New Issue
Block a user