Github user mjsax commented on a diff in the pull request:
https://github.com/apache/flink/pull/1037#discussion_r37640464
--- Diff: docs/apis/storm_compatibility.md ---
@@ -224,4 +224,12 @@ DataStream<String> rawInput = env.addSource(
You can find more examples in Maven module
`flink-storm-compatibilty-examples`.
For the different versions of WordCount, see
[README.md](https://github.com/apache/flink/tree/master/flink-contrib/flink-storm-compatibility/flink-storm-compatibility-examples/README.md).
+To run the examples, you need to assemble a correct jar file.
+`flink-storm-compatibility-examples-0.10-SNAPSHOT.jar` is **no** valid jar
file for job execution (it is only a standard maven artifact).
+There are example jars for embedded Spout and Bolt, namely
`flink-storm-compatibility-examples-0.10-SNAPSHOT-WordCountSpoutSource.jar` and
`flink-storm-compatibility-examples-0.10-SNAPSHOT-WordCountBoltTokenizer.jar`,
respectively.
+Compare `pom.xml` to see how both jars are built.
+Furthermore, there is one example for whole Storm topologies
(`flink-storm-compatibility-examples-0.10-SNAPSHOT-WordCountStorm.jar`).
+This jar is build using `maven-assembly-plugin` because it must contain
`defaults.yaml` which cannot be included using `maven-jar-plugin`.
--- End diff --
This does not work as I want it. The shade plugin overwrites some
previously build jars and also installs the example jars to local maven
repository. Both is not intended and I was not able to deactivate it...
(`<shadedArtifactAttached>true</shadedArtifactAttached>` only keeps a copy of
the overwritten jar (with different name).
---
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.
---