[
https://issues.apache.org/jira/browse/FLINK-9459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16493464#comment-16493464
]
Truong Duc Kien commented on FLINK-9459:
----------------------------------------
Yes, it seems the root cause is the same. Solving for this single case would be
easy, but testing for all vendors' Hadoop would be a major pain. I'd suggest
disabling enforcer plugin should be disable for vendored build.
> Maven enforcer plugin prevents compilation with HDP's Hadoop
> ------------------------------------------------------------
>
> Key: FLINK-9459
> URL: https://issues.apache.org/jira/browse/FLINK-9459
> Project: Flink
> Issue Type: Bug
> Components: Build System
> Affects Versions: 1.5.0
> Reporter: Truong Duc Kien
> Priority: Major
>
> Compiling Flink with Hortonwork HDP's version of Hadoop is currently
> unsuccessful due to Enforce Plugin catches a problem with their Hadoop.
>
> The command used is
>
> {noformat}
> mvn clean install -DskipTests -Dcheckstyle.skip=true
> -Dmaven.javadoc.skip=true -Pvendor-repos -Dhadoop.version=2.7.3.2.6.5.0-292
> {noformat}
>
> The problems:
> {noformat}
> Dependency convergence error for
> com.fasterxml.jackson.core:jackson-core:2.6.0 paths to dependency are:
>
> +-org.apache.flink:flink-bucketing-sink-test:1.5-SNAPSHOT
> +-org.apache.flink:flink-shaded-hadoop2:1.5-SNAPSHOT
> +-com.microsoft.azure:azure-storage:5.4.0
> +-com.fasterxml.jackson.core:jackson-core:2.6.0
> and
> +-org.apache.flink:flink-bucketing-sink-test:1.5-SNAPSHOT
> +-org.apache.flink:flink-shaded-hadoop2:1.5-SNAPSHOT
> +-com.fasterxml.jackson.core:jackson-core:2.6.0
> and
>
> +-org.apache.flink:flink-bucketing-sink-test:1.5-SNAPSHOT
> +-org.apache.flink:flink-shaded-hadoop2:1.5-SNAPSHOT
> +-com.fasterxml.jackson.core:jackson-databind:2.2.3
> +-com.fasterxml.jackson.core:jackson-core:2.2.3
> [WARNING] Rule 0: org.apache.maven.plugins.enforcer.DependencyConvergence
> failed with message: Failed while enforcing releasability. See above detailed
> error message.
> [INFO] FAILURE build of project org.apache.flink:flink-bucketing-sink-test
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)