Beam vendors a few dependencies (grpc, guava). These vendored dependency jars have package namespace shaded ( -> org/apache/beam/vendor/) so it won't leak classes. However this repackage does not contain protos, as a result, it still leaks proto sources
For example, in org.apache.beam » beam-vendor-grpc-1_60_1 » 0.2:
@zhumin8 created a reproducer with Protobuf Gradle plugin where it gets protoc: stdout: . stderr: sample.proto:6:52: Enum type "google.api.FieldBehavior" has no value named "IDENTIFIER" for option "google.api.field_behavior":
What happened?
Beam vendors a few dependencies (grpc, guava). These vendored dependency jars have package namespace shaded ( -> org/apache/beam/vendor/) so it won't leak classes. However this repackage does not contain protos, as a result, it still leaks proto sources
For example, in org.apache.beam » beam-vendor-grpc-1_60_1 » 0.2:
Protobuf error
@zhumin8 created a reproducer with Protobuf Gradle plugin where it gets
protoc: stdout: . stderr: sample.proto:6:52: Enum type "google.api.FieldBehavior" has no value named "IDENTIFIER" for option "google.api.field_behavior"
:https://github.com/zhumin8/cloud-opensource-java/tree/test/boms/test-gradle
Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components