Use bom to manage versions of samples' Spring Data dependencies

See gh-777
This commit is contained in:
Andy Wilkinson
2022-01-13 18:01:49 +00:00
parent 62f3131526
commit 6892c962d2
2 changed files with 10 additions and 4 deletions

View File

@@ -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>