You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ab...@apache.org on 2025/04/29 16:21:46 UTC
(cassandra-java-driver) branch 4.x updated: Make guava an optional dependency of java-driver-guava-shaded
This is an automated email from the ASF dual-hosted git repository.
absurdfarce pushed a commit to branch 4.x
in repository https://gitbox.apache.org/repos/asf/cassandra-java-driver.git
The following commit(s) were added to refs/heads/4.x by this push:
new 696d19ee6 Make guava an optional dependency of java-driver-guava-shaded
696d19ee6 is described below
commit 696d19ee699d2955f6a608bc11182390f70df216
Author: Andy Tolbert <68...@users.noreply.github.com>
AuthorDate: Thu Feb 6 14:57:52 2025 -0600
Make guava an optional dependency of java-driver-guava-shaded
With CASSJAVA-52, the java-driver-guava-shaded is now in tree.
This appears to work great, but there is a slight issue with the
dependency tree that allows unshaded guava packages to be imported
within the project.
It looks like marking guava as an optional dependency in
java-driver-guava-shaded resolves this.
patch by Andy Tolbert; reviewed by <pending> for CASSJAVA-76
---
guava-shaded/pom.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/guava-shaded/pom.xml b/guava-shaded/pom.xml
index 8053af949..ed37e861a 100644
--- a/guava-shaded/pom.xml
+++ b/guava-shaded/pom.xml
@@ -46,6 +46,7 @@
<artifactId>error_prone_annotations</artifactId>
</exclusion>
</exclusions>
+ <optional>true</optional>
</dependency>
<dependency>
<groupId>org.graalvm.nativeimage</groupId>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org