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

flink-dist won't build locally with newer (3.3+) maven versions

    XMLWordPrintableJSON

Details

    Description

      flink-dist will fail on non Maven 3.2.5 versions because of banned dependencies.

      These are the messages you'll see:

      [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (ban-unsafe-snakeyaml) @ flink-dist_2.11 ---
      [WARNING] Rule 0: org.apache.maven.plugins.enforcer.BannedDependencies failed with message:
      Found Banned Dependency: org.yaml:snakeyaml:jar:1.24
      Use 'mvn dependency:tree' to locate the source of the banned dependencies.
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary for Flink : 1.12-SNAPSHOT:
      
      ...
      
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1:enforce (ban-unsafe-snakeyaml) on project flink-dist_2.11: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]
      

      Attachments

        Issue Links

          Activity

            People

              rmetzger Robert Metzger
              rmetzger Robert Metzger
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: