Skip to content

Commit

Permalink
[FLINK-20455][build][legal] Bundle LICENSE/NOTICE in various deployed…
Browse files Browse the repository at this point in the history
… jars
  • Loading branch information
rmetzger authored and zentol committed Dec 7, 2020
1 parent fea6519 commit 8fe1928
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 1 deletion.
4 changes: 4 additions & 0 deletions flink-connectors/flink-connector-kafka/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@ under the License.
<configuration>
<includes>
<include>**/KafkaTestEnvironmentImpl*</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand All @@ -235,6 +237,8 @@ under the License.
<configuration>
<includes>
<include>**/KafkaTestEnvironmentImpl*</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand Down
2 changes: 2 additions & 0 deletions flink-connectors/flink-connector-kinesis/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,8 @@ under the License.
<configuration>
<includes>
<include>**/org/apache/flink/streaming/connectors/kinesis/testutils/**</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand Down
16 changes: 16 additions & 0 deletions flink-examples/flink-examples-batch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ under the License.
<include>**/java/clustering/KMeans$*.class</include>
<include>**/java/clustering/util/KMeansDataGenerator.class</include>
<include>**/java/clustering/util/KMeansData.class</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand All @@ -203,6 +205,8 @@ under the License.
<include>**/java/graph/TransitiveClosureNaive.class</include>
<include>**/java/graph/TransitiveClosureNaive$*.class</include>
<include>**/java/graph/util/ConnectedComponentsData.class</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand All @@ -227,6 +231,8 @@ under the License.
<include>**/java/graph/ConnectedComponents.class</include>
<include>**/java/graph/ConnectedComponents$*.class</include>
<include>**/java/graph/util/ConnectedComponentsData.class</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand All @@ -253,6 +259,8 @@ under the License.
<include>**/java/graph/util/EnumTrianglesDataTypes.class</include>
<include>**/java/graph/util/EnumTrianglesDataTypes$*.class</include>
<include>**/java/graph/util/EnumTrianglesData.class</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand All @@ -277,6 +285,8 @@ under the License.
<include>**/java/graph/PageRank.class</include>
<include>**/java/graph/PageRank$*.class</include>
<include>**/java/graph/util/PageRankData.class</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand All @@ -302,6 +312,8 @@ under the License.
<include>**/java/relational/WebLogAnalysis$*.class</include>
<include>**/java/relational/util/WebLogData.class</include>
<include>**/java/relational/util/WebLogDataGenerator.class</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand All @@ -326,6 +338,8 @@ under the License.
<include>**/java/wordcount/WordCount.class</include>
<include>**/java/wordcount/WordCount$*.class</include>
<include>**/java/wordcount/util/WordCountData.class</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand All @@ -348,6 +362,8 @@ under the License.

<includes>
<include>**/java/distcp/*</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand Down
20 changes: 19 additions & 1 deletion flink-examples/flink-examples-streaming/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ under the License.

<includes>
<include>org/apache/flink/streaming/examples/iteration/*.class</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand All @@ -227,7 +229,9 @@ under the License.
</archive>

<includes>
<include>org/apache/flink/streaming/examples/ml/*.class</include>
<include>org/apache/flink/streaming/examples/ml/*.class</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand All @@ -251,6 +255,8 @@ under the License.
<includes>
<include>org/apache/flink/streaming/examples/join/*.class</include>
<include>org/apache/flink/streaming/examples/utils/ThrottledIterator.class</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand All @@ -273,6 +279,8 @@ under the License.

<includes>
<include>org/apache/flink/streaming/examples/async/*.class</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand All @@ -297,6 +305,8 @@ under the License.
<include>org/apache/flink/streaming/examples/wordcount/PojoExample.class</include>
<include>org/apache/flink/streaming/examples/wordcount/PojoExample$*.class</include>
<include>org/apache/flink/streaming/examples/wordcount/util/WordCountData.class</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand All @@ -321,6 +331,8 @@ under the License.
<include>org/apache/flink/streaming/examples/wordcount/WordCount.class</include>
<include>org/apache/flink/streaming/examples/wordcount/WordCount$*.class</include>
<include>org/apache/flink/streaming/examples/wordcount/util/WordCountData.class</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand All @@ -344,6 +356,8 @@ under the License.
<includes>
<include>org/apache/flink/streaming/examples/socket/SocketWindowWordCount.class</include>
<include>org/apache/flink/streaming/examples/socket/SocketWindowWordCount$*.class</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand All @@ -367,6 +381,8 @@ under the License.
<includes>
<include>org/apache/flink/streaming/examples/windowing/TopSpeedWindowing.class</include>
<include>org/apache/flink/streaming/examples/windowing/TopSpeedWindowing$*.class</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand All @@ -390,6 +406,8 @@ under the License.
<includes>
<include>org/apache/flink/streaming/examples/windowing/SessionWindowing.class</include>
<include>org/apache/flink/streaming/examples/windowing/SessionWindowing$*.class</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand Down
18 changes: 18 additions & 0 deletions flink-examples/flink-examples-table/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ under the License.

<includes>
<include>org/apache/flink/table/examples/java/basics/GettingStartedExample*</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand All @@ -153,6 +155,8 @@ under the License.

<includes>
<include>org/apache/flink/table/examples/java/basics/UpdatingTopCityExample*</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand All @@ -175,6 +179,8 @@ under the License.

<includes>
<include>org/apache/flink/table/examples/java/basics/StreamSQLExample*</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand All @@ -197,6 +203,8 @@ under the License.

<includes>
<include>org/apache/flink/table/examples/java/basics/StreamWindowSQLExample*</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand All @@ -219,6 +227,8 @@ under the License.

<includes>
<include>org/apache/flink/table/examples/java/basics/WordCountSQL*</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand All @@ -241,6 +251,8 @@ under the License.

<includes>
<include>org/apache/flink/table/examples/java/basics/WordCountTable*</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand All @@ -264,6 +276,8 @@ under the License.
<includes>
<include>org/apache/flink/table/examples/java/connectors/*</include>
<include>**/META-INF/services/*</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand All @@ -286,6 +300,8 @@ under the License.

<includes>
<include>org/apache/flink/table/examples/scala/basics/StreamTableExample*</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand All @@ -308,6 +324,8 @@ under the License.

<includes>
<include>org/apache/flink/table/examples/scala/basics/TPCHQuery3Table*</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand Down
2 changes: 2 additions & 0 deletions flink-state-backends/flink-statebackend-rocksdb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ under the License.
<includes>
<include>**/org/apache/flink/contrib/streaming/state/RocksDBTestUtils*</include>
<include>**/org/apache/flink/contrib/streaming/state/benchmark/StateBackendBenchmarkUtils*</include>
<include>META-INF/LICENSE</include>
<include>META-INF/NOTICE</include>
</includes>
</configuration>
</execution>
Expand Down

0 comments on commit 8fe1928

Please sign in to comment.