Browse Source

Upgrade to MongoDB driver 5.0.

Closes: #4663
pull/4666/head
Christoph Strobl 2 years ago
parent
commit
af6da0f67d
No known key found for this signature in database
GPG Key ID: E6054036D0C37A4B
  1. 4
      Jenkinsfile
  2. 6
      pom.xml

4
Jenkinsfile vendored

@ -265,7 +265,7 @@ pipeline {
} }
} }
stage("test: MongoDB 7.0 (driver-next)") { stage("test: MongoDB 7.0 (driver-previous)") {
agent { agent {
label 'data' label 'data'
} }
@ -287,7 +287,7 @@ pipeline {
"DEVELOCITY_CACHE_USERNAME=${DEVELOCITY_CACHE_USR} " + "DEVELOCITY_CACHE_USERNAME=${DEVELOCITY_CACHE_USR} " +
"DEVELOCITY_CACHE_PASSWORD=${DEVELOCITY_CACHE_PSW} " + "DEVELOCITY_CACHE_PASSWORD=${DEVELOCITY_CACHE_PSW} " +
"GRADLE_ENTERPRISE_ACCESS_KEY=${DEVELOCITY_ACCESS_KEY} " + "GRADLE_ENTERPRISE_ACCESS_KEY=${DEVELOCITY_ACCESS_KEY} " +
"./mvnw -s settings.xml -Pmongo-5.0 clean dependency:list test -Dsort -U -B -Dgradle.cache.local.enabled=false -Dgradle.cache.remote.enabled=false" "./mvnw -s settings.xml -Pmongo-4.x clean dependency:list test -Dsort -U -B -Dgradle.cache.local.enabled=false -Dgradle.cache.remote.enabled=false"
} }
} }
} }

6
pom.xml

@ -27,7 +27,7 @@
<project.type>multi</project.type> <project.type>multi</project.type>
<dist.id>spring-data-mongodb</dist.id> <dist.id>spring-data-mongodb</dist.id>
<springdata.commons>3.3.0-SNAPSHOT</springdata.commons> <springdata.commons>3.3.0-SNAPSHOT</springdata.commons>
<mongo>4.11.1</mongo> <mongo>5.0.0</mongo>
<mongo.reactivestreams>${mongo}</mongo.reactivestreams> <mongo.reactivestreams>${mongo}</mongo.reactivestreams>
<jmh.version>1.19</jmh.version> <jmh.version>1.19</jmh.version>
</properties> </properties>
@ -133,9 +133,9 @@
</modules> </modules>
</profile> </profile>
<profile> <profile>
<id>mongo-5.0</id> <id>mongo-4.x</id>
<properties> <properties>
<mongo>5.0.0-beta0</mongo> <mongo>4.11.1</mongo>
</properties> </properties>
</profile> </profile>

Loading…
Cancel
Save