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

Open
wants to merge 1 commit into
base: 4.x
Choose a base branch
from

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)

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.

3 participants