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

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

commit d2f482937dc297c34eebe0d45f36935b2627f4d3
Author: Zineb Bendhiba <[email protected]>
AuthorDate: Thu May 5 14:49:43 2022 +0200

    Handle version of com.datastax.oss:cassandra-driver-core
---
 integration-tests/cassandraql/pom.xml | 21 +++++++++++++++++++++
 pom.xml                               |  1 +
 2 files changed, 22 insertions(+)

diff --git a/integration-tests/cassandraql/pom.xml 
b/integration-tests/cassandraql/pom.xml
index d176f63c02..935c57a2f9 100644
--- a/integration-tests/cassandraql/pom.xml
+++ b/integration-tests/cassandraql/pom.xml
@@ -30,6 +30,16 @@
     <name>Camel Quarkus :: Integration Tests :: Cassandra CQL</name>
     <description>Integration tests for Camel Quarkus Cassandra CQL 
extension</description>
 
+    <dependencyManagement>
+        <dependencies>
+            <!--  Handle temporary version of cassandra-driver-core see 
https://github.com/apache/camel-quarkus/issues/3773 -->
+            <dependency>
+                <groupId>com.datastax.cassandra</groupId>
+                <artifactId>cassandra-driver-core</artifactId>
+                <version>${cassandra-driver-test.version}</version>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
     <dependencies>
         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
@@ -80,8 +90,19 @@
                     <groupId>com.github.jnr</groupId>
                     <artifactId>jnr-posix</artifactId>
                 </exclusion>
+                <!--  Handle temporary version of cassandra-driver-core see 
https://github.com/apache/camel-quarkus/issues/3773 -->
+                <exclusion>
+                    <groupId>com.datastax.cassandra</groupId>
+                    <artifactId>cassandra-driver-core</artifactId>
+                </exclusion>
             </exclusions>
         </dependency>
+
+        <dependency>
+            <groupId>com.datastax.cassandra</groupId>
+            <artifactId>cassandra-driver-core</artifactId>
+            <scope>test</scope>
+        </dependency>
         <dependency>
             <groupId>io.quarkus</groupId>
             <artifactId>quarkus-junit4-mock</artifactId>
diff --git a/pom.xml b/pom.xml
index 1bfb263761..0a485718e7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -72,6 +72,7 @@
         <azure-sdk-bom.version>1.0.5</azure-sdk-bom.version><!-- Keep in sync 
with camel-azure component versions -->
         <azure-core.version>1.21.0</azure-core.version><!-- @sync 
com.azure:azure-sdk-bom:${azure-sdk-bom.version} dep:com.azure:azure-core -->
         <azure-core-test.version>1.7.3</azure-core-test.version>
+        
<cassandra-driver-test.version>3.7.1</cassandra-driver-test.version><!-- Keep 
in sync with testcontainers instead of Debezium bom -->
         <bouncycastle.version>1.70</bouncycastle.version><!-- @sync 
io.quarkus:quarkus-bom:${quarkus.version} dep:org.bouncycastle:bcprov-jdk15on 
-->
         
<commons-beanutils.version>${commons-beanutils-version}</commons-beanutils.version>
         <commons-cli.version>1.4</commons-cli.version><!-- keep in sync with 
Quarkus, via quarkus-bootstrap-core -->

Reply via email to