You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2017/12/06 10:29:47 UTC
flink git commit: [FLINK-8193][quickstart] Cleanup quickstart poms
Repository: flink
Updated Branches:
refs/heads/master 4f32a796f -> 19b1b8329
[FLINK-8193][quickstart] Cleanup quickstart poms
This closes #5118.
Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/19b1b832
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/19b1b832
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/19b1b832
Branch: refs/heads/master
Commit: 19b1b83292f74cc49f518f18dd94d81768b6ba1a
Parents: 4f32a79
Author: zentol <ch...@apache.org>
Authored: Mon Dec 4 13:38:17 2017 +0100
Committer: zentol <ch...@apache.org>
Committed: Wed Dec 6 11:29:43 2017 +0100
----------------------------------------------------------------------
.../main/resources/archetype-resources/pom.xml | 188 +++++------------
.../main/resources/archetype-resources/pom.xml | 206 ++++++-------------
2 files changed, 112 insertions(+), 282 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flink/blob/19b1b832/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 0299d0c..b5f9f1b 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
@@ -59,38 +59,37 @@ under the License.
a) Adding new dependencies:
You can add dependencies to the list below.
- Please check if the maven-shade-plugin below is filtering out your dependency
- and remove the exclude from there.
b) Build a jar for running on the cluster:
- There are two options for creating a jar from this project
- b.1) "mvn clean package" -> this will create a fat jar which contains all
- dependencies necessary for running the jar created by this pom in a cluster.
- The "maven-shade-plugin" excludes everything that is provided on a running Flink cluster.
-
- b.2) "mvn clean package -Pbuild-jar" -> This will also create a fat-jar, but with much
- nicer dependency exclusion handling. This approach is preferred and leads to
- much cleaner jar files.
+ "mvn clean package -Pbuild-jar"
+ This will create a fat-jar which contains all dependencies necessary for running the created jar in a cluster.
-->
<dependencies>
<!-- Apache Flink dependencies -->
<dependency>
<groupId>org.apache.flink</groupId>
- <artifactId>flink-java</artifactId>
+ <artifactId>flink-core</artifactId>
<version>${flink.version}</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
- <artifactId>flink-streaming-java_${scala.binary.version}</artifactId>
+ <artifactId>flink-java</artifactId>
<version>${flink.version}</version>
</dependency>
<dependency>
+ <!-- This dependency is required to actually execute jobs. It is currently pulled in by
+ flink-streaming-java, but we explicitly depend on it to safeguard against future changes. -->
<groupId>org.apache.flink</groupId>
<artifactId>flink-clients_${scala.binary.version}</artifactId>
<version>${flink.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.flink</groupId>
+ <artifactId>flink-streaming-java_${scala.binary.version}</artifactId>
+ <version>${flink.version}</version>
+ </dependency>
<!-- explicitly add a standard logging framework, as Flink does not have
a hard dependency on one specific framework by default -->
@@ -118,13 +117,13 @@ under the License.
<dependencies>
<dependency>
<groupId>org.apache.flink</groupId>
- <artifactId>flink-java</artifactId>
+ <artifactId>flink-core</artifactId>
<version>${flink.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
- <artifactId>flink-streaming-java_${scala.binary.version}</artifactId>
+ <artifactId>flink-java</artifactId>
<version>${flink.version}</version>
<scope>provided</scope>
</dependency>
@@ -135,6 +134,12 @@ under the License.
<scope>provided</scope>
</dependency>
<dependency>
+ <groupId>org.apache.flink</groupId>
+ <artifactId>flink-streaming-java_${scala.binary.version}</artifactId>
+ <version>${flink.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j.version}</version>
@@ -150,12 +155,15 @@ under the License.
<build>
<plugins>
- <!-- disable the exclusion rules -->
+ <!-- We use the maven-shade plugin to create a fat jar that contains all dependencies
+ except flink and its transitive dependencies. The resulting fat-jar can be executed
+ on a cluster. Change the value of Program-Class if your program entry point changes. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.0.0</version>
<executions>
+ <!-- Run shade goal on package phase -->
<execution>
<phase>package</phase>
<goals>
@@ -163,8 +171,33 @@ under the License.
</goals>
<configuration>
<artifactSet>
- <excludes combine.self="override"></excludes>
+ <excludes>
+ <exclude>org.apache.flink:force-shading</exclude>
+ <exclude>com.google.code.findbgs:jsr305</exclude>
+ <exclude>org.slf4j:slf4j-api</exclude>
+ </excludes>
</artifactSet>
+ <filters>
+ <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>
+ <!-- If you want to use ./bin/flink run <quickstart jar> uncomment the following lines.
+ This will add a Main-Class entry to the manifest file -->
+ <!--
+ <transformers>
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
+ <mainClass>${package}.StreamingJob</mainClass>
+ </transformer>
+ </transformers>
+ -->
</configuration>
</execution>
</executions>
@@ -176,129 +209,6 @@ under the License.
<build>
<plugins>
- <!-- We use the maven-shade plugin to create a fat jar that contains all dependencies
- except flink and its transitive dependencies. The resulting fat-jar can be executed
- on a cluster. Change the value of Program-Class if your program entry point changes. -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>3.0.0</version>
- <executions>
- <!-- Run shade goal on package phase -->
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- <configuration>
- <artifactSet>
- <excludes>
- <!-- This list contains all dependencies of flink-dist
- Everything else will be packaged into the fat-jar
- -->
- <exclude>org.apache.flink:flink-annotations</exclude>
- <exclude>org.apache.flink:flink-shaded-hadoop2</exclude>
- <exclude>org.apache.flink:flink-shaded-curator</exclude>
- <exclude>org.apache.flink:flink-core</exclude>
- <exclude>org.apache.flink:flink-java</exclude>
- <exclude>org.apache.flink:flink-scala_${scala.binary.version}</exclude>
- <exclude>org.apache.flink:flink-runtime_${scala.binary.version}</exclude>
- <exclude>org.apache.flink:flink-optimizer_${scala.binary.version}</exclude>
- <exclude>org.apache.flink:flink-clients_${scala.binary.version}</exclude>
- <exclude>org.apache.flink:flink-avro</exclude>
- <exclude>org.apache.flink:flink-examples-batch_${scala.binary.version}</exclude>
- <exclude>org.apache.flink:flink-examples-streaming_${scala.binary.version}</exclude>
- <exclude>org.apache.flink:flink-streaming-java_${scala.binary.version}</exclude>
- <exclude>org.apache.flink:flink-streaming-scala_${scala.binary.version}</exclude>
- <exclude>org.apache.flink:flink-scala-shell_${scala.binary.version}</exclude>
- <exclude>org.apache.flink:flink-python</exclude>
- <exclude>org.apache.flink:flink-metrics-core</exclude>
- <exclude>org.apache.flink:flink-metrics-jmx</exclude>
- <exclude>org.apache.flink:flink-statebackend-rocksdb_${scala.binary.version}</exclude>
- <exclude>org.apache.flink:flink-shaded-jackson</exclude>
-
- <!-- Also exclude very big transitive dependencies of Flink
-
- WARNING: You have to remove these excludes if your code relies on other
- versions of these dependencies.
-
- -->
-
- <exclude>log4j:log4j</exclude>
- <exclude>org.scala-lang:scala-library</exclude>
- <exclude>org.scala-lang:scala-compiler</exclude>
- <exclude>org.scala-lang:scala-reflect</exclude>
- <exclude>com.typesafe.akka:akka-actor_*</exclude>
- <exclude>com.typesafe.akka:akka-remote_*</exclude>
- <exclude>com.typesafe.akka:akka-slf4j_*</exclude>
- <exclude>io.netty:netty-all</exclude>
- <exclude>io.netty:netty</exclude>
- <exclude>commons-fileupload:commons-fileupload</exclude>
- <exclude>org.apache.avro:avro</exclude>
- <exclude>commons-collections:commons-collections</exclude>
- <exclude>org.codehaus.jackson:jackson-core-asl</exclude>
- <exclude>org.codehaus.jackson:jackson-mapper-asl</exclude>
- <exclude>com.thoughtworks.paranamer:paranamer</exclude>
- <exclude>org.xerial.snappy:snappy-java</exclude>
- <exclude>org.apache.commons:commons-compress</exclude>
- <exclude>org.tukaani:xz</exclude>
- <exclude>com.esotericsoftware.kryo:kryo</exclude>
- <exclude>com.esotericsoftware.minlog:minlog</exclude>
- <exclude>org.objenesis:objenesis</exclude>
- <exclude>com.twitter:chill_*</exclude>
- <exclude>com.twitter:chill-java</exclude>
- <exclude>commons-lang:commons-lang</exclude>
- <exclude>junit:junit</exclude>
- <exclude>org.apache.commons:commons-lang3</exclude>
- <exclude>org.slf4j:slf4j-api</exclude>
- <exclude>org.slf4j:slf4j-log4j12</exclude>
- <exclude>log4j:log4j</exclude>
- <exclude>org.apache.commons:commons-math</exclude>
- <exclude>org.apache.sling:org.apache.sling.commons.json</exclude>
- <exclude>commons-logging:commons-logging</exclude>
- <exclude>commons-codec:commons-codec</exclude>
- <exclude>stax:stax-api</exclude>
- <exclude>com.typesafe:config</exclude>
- <exclude>org.uncommons.maths:uncommons-maths</exclude>
- <exclude>com.github.scopt:scopt_*</exclude>
- <exclude>commons-io:commons-io</exclude>
- <exclude>commons-cli:commons-cli</exclude>
- </excludes>
- </artifactSet>
- <filters>
- <filter>
- <artifact>org.apache.flink:*</artifact>
- <excludes>
- <!-- exclude shaded google but include shaded curator -->
- <exclude>org/apache/flink/shaded/com/**</exclude>
- <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>
- <!-- If you want to use ./bin/flink run <quickstart jar> uncomment the following lines.
- This will add a Main-Class entry to the manifest file -->
- <!--
- <transformers>
- <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
- <mainClass>${package}.StreamingJob</mainClass>
- </transformer>
- </transformers>
- -->
- <createDependencyReducedPom>false</createDependencyReducedPom>
- </configuration>
- </execution>
- </executions>
- </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
http://git-wip-us.apache.org/repos/asf/flink/blob/19b1b832/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 d438f61..89c297d 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
@@ -49,6 +49,7 @@ under the License.
<slf4j.version>@slf4j.version@</slf4j.version>
<log4j.version>@log4j.version@</log4j.version>
<scala.binary.version>2.11</scala.binary.version>
+ <scala.version>2.11.11</scala.version>
</properties>
<!--
@@ -60,39 +61,44 @@ under the License.
a) Adding new dependencies:
You can add dependencies to the list below.
- Please check if the maven-shade-plugin below is filtering out your dependency
- and remove the exclude from there.
b) Build a jar for running on the cluster:
- There are two options for creating a jar from this project
- b.1) "mvn clean package" -> this will create a fat jar which contains all
- dependencies necessary for running the jar created by this pom in a cluster.
- The "maven-shade-plugin" excludes everything that is provided on a running Flink cluster.
-
- b.2) "mvn clean package -Pbuild-jar" -> This will also create a fat-jar, but with much
- nicer dependency exclusion handling. This approach is preferred and leads to
- much cleaner jar files.
+ "mvn clean package -Pbuild-jar"
+ This will create a fat-jar which contains all dependencies necessary for running the created jar in a cluster.
-->
<dependencies>
<!-- Apache Flink dependencies -->
<dependency>
<groupId>org.apache.flink</groupId>
- <artifactId>flink-scala_${scala.binary.version}</artifactId>
+ <artifactId>flink-core</artifactId>
<version>${flink.version}</version>
</dependency>
<dependency>
+ <!-- This dependency is required to actually execute jobs. It is currently pulled in by
+ flink-streaming-java, but we explicitly depend on it to safeguard against future changes. -->
<groupId>org.apache.flink</groupId>
- <artifactId>flink-streaming-scala_${scala.binary.version}</artifactId>
+ <artifactId>flink-clients_${scala.binary.version}</artifactId>
<version>${flink.version}</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
- <artifactId>flink-clients_${scala.binary.version}</artifactId>
+ <artifactId>flink-scala_${scala.binary.version}</artifactId>
+ <version>${flink.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flink</groupId>
+ <artifactId>flink-streaming-scala_${scala.binary.version}</artifactId>
<version>${flink.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.scala-lang</groupId>
+ <artifactId>scala-library</artifactId>
+ <version>${scala.version}</version>
+ </dependency>
+
<!-- explicitly add a standard logging framework, as Flink does not have
a hard dependency on one specific framework by default -->
<dependency>
@@ -117,23 +123,34 @@ under the License.
<dependencies>
<dependency>
<groupId>org.apache.flink</groupId>
- <artifactId>flink-scala_${scala.binary.version}</artifactId>
+ <artifactId>flink-core</artifactId>
+ <version>${flink.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flink</groupId>
+ <artifactId>flink-clients_${scala.binary.version}</artifactId>
<version>${flink.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
- <artifactId>flink-streaming-scala_${scala.binary.version}</artifactId>
+ <artifactId>flink-scala_${scala.binary.version}</artifactId>
<version>${flink.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
- <artifactId>flink-clients_${scala.binary.version}</artifactId>
+ <artifactId>flink-streaming-scala_${scala.binary.version}</artifactId>
<version>${flink.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
+ <groupId>org.scala-lang</groupId>
+ <artifactId>scala-library</artifactId>
+ <version>${scala.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j.version}</version>
@@ -149,12 +166,15 @@ under the License.
<build>
<plugins>
- <!-- disable the exclusion rules -->
+ <!-- We use the maven-shade plugin to create a fat jar that contains all dependencies
+ except flink and its transitive dependencies. The resulting fat-jar can be executed
+ on a cluster. Change the value of Program-Class if your program entry point changes. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.0.0</version>
<executions>
+ <!-- Run shade goal on package phase -->
<execution>
<phase>package</phase>
<goals>
@@ -162,8 +182,33 @@ under the License.
</goals>
<configuration>
<artifactSet>
- <excludes combine.self="override"></excludes>
+ <excludes>
+ <exclude>org.apache.flink:force-shading</exclude>
+ <exclude>com.google.code.findbgs:jsr305</exclude>
+ <exclude>org.slf4j:slf4j-api</exclude>
+ </excludes>
</artifactSet>
+ <filters>
+ <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>
+ <!-- If you want to use ./bin/flink run <quickstart jar> uncomment the following lines.
+ This will add a Main-Class entry to the manifest file -->
+ <!--
+ <transformers>
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
+ <mainClass>${package}.StreamingJob</mainClass>
+ </transformer>
+ </transformers>
+ -->
</configuration>
</execution>
</executions>
@@ -173,133 +218,8 @@ under the License.
</profile>
</profiles>
- <!-- We use the maven-assembly plugin to create a fat jar that contains all dependencies
- except flink and its transitive dependencies. The resulting fat-jar can be executed
- on a cluster. Change the value of Program-Class if your program entry point changes. -->
<build>
<plugins>
- <!-- We use the maven-shade plugin to create a fat jar that contains all dependencies
- except flink and it's transitive dependencies. The resulting fat-jar can be executed
- on a cluster. Change the value of Program-Class if your program entry point changes. -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>3.0.0</version>
- <executions>
- <!-- Run shade goal on package phase -->
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- <configuration>
- <artifactSet>
- <excludes>
- <!-- This list contains all dependencies of flink-dist
- Everything else will be packaged into the fat-jar
- -->
- <exclude>org.apache.flink:flink-annotations</exclude>
- <exclude>org.apache.flink:flink-shaded-hadoop2</exclude>
- <exclude>org.apache.flink:flink-shaded-curator</exclude>
- <exclude>org.apache.flink:flink-core</exclude>
- <exclude>org.apache.flink:flink-java</exclude>
- <exclude>org.apache.flink:flink-scala_${scala.binary.version}</exclude>
- <exclude>org.apache.flink:flink-runtime_${scala.binary.version}</exclude>
- <exclude>org.apache.flink:flink-optimizer_${scala.binary.version}</exclude>
- <exclude>org.apache.flink:flink-clients_${scala.binary.version}</exclude>
- <exclude>org.apache.flink:flink-avro</exclude>
- <exclude>org.apache.flink:flink-examples-batch_${scala.binary.version}</exclude>
- <exclude>org.apache.flink:flink-examples-streaming_${scala.binary.version}</exclude>
- <exclude>org.apache.flink:flink-streaming-java_${scala.binary.version}</exclude>
- <exclude>org.apache.flink:flink-streaming-scala_${scala.binary.version}</exclude>
- <exclude>org.apache.flink:flink-scala-shell_${scala.binary.version}</exclude>
- <exclude>org.apache.flink:flink-python</exclude>
- <exclude>org.apache.flink:flink-metrics-core</exclude>
- <exclude>org.apache.flink:flink-metrics-jmx</exclude>
- <exclude>org.apache.flink:flink-statebackend-rocksdb_${scala.binary.version}</exclude>
- <exclude>org.apache.flink:flink-shaded-jackson</exclude>
-
- <!-- Also exclude very big transitive dependencies of Flink
-
- WARNING: You have to remove these excludes if your code relies on other
- versions of these dependencies.
-
- -->
-
- <exclude>log4j:log4j</exclude>
- <exclude>org.scala-lang:scala-library</exclude>
- <exclude>org.scala-lang:scala-compiler</exclude>
- <exclude>org.scala-lang:scala-reflect</exclude>
- <exclude>com.typesafe.akka:akka-actor_*</exclude>
- <exclude>com.typesafe.akka:akka-remote_*</exclude>
- <exclude>com.typesafe.akka:akka-slf4j_*</exclude>
- <exclude>io.netty:netty-all</exclude>
- <exclude>io.netty:netty</exclude>
- <exclude>commons-fileupload:commons-fileupload</exclude>
- <exclude>org.apache.avro:avro</exclude>
- <exclude>commons-collections:commons-collections</exclude>
- <exclude>com.thoughtworks.paranamer:paranamer</exclude>
- <exclude>org.xerial.snappy:snappy-java</exclude>
- <exclude>org.apache.commons:commons-compress</exclude>
- <exclude>org.tukaani:xz</exclude>
- <exclude>com.esotericsoftware.kryo:kryo</exclude>
- <exclude>com.esotericsoftware.minlog:minlog</exclude>
- <exclude>org.objenesis:objenesis</exclude>
- <exclude>com.twitter:chill_*</exclude>
- <exclude>com.twitter:chill-java</exclude>
- <exclude>commons-lang:commons-lang</exclude>
- <exclude>junit:junit</exclude>
- <exclude>org.apache.commons:commons-lang3</exclude>
- <exclude>org.slf4j:slf4j-api</exclude>
- <exclude>org.slf4j:slf4j-log4j12</exclude>
- <exclude>log4j:log4j</exclude>
- <exclude>org.apache.commons:commons-math</exclude>
- <exclude>org.apache.sling:org.apache.sling.commons.json</exclude>
- <exclude>commons-logging:commons-logging</exclude>
- <exclude>commons-codec:commons-codec</exclude>
- <exclude>stax:stax-api</exclude>
- <exclude>com.typesafe:config</exclude>
- <exclude>org.uncommons.maths:uncommons-maths</exclude>
- <exclude>com.github.scopt:scopt_*</exclude>
- <exclude>commons-io:commons-io</exclude>
- <exclude>commons-cli:commons-cli</exclude>
- </excludes>
- </artifactSet>
- <filters>
- <filter>
- <artifact>org.apache.flink:*</artifact>
- <excludes>
- <!-- exclude shaded google but include shaded curator -->
- <exclude>org/apache/flink/shaded/com/**</exclude>
- <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>
- <!-- If you want to use ./bin/flink run <quickstart jar> uncomment the following lines.
- This will add a Main-Class entry to the manifest file -->
- <!--
- <transformers>
- <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
- <mainClass>${package}.StreamingJob</mainClass>
- </transformer>
- </transformers>
- -->
- <createDependencyReducedPom>false</createDependencyReducedPom>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>