-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
Guava's Maven dependencies are suddenly extensive #2932
Comments
What a pity that maven doesn't have a mechanism for saying "this dependency is needed at compile time, but not at runtime" |
it does...you can use https://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html consumers who need the dep at runtime still need to declare it. |
mmm - should have read those related issues first as well. still seems incorrect to add those deps and then require ppl to explicitly exclude them but this isn't the place to continue that conversation. |
Animal Sniffer and Error Prone would seem to be compile-time dependencies. JSR305 isn't needed at runtime either, particularly from Find Bugs. Previously, guava had no additional runtime dependencies, which is one of the things that made it attractive.
The text was updated successfully, but these errors were encountered: