This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch 3.2.x
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/3.2.x by this push:
     new 0b29c0cc18 Mongodb: native build fails because of 
CredentialsProviderFinder
0b29c0cc18 is described below

commit 0b29c0cc18dd3d3f7a4457ed17051d17328dbe35
Author: JiriOndrusek <[email protected]>
AuthorDate: Fri Sep 22 12:46:22 2023 +0200

    Mongodb: native build fails because of CredentialsProviderFinder
---
 extensions-support/mongodb/runtime/pom.xml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/extensions-support/mongodb/runtime/pom.xml 
b/extensions-support/mongodb/runtime/pom.xml
index ca718010aa..cb557c63a0 100644
--- a/extensions-support/mongodb/runtime/pom.xml
+++ b/extensions-support/mongodb/runtime/pom.xml
@@ -45,6 +45,14 @@
             <groupId>io.quarkus</groupId>
             <artifactId>quarkus-mongodb-client</artifactId>
         </dependency>
+        <!--
+       We need this dependency to make mongodb compile in native (contains 
CredentialsProviderFinder).
+       Quarkus side is solved by optional dependency 'quarkus-smallrye-health'
+       -->
+        <dependency>
+            <groupId>io.quarkus</groupId>
+            <artifactId>quarkus-credentials</artifactId>
+        </dependency>
     </dependencies>
 
     <build>

Reply via email to