flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject flink git commit: [FLINK-2607][quickstart] ignore signature files when creating fat jar
Date Wed, 02 Sep 2015 16:25:52 GMT
Repository: flink
Updated Branches:
  refs/heads/master d09f0027b -> 53752163f


[FLINK-2607][quickstart] ignore signature files when creating fat jar

This closes #1085.


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/53752163
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/53752163
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/53752163

Branch: refs/heads/master
Commit: 53752163f39e3a91bee78e66d69ab05eda5a08bb
Parents: d09f002
Author: Maximilian Michels <mxm@apache.org>
Authored: Wed Sep 2 12:21:49 2015 +0200
Committer: Maximilian Michels <mxm@apache.org>
Committed: Wed Sep 2 18:25:07 2015 +0200

----------------------------------------------------------------------
 .../src/main/resources/archetype-resources/pom.xml        | 10 ++++++++++
 .../src/main/resources/archetype-resources/pom.xml        | 10 ++++++++++
 2 files changed, 20 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/53752163/flink-quickstart/flink-quickstart-java/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/flink-quickstart/flink-quickstart-java/src/main/resources/archetype-resources/pom.xml
b/flink-quickstart/flink-quickstart-java/src/main/resources/archetype-resources/pom.xml
index fe915df..49bfb76 100644
--- a/flink-quickstart/flink-quickstart-java/src/main/resources/archetype-resources/pom.xml
+++ b/flink-quickstart/flink-quickstart-java/src/main/resources/archetype-resources/pom.xml
@@ -199,6 +199,16 @@ under the License.
 										<exclude>web-docs/**</exclude>
 									</excludes>
 								</filter>
+								<filter>
+									<!-- Do not copy the signatures in the META-INF folder.
+									Otherwise, this might cause SecurityExceptions when using the JAR. -->
+									<artifact>*:*</artifact>
+									<excludes>
+										<exclude>META-INF/*.SF</exclude>
+										<exclude>META-INF/*.DSA</exclude>
+										<exclude>META-INF/*.RSA</exclude>
+									</excludes>
+								</filter>
 							</filters>
 							<transformers>
 								<!-- add Main-Class to manifest file -->

http://git-wip-us.apache.org/repos/asf/flink/blob/53752163/flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/pom.xml
b/flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/pom.xml
index cca652e..f01d82d 100644
--- a/flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/pom.xml
+++ b/flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/pom.xml
@@ -204,6 +204,16 @@ under the License.
 										<exclude>web-docs/**</exclude>
 									</excludes>
 								</filter>
+								<filter>
+									<!-- Do not copy the signatures in the META-INF folder.
+									Otherwise, this might cause SecurityExceptions when using the JAR. -->
+									<artifact>*:*</artifact>
+									<excludes>
+										<exclude>META-INF/*.SF</exclude>
+										<exclude>META-INF/*.DSA</exclude>
+										<exclude>META-INF/*.RSA</exclude>
+									</excludes>
+								</filter>
 							</filters>
 							<transformers>
 								<!-- add Main-Class to manifest file -->


Mime
View raw message