Skip to content

Make guava an optional dependency of java-driver-guava-shaded #2012

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 29, 2025

Conversation

tolbertam
Copy link
Contributor

@tolbertam tolbertam commented Feb 6, 2025

With CASSJAVA-52, the java-driver-guava-shaded module 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 for CASSJAVA-76

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
@netudima
Copy link

netudima commented Feb 6, 2025

LGTM (nb)

@absurdfarce
Copy link
Contributor

Apologies, gents, I missed this one. I'll merge this one now and fix up the commit msg after the fact.

@absurdfarce absurdfarce merged commit 696d19e into apache:4.x Apr 29, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants