Skip to content

Commit d7e8297

Browse files
tolbertamabsurdfarce
authored andcommitted
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 Alexandre Dutra and Dmitry Konstantinov for CASSJAVA-76
1 parent 7161d12 commit d7e8297

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

guava-shaded/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
<artifactId>error_prone_annotations</artifactId>
4747
</exclusion>
4848
</exclusions>
49+
<optional>true</optional>
4950
</dependency>
5051
<dependency>
5152
<groupId>org.graalvm.nativeimage</groupId>

0 commit comments

Comments
 (0)