Github user rmetzger commented on a diff in the pull request:
https://github.com/apache/flink/pull/3270#discussion_r124046763
--- Diff: flink-examples/flink-examples-streaming/pom.xml ---
@@ -482,54 +502,19 @@ under the License.
<copy
file="${project.basedir}/target/flink-examples-streaming_2.10-${project.version}-WindowJoin.jar"
tofile="${project.basedir}/target/WindowJoin.jar" />
<copy
file="${project.basedir}/target/flink-examples-streaming_2.10-${project.version}-WordCount.jar"
tofile="${project.basedir}/target/WordCount.jar" />
<copy
file="${project.basedir}/target/flink-examples-streaming_2.10-${project.version}-SocketWindowWordCount.jar"
tofile="${project.basedir}/target/SocketWindowWordCount.jar" />
+ <copy
file="${project.basedir}/target/flink-examples-streaming_2.10-${project.version}-Kafka09.jar"
tofile="${project.basedir}/target/Kafka09.jar" />
</target>
</configuration>
</execution>
</executions>
</plugin>
- <!-- Use the shade plugin to build a fat jar for the
kafka example -->
+ <!-- Use the shade plugin to build a fat jar for the
twitter example -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
- <id>fat-jar-kafka-example</id>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- <configuration>
-
<shadeTestJar>false</shadeTestJar>
-
<shadedArtifactAttached>false</shadedArtifactAttached>
-
<createDependencyReducedPom>false</createDependencyReducedPom>
- <transformers>
- <transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
-
<mainClass>org.apache.flink.streaming.examples.kafka.ReadFromKafka</mainClass>
- </transformer>
- </transformers>
-
<finalName>Kafka</finalName>
- <!--
<outputFile>Kafka.jar</outputFile> -->
- <filters>
- <filter>
-
<artifact>*</artifact>
-
<includes>
-
<include>org/apache/flink/streaming/examples/kafka/**</include>
-
<include>org/apache/flink/streaming/**</include>
-
<include>org/apache/kafka/**</include>
-
<include>org/apache/curator/**</include>
-
<include>org/apache/zookeeper/**</include>
-
<include>org/apache/jute/**</include>
-
<include>org/I0Itec/**</include>
-
<include>jline/**</include>
-
<include>com/yammer/**</include>
-
<include>kafka/**</include>
-
</includes>
- </filter>
- </filters>
- </configuration>
- </execution>
- <execution>
--- End diff --
What's the reasoning for deleting this section?--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at [email protected] or file a JIRA ticket with INFRA. ---
