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

Gradle dependency issue in v3.0.2 with Guava and Findbugs #7592

Closed
psimonazzi opened this issue Sep 29, 2023 · 2 comments · Fixed by #7657
Closed

Gradle dependency issue in v3.0.2 with Guava and Findbugs #7592

psimonazzi opened this issue Sep 29, 2023 · 2 comments · Fixed by #7657
Labels
Milestone

Comments

@psimonazzi
Copy link

psimonazzi commented Sep 29, 2023

We encountered an issue in the dependencies of v3.0.2 when building a project with gradle.
With v3.0.1 everything was fine.
The issue is related to the Findbugs dependency of Guava (which is excluded in the Drowizard pom):

Could not find com.google.code.findbugs:jsr305:.
     Required by:
         project : > io.dropwizard:dropwizard-core:3.0.2 > io.dropwizard:dropwizard-jackson:3.0.2 > com.google.guava:guava:32.1.2-jre

Attached you can find a minimal project to reproduce the issue.
It contains just a main class and the only dependency is dropwizard-core v3.0.2.

Build with gradlew build to check the error.
If you change the dropwizard-core version to v3.0.1 the project builds correctly.
Including only the guava dependency without dropwizard does not cause the issue, which is why I'm reporting here.

(Edit: seems to be acknowledged by Guava: google/guava#6654 but a fix is not released yet?)

dropwizard-test.zip

@psimonazzi
Copy link
Author

Fixed in v3.0.3 with Guava 32.1.3

@joschi joschi added this to the 3.0.3 milestone Oct 25, 2023
@joschi joschi added the bug label Oct 25, 2023
@joschi
Copy link
Member

joschi commented Oct 25, 2023

@psimonazzi Thanks for your update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants