[jira] [Created] (FLINK-19459) flink-dist won't build locally with newer (3.3+) maven versions

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-19459) flink-dist won't build locally with newer (3.3+) maven versions

Shang Yuanchun (Jira)
Robert Metzger created FLINK-19459:
--------------------------------------

             Summary: flink-dist won't build locally with newer (3.3+) maven versions
                 Key: FLINK-19459
                 URL: https://issues.apache.org/jira/browse/FLINK-19459
             Project: Flink
          Issue Type: Bug
          Components: Build System
    Affects Versions: 1.12.0
            Reporter: Robert Metzger


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

These are the messages you'll see:
{code}
[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]
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)