diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-08-14 09:39:34 +0200 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-08-14 09:39:34 +0200 |
commit | 49acf38a32a56065ad084d1d925718072b9740e4 (patch) | |
tree | 75736baad2c4f9c5841fc69ffe554aa5c7bec425 /pom.xml | |
parent | aff5bb2704d2188aa7c5d251c51435add093687e (diff) |
Prevent spring dependency management from overriding cassandra driver version in graphadmin
- define dependencyManagement for the cassandra driver [0]
[0] spring-boot has autoconfiguration and dependency management for cassandra.
This management is overriding the newer driver version that is used by janusgraph-cql.
Issue-ID: AAI-3963
Change-Id: I9df5e5c91cf7dd5fd330152699121ca164a53da5
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'pom.xml')
-rwxr-xr-x | pom.xml | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -103,6 +103,11 @@ <jcommander.version>1.78</jcommander.version> <gremlin.version>3.5.8</gremlin.version> <janusgraph.version>0.6.4</janusgraph.version> + + <!-- 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> </properties> <profiles> @@ -322,6 +327,11 @@ <artifactId>guava</artifactId> <version>25.0-jre</version> </dependency> + <dependency> + <groupId>com.datastax.oss</groupId> + <artifactId>java-driver-core</artifactId> + <version>${cassandra-driver.version}</version> + </dependency> </dependencies> </dependencyManagement> <dependencies> |