Tzu-Li (Gordon) Tai created FLINK-16841:
-------------------------------------------
Summary: Stateful Function artifacts jars should not bundle proto sources
Key: FLINK-16841
URL:
https://issues.apache.org/jira/browse/FLINK-16841 Project: Flink
Issue Type: Bug
Components: Build System, Stateful Functions
Affects Versions: statefun-2.0
Reporter: Tzu-Li (Gordon) Tai
Assignee: Tzu-Li (Gordon) Tai
Fix For: statefun-2.0
These protobuf definition files are being bundled in built artifacts:
{code}
google/protobuf/any.proto
google/protobuf/api.proto
google/protobuf/descriptor.proto
google/protobuf/duration.proto
google/protobuf/empty.proto
google/protobuf/field_mask.proto
google/protobuf/source_context.proto
google/protobuf/struct.proto
google/protobuf/timestamp.proto
google/protobuf/type.proto
google/protobuf/wrappers.proto
{code}
This is caused by the {{addProtoSources}} configuration of the {{protoc-jar-maven-plugin}}.
We should remove those, because:
- Bundling those will require licensing acknowledgement to Protobuf in our artifacts.
- Those definition files are not used directly by Stateful Functions at all.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)