Skip to content

Commit eeab992

Browse files
committed
Fix MongoCrypt dependency setup when testing with Driver 4.x.
See #4817
1 parent de210e0 commit eeab992

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pom.xml

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
<dist.id>spring-data-mongodb</dist.id>
2929
<springdata.commons>3.4.0-SNAPSHOT</springdata.commons>
3030
<mongo>5.2.1</mongo>
31+
<mongodb-crypt>${mongo}</mongodb-crypt>
3132
<mongo.reactivestreams>${mongo}</mongo.reactivestreams>
3233
<jmh.version>1.19</jmh.version>
3334
</properties>
@@ -137,6 +138,7 @@
137138
<id>mongo-4.x</id>
138139
<properties>
139140
<mongo>4.11.1</mongo>
141+
<mongodb-crypt>1.8.0</mongodb-crypt>
140142
</properties>
141143
</profile>
142144

spring-data-mongodb/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
<dependency>
116116
<groupId>org.mongodb</groupId>
117117
<artifactId>mongodb-crypt</artifactId>
118-
<version>${mongo}</version>
118+
<version>${mongodb-crypt}</version>
119119
<optional>true</optional>
120120
</dependency>
121121

0 commit comments

Comments
 (0)