You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by mx...@apache.org on 2015/10/14 16:13:23 UTC

flink git commit: [FLINK-2607][quickstart] ignore signature files when creating fat jar

Repository: flink
Updated Branches:
  refs/heads/release-0.9 cf6f87b5e -> c2fcf4542


[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/c2fcf454
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/c2fcf454
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/c2fcf454

Branch: refs/heads/release-0.9
Commit: c2fcf45429e38cac3c017297eba53b6a85003d6c
Parents: cf6f87b
Author: Maximilian Michels <mx...@apache.org>
Authored: Wed Sep 2 12:21:49 2015 +0200
Committer: Maximilian Michels <mx...@apache.org>
Committed: Wed Oct 14 16:12:37 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/c2fcf454/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 3e26ece..af48bc8 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/c2fcf454/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 6fbb745..0f42a91 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 -->