Github user rmetzger commented on the pull request:
https://github.com/apache/flink/pull/1719#issuecomment-189223135
Can also also add a note to the documentation about the build-jar profile?
This is just an idea, but maybe we could add the following plugin to the
quickstarts:
```xml
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<echo>${line.separator}
${line.separator}Please use the "-Pbuild-jar" profile for creating a fat-jar.
${line.separator}${line.separator}${line.separator}</echo>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
```
this leads to the following output:
```
obert@robert-da ...nk-workdir/flink-state-watermarks-1.0 (git)-[no_kryo] %
mvn install
[INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Flink Quickstart Job 1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-antrun-plugin:1.3:run (default) @
flink-state-watermarks-1.0 ---
[INFO] Executing tasks
[echo]
[echo]
[echo]
[echo] Please use the "-Pbuild-jar" profile for creating a fat-jar.
[echo]
[echo]
[INFO] Executed tasks
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
flink-state-watermarks-1.0 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @
flink-state-watermarks-1.0 ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
```
---
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.
---