This repository was archived by the owner on Sep 19, 2023. It is now read-only.

Description
Example googleapis/java-spanner#1553
Failed to execute goal on project spanner-snapshot: Could not resolve dependencies for project com.google.cloud:spanner-snapshot:jar:1.0.23:
Failed to collect dependencies for com.google.cloud:spanner-snapshot:jar:1.0.23:
...
com.google.cloud:google-cloud-spanner:jar:6.15.3-SNAPSHOT -> com.google.api:gax-grpc:jar:2.7.0 -> io.grpc:grpc-xds:jar:1.41.0 -> io.grpc:grpc-netty-shaded:jar:[1.41.0,1.41.0],
com.google.cloud:google-cloud-spanner:jar:6.15.3-SNAPSHOT -> io.grpc:grpc-alts:jar:1.42.1 -> io.grpc:grpc-netty-shaded:jar:[1.42.1,1.42.1],
A canary project that declares both com.google.api:gax-grpc and io.grpc:grpc-alts using the version of this shared dependencies BOM should be able to build.
Tricky part is that if the canary project imports the shared dependencies BOM, then Maven controls the transitive dependency and thus it just succeeds. Maybe a multi-module project would be the solution.