Stephan Ewen created FLINK-8764:
-----------------------------------
Summary: Make quickstarts work out of the box for IDE and JAR packaging
Key: FLINK-8764
URL:
https://issues.apache.org/jira/browse/FLINK-8764 Project: Flink
Issue Type: Sub-task
Components: Quickstarts
Reporter: Stephan Ewen
Assignee: Stephan Ewen
Fix For: 1.5.0
We can make the quickstarts work for IntelliJ, Eclipse, and Maven Jar packaging out of the box, without the need to pass a profile name during jar packaging via the following trick:
- All Flink and Scala dependencies are properly set to provided
- That way, Maven JAR packaging behaves correctly by default
- Eclipse adds 'provided' dependencies to the classpath when running programs, so works out of the box
- There is a profile that automatically activates in IntelliJ that adds the necessary
dependencies in 'compile' scope to make it run out of the box.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)