Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-30372

dependencyManagement bom for flink-dist

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • API / Core
    • None

    Description

      The flink-dist and other artifacts shipped within the prebuilt .tgz archives should be depended with the 'provided' scope when developing a flink app. But many artifacts are shaded directly or indirectly, and not clear to a flink app developer.

      Can we publish a new pom in bom style for org.apache.fink:flink-dist with only <dependencyManagement> section, which declares all the shaded or shipped dependencies with 'provided' or 'test' scopes. Then we can import this pom when in the app pom like this:

       

      <dependencyManagement>
        <dependencies>
          <dependency>
            <groupId>org.apache.flink</groupId>
            <artifactId>flink-dist-bom</artifactId>
            <version>1.16.0</version>
            <type>pom</type>
            <scope>import</scope>
          </dependency>
        </dependencies>
      </dependencyManagement>
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gzm55 James Z.M. Gao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: