Closed
Description
What version of gRPC-Java are you using?
1.46.0
What is your environment?
Linux (gLinux, based on Debian Bookworm)
What did you expect to see?
All Maven artifacts that are build from this repo are overridden when using IO_GRPC_GRPC_JAVA_OVERRIDE_TARGETS
in repositoriez.bzl, such that they are built from source and not pulled from Maven.
What did you see instead?
Some artifacts such as grpc-googleapis and grpc-xds are pulled from Maven instead of being built from grpc-java source.
Steps to reproduce the bug
- Depend on grpc-java as a Bazel repo target.
- Specify any artifact that depends on
io.grpc:grpc-googleapis
inmaven_install
. - Build.
Notes
When depending on grpc-java as a Bazel repo, one is building grpc-java from source. This means that the Bazel project should not pull any Maven artifacts that come from grpc-java, as you could end up with multiple copies/versions of a given library.