google-cloud-java icon indicating copy to clipboard operation
google-cloud-java copied to clipboard

Remove exclusion of `com.google.guava:failureaccess` after the storage and pubsub proto libraries are updated

Open diegomarquezp opened this issue 11 months ago • 0 comments

Error:  Require upper bound dependencies error for com.google.guava:failureaccess:1.0.1 paths to dependency are:
Error:  +-com.google.cloud:google-cloud-notification:0.156.0-beta-SNAPSHOT
Error:    +-com.google.cloud:google-cloud-storage:2.34.0
Error:      +-com.google.guava:failureaccess:1.0.1
Error:  and
Error:  +-com.google.cloud:google-cloud-notification:0.156.0-beta-SNAPSHOT
Error:    +-com.google.api.grpc:proto-google-cloud-pubsub-v1:1.109.2
Error:      +-com.google.guava:failureaccess:1.0.1
Error:  and
Error:  +-com.google.cloud:google-cloud-notification:0.156.0-beta-SNAPSHOT
Error:    +-com.google.guava:guava:33.1.0-jre
Error:      +-com.google.guava:failureaccess:1.0.2
Error:  ]

I added a temporary exclusion in guava https://github.com/googleapis/google-cloud-java/blob/b885b13b65b0a7f83128e43432cb962c792ac182/java-notification/pom.xml#L53-L62

We need to remove it once storage and pubsub get updated to the latest guava

cc: @blakeli0

Originally posted by @diegomarquezp in https://github.com/googleapis/google-cloud-java/issues/10552#issuecomment-2007529234

diegomarquezp avatar Mar 19 '24 18:03 diegomarquezp