Fix MongoCrypt dependency setup when testing with Driver 4.x.

See #4817
This commit is contained in:
Mark Paluch
2024-11-11 14:49:32 +01:00
parent de210e0515
commit eeab99266f
2 changed files with 3 additions and 1 deletions

View File

@@ -28,6 +28,7 @@
<dist.id>spring-data-mongodb</dist.id>
<springdata.commons>3.4.0-SNAPSHOT</springdata.commons>
<mongo>5.2.1</mongo>
<mongodb-crypt>${mongo}</mongodb-crypt>
<mongo.reactivestreams>${mongo}</mongo.reactivestreams>
<jmh.version>1.19</jmh.version>
</properties>
@@ -137,6 +138,7 @@
<id>mongo-4.x</id>
<properties>
<mongo>4.11.1</mongo>
<mongodb-crypt>1.8.0</mongodb-crypt>
</properties>
</profile>

View File

@@ -115,7 +115,7 @@
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongodb-crypt</artifactId>
<version>${mongo}</version>
<version>${mongodb-crypt}</version>
<optional>true</optional>
</dependency>