summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-08-14 15:55:57 +0200
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-08-14 15:55:57 +0200
commit9c821e2e2745813157cfef3572e9b4adf4d4720c (patch)
tree03ca47a6cce1099679d588795d84f48ec6ec4901
parentc8b9a55e5ff7d49fa30e53a1e5091e6ed436c2ea (diff)
Prevent spring dependency management from overriding cassandra driver version in graphadmin - part 21.14.6
- dependencyManagement for cassandra driver wasn't managing all necessary dependencies Issue-ID: AAI-3965 Change-Id: I29b10b51646088882db4febdc0135dc93c1dd616 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
-rwxr-xr-xpom.xml15
1 files changed, 14 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index f2dbaac..3242e30 100755
--- a/pom.xml
+++ b/pom.xml
@@ -107,7 +107,8 @@
<!-- fix the driver version to match the one defined in janusgraph-cql
spring-boot (2.4) is otherwise downgrading it to 4.9.0 -->
<!-- see https://github.com/JanusGraph/janusgraph/blob/v0.6.0/pom.xml#L120 -->
- <cassandra-driver.version>4.13.0</cassandra-driver.version>
+ <cassandra-driver.version>4.17.0</cassandra-driver.version>
+ <datastax.native-protocol.version>1.5.1</datastax.native-protocol.version>
</properties>
<profiles>
@@ -327,11 +328,23 @@
<artifactId>guava</artifactId>
<version>25.0-jre</version>
</dependency>
+ <!-- cassandra driver -->
<dependency>
<groupId>com.datastax.oss</groupId>
<artifactId>java-driver-core</artifactId>
<version>${cassandra-driver.version}</version>
</dependency>
+ <dependency>
+ <groupId>com.datastax.oss</groupId>
+ <artifactId>java-driver-query-builder</artifactId>
+ <version>${cassandra-driver.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.datastax.oss</groupId>
+ <artifactId>native-protocol</artifactId>
+ <version>${datastax.native-protocol.version}</version>
+ </dependency>
+ <!-- /cassandra driver -->
</dependencies>
</dependencyManagement>
<dependencies>