You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Tzu-Li (Gordon) Tai (Jira)" <ji...@apache.org> on 2020/03/28 08:45:00 UTC
[jira] [Created] (FLINK-16841) Stateful Function artifacts jars
should not bundle proto sources
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)