Skip to content
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 22.0 introduced new runtime dependencies #2855

Closed
TheIndifferent opened this issue Jun 20, 2017 · 3 comments
Closed

Guava 22.0 introduced new runtime dependencies #2855

TheIndifferent opened this issue Jun 20, 2017 · 3 comments

Comments

@TheIndifferent
Copy link

Annotation libraries do not have optional any more, and are now runtime dependencies. In those libraries there are very few RetentionPolicy.RUNTIME annotations, and even those are not processed by Guava itself.

Please change scope of those dependencies to <scope>provided</scope> to have them at compile time but not to drag them into runtime.

@JakeWharton
Copy link

Dupe of #2824

@TheIndifferent
Copy link
Author

Ok, in that case following line is not true any more: https://github.com/google/guava/blob/master/guava/pom.xml#L18

@cpovirk
Copy link
Member

cpovirk commented Jun 20, 2017

Thanks. I'll remove that line.

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

No branches or pull requests

3 participants