Skip to content

Commit ef53ae7

Browse files
committed
Use Spring Data MongoDB for MongoDB driver version management.
Closes #2476
1 parent 7133910 commit ef53ae7

File tree

1 file changed

+13
-1
lines changed
  • spring-data-rest-tests/spring-data-rest-tests-mongodb

1 file changed

+13
-1
lines changed

spring-data-rest-tests/spring-data-rest-tests-mongodb/pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,18 @@
1616
<java-module-name>spring.data.rest.tests.mongodb</java-module-name>
1717
</properties>
1818

19+
<dependencyManagement>
20+
<dependencies>
21+
<dependency>
22+
<groupId>org.springframework.data</groupId>
23+
<artifactId>spring-data-mongodb-parent</artifactId>
24+
<version>${springdata.mongodb}</version>
25+
<type>pom</type>
26+
<scope>import</scope>
27+
</dependency>
28+
</dependencies>
29+
</dependencyManagement>
30+
1931
<dependencies>
2032

2133
<dependency>
@@ -33,10 +45,10 @@
3345
<version>${springdata.mongodb}</version>
3446
</dependency>
3547

48+
<!-- dependency-managed via spring-data-mongodb import -->
3649
<dependency>
3750
<groupId>org.mongodb</groupId>
3851
<artifactId>mongodb-driver-sync</artifactId>
39-
<version>5.3.1</version>
4052
</dependency>
4153

4254
<dependency>

0 commit comments

Comments
 (0)