From e4dc9d01223386209aeb1b62023e42eba0ba8bc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Mathieu?= Date: Mon, 3 Jul 2023 14:36:10 +0200 Subject: [PATCH] Upgrade MongoDB client to 4.10 --- bom/application/pom.xml | 2 +- .../io/quarkus/mongodb/deployment/MongoClientProcessor.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bom/application/pom.xml b/bom/application/pom.xml index 74587f9b939d2..e2d8abb95d336 100644 --- a/bom/application/pom.xml +++ b/bom/application/pom.xml @@ -173,7 +173,7 @@ 4.20.0 2.0 6.0.0 - 4.9.1 + 4.10.1 1.8.0 0.34.1 3.25.3 diff --git a/extensions/mongodb-client/deployment/src/main/java/io/quarkus/mongodb/deployment/MongoClientProcessor.java b/extensions/mongodb-client/deployment/src/main/java/io/quarkus/mongodb/deployment/MongoClientProcessor.java index 3730e745d8134..603df0007a483 100644 --- a/extensions/mongodb-client/deployment/src/main/java/io/quarkus/mongodb/deployment/MongoClientProcessor.java +++ b/extensions/mongodb-client/deployment/src/main/java/io/quarkus/mongodb/deployment/MongoClientProcessor.java @@ -431,5 +431,6 @@ void registerServiceBinding(Capabilities capabilities, BuildProducer runtimeInitializedClasses) { runtimeInitializedClasses.produce(new RuntimeInitializedClassBuildItem(ObjectId.class.getName())); + runtimeInitializedClasses.produce(new RuntimeInitializedClassBuildItem("com.mongodb.internal.dns.DefaultDnsResolver")); } }