Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-16841

Stateful Function artifacts jars should not bundle proto sources

    XMLWordPrintableJSON

    Details

      Description

      These protobuf definition files are being bundled in built artifacts:

      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
      

      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.

        Attachments

          Activity

            People

            • Assignee:
              tzulitai Tzu-Li (Gordon) Tai
              Reporter:
              tzulitai Tzu-Li (Gordon) Tai
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: