[ 
https://issues.apache.org/jira/browse/FLINK-4034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15364933#comment-15364933
 ] 

Vladislav Pernin commented on FLINK-4034:
-----------------------------------------

I couldn't agree more about the dependency convergence, that's why I'd like to 
help fixing it.

How do you see the process of "splitting" my PR : I could try to enable 
dependency converge on submodules ou groups of modules first and submit 
incremental PR, but I think that as soon as I will enable DC on hadoop-shaded 
... or other common module, it will be required everywhere and some conflict 
have to be fixed by chirurgical dependency management in the parent pom on 
specific profiles, so visible/enabled by every modules ?

> Dependency convergence on com.101tec:zkclient and 
> com.esotericsoftware.kryo:kryo
> --------------------------------------------------------------------------------
>
>                 Key: FLINK-4034
>                 URL: https://issues.apache.org/jira/browse/FLINK-4034
>             Project: Flink
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: 1.0.3
>            Reporter: Vladislav Pernin
>
> If dependency convergence is enabled and asserted on Maven, projects using 
> Flink do not compile.
> Example :
> {code}
> Dependency convergence error for com.esotericsoftware.kryo:kryo:2.24.0 paths 
> to dependency are:
> +-groupidXXX:artifactidXXX:versionXXX
>   +-org.apache.flink:flink-java:1.0.3
>     +-org.apache.flink:flink-core:1.0.3
>       +-com.esotericsoftware.kryo:kryo:2.24.0
> and
> +-groupidXXX:artifactidXXX:versionXXX
>   +-org.apache.flink:flink-streaming-java_2.11:1.0.3
>     +-org.apache.flink:flink-runtime_2.11:1.0.3
>       +-com.twitter:chill_2.11:0.7.4
>         +-com.twitter:chill-java:0.7.4
>           +-com.esotericsoftware.kryo:kryo:2.21
> and
> +-groupidXXX:artifactidXXX:versionXXX
>   +-org.apache.flink:flink-streaming-java_2.11:1.0.3
>     +-org.apache.flink:flink-runtime_2.11:1.0.3
>       +-com.twitter:chill_2.11:0.7.4
>         +-com.esotericsoftware.kryo:kryo:2.21
> {code}                
>               
> {code}
> Dependency convergence error for com.101tec:zkclient:0.7 paths to dependency 
> are:
> +-groupidXXX:artifactidXXX:versionXXX
>   +-org.apache.flink:flink-connector-kafka-0.8_2.11:1.0.3
>     +-org.apache.flink:flink-connector-kafka-base_2.11:1.0.3
>       +-com.101tec:zkclient:0.7
> and
> +-groupidXXX:artifactidXXX:versionXXX
>   +-org.apache.flink:flink-connector-kafka-0.8_2.11:1.0.3
>     +-org.apache.kafka:kafka_2.11:0.8.2.2
>       +-com.101tec:zkclient:0.3
> {code}
> I cannot emit a pull request without knowing on which specifics versions you 
> rely.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to