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

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new bc201888dd0 camel-couchdb: use an older gson version that is 
compatible with cloudant library for couchdb
bc201888dd0 is described below

commit bc201888dd09070330a5c33dc26f4d1ec09e3a69
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Sat Apr 19 09:12:44 2025 +0200

    camel-couchdb: use an older gson version that is compatible with cloudant 
library for couchdb
---
 components/camel-couchdb/pom.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/components/camel-couchdb/pom.xml b/components/camel-couchdb/pom.xml
index 435d83444f3..fc525f0d1c4 100644
--- a/components/camel-couchdb/pom.xml
+++ b/components/camel-couchdb/pom.xml
@@ -45,10 +45,22 @@
             <groupId>org.apache.camel</groupId>
             <artifactId>camel-core-processor</artifactId>
         </dependency>
+        <!-- cloudant requires an older gson version -->
+        <dependency>
+            <groupId>com.google.code.gson</groupId>
+            <artifactId>gson</artifactId>
+            <version>2.12.1</version>
+        </dependency>
         <dependency>
             <groupId>com.ibm.cloud</groupId>
             <artifactId>cloudant</artifactId>
             <version>${cloudant-version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>com.google.code.gson</groupId>
+                    <artifactId>*</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <groupId>org.apache.camel</groupId>

Reply via email to