[
https://issues.apache.org/jira/browse/FLINK-19459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17204319#comment-17204319
]
hailong wang commented on FLINK-19459:
--------------------------------------
Hi, it also failed in flink-docs and flink-sql-connector-hive-2.3.6 module,
https://issues.apache.org/jira/browse/FLINK-19455 ,mayble It could be the same
problem.
> 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
> Priority: Critical
>
> 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)