Skip to content

Artifacts such as grpc-googleapis, grpc-xds missing from IO_GRPC_GRPC_JAVA_OVERRIDE_TARGETS #9162

Closed
@SanjayVas

Description

@SanjayVas

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

  1. Depend on grpc-java as a Bazel repo target.
  2. Specify any artifact that depends on io.grpc:grpc-googleapis in maven_install.
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions