Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-8761 Various improvements to the Quickstarts
  3. FLINK-8764

Make quickstarts work out of the box for IDE and JAR packaging

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: Quickstarts
    • Labels:
      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.

        Attachments

          Activity

            People

            • Assignee:
              sewen Stephan Ewen
              Reporter:
              sewen Stephan Ewen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: