Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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.