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

Transitive Guava dependency in Stackdriver module is causing build failures #4010

Closed
shakuzen opened this issue Aug 7, 2023 · 0 comments
Closed
Labels
bug A general bug registry: stackdriver A StackDriver Registry related issue
Milestone

Comments

@shakuzen
Copy link
Member

shakuzen commented Aug 7, 2023

Following up on #3954, the Boot team reported that the stackdriver module is having the issue in their build, and a simple project building with the stackdriver module as a dependency reproduces the issue. Excluding the listenablefuture transitive dependency from the google-cloud-monitoring dependency (as suggested by @wilkinsona) seems to make the issue go away.

Could not resolve com.google.guava:guava:32.1.1-jre.
     Required by:
         project : > io.micrometer:micrometer-registry-stackdriver:1.12.0-SNAPSHOT > com.google.cloud:google-cloud-monitoring:3.23.0
      > Module 'com.google.guava:guava' has been rejected:
           Cannot select module with conflict on capability 'com.google.guava:listenablefuture:1.0' also provided by [com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava(runtime)]
   > Could not resolve com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava.
@shakuzen shakuzen added bug A general bug registry: stackdriver A StackDriver Registry related issue labels Aug 7, 2023
@shakuzen shakuzen added this to the 1.12.0-M2 milestone Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A general bug registry: stackdriver A StackDriver Registry related issue
Projects
None yet
Development

No branches or pull requests

1 participant