Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
This true positive confused me for a while:
Failed while enforcing RequireUpperBoundDeps. The error(s) are [
Require upper bound dependencies error for com.google.cloud:google-cloud-core:1.94.3 paths to dependency are:
+-com.google.cloud:google-cloud-nio:0.122.11-SNAPSHOT
+-com.google.cloud:google-cloud-core:1.94.3
and
+-com.google.cloud:google-cloud-nio:0.122.11-SNAPSHOT
+-com.google.cloud:google-cloud-core:1.94.4
Notice that com.google.cloud:google-cloud-nio:0.122.11-SNAPSHOT seems to depend on both com.google.cloud:google-cloud-core:1.94.3 and com.google.cloud:google-cloud-core:1.94.4. WTF? That shouldn't happen.
What's going on here is that these are two different artifacts, com.google.cloud:google-cloud-nio:0.122.11-SNAPSHOT:jar and com.google.cloud:google-cloud-nio:0.122.11-SNAPSHOT:jar:testlib
However the classifier isn't printed in the failure message so this is far from obvious.
Attachments
Issue Links
- links to