Use bom to manage versions of samples' Spring Data dependencies
See gh-777
This commit is contained in:
@@ -23,13 +23,14 @@ ext['spring-restdocs.version'] = '3.0.0-SNAPSHOT'
|
||||
|
||||
dependencies {
|
||||
implementation platform("org.springframework:spring-framework-bom:6.0.0-M2")
|
||||
implementation platform("org.springframework.data:spring-data-bom:2022.0.0-SNAPSHOT")
|
||||
implementation "com.fasterxml.jackson.core:jackson-databind:2.13.1"
|
||||
implementation "jakarta.servlet:jakarta.servlet-api:5.0.0"
|
||||
implementation "org.hibernate.validator:hibernate-validator:7.0.0.Final"
|
||||
implementation "org.hibernate:hibernate-core-jakarta:5.5.7.Final"
|
||||
implementation "org.springframework:spring-webmvc"
|
||||
implementation "org.springframework.data:spring-data-jpa:3.0.0-SNAPSHOT"
|
||||
implementation "org.springframework.data:spring-data-rest-webmvc:4.0.0-SNAPSHOT"
|
||||
implementation "org.springframework.data:spring-data-jpa"
|
||||
implementation "org.springframework.data:spring-data-rest-webmvc"
|
||||
|
||||
runtimeOnly 'com.h2database:h2:2.0.206'
|
||||
runtimeOnly 'org.atteo:evo-inflector:1.2.1'
|
||||
|
||||
@@ -24,6 +24,13 @@
|
||||
<scope>import</scope>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.data</groupId>
|
||||
<artifactId>spring-data-bom</artifactId>
|
||||
<version>2022.0.0-SNAPSHOT</version>
|
||||
<scope>import</scope>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
@@ -55,12 +62,10 @@
|
||||
<dependency>
|
||||
<groupId>org.springframework.data</groupId>
|
||||
<artifactId>spring-data-jpa</artifactId>
|
||||
<version>3.0.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.data</groupId>
|
||||
<artifactId>spring-data-rest-webmvc</artifactId>
|
||||
<version>4.0.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
||||
Reference in New Issue
Block a user