[
https://issues.apache.org/jira/browse/FLINK-8009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16242254#comment-16242254
]
Chesnay Schepler commented on FLINK-8009:
-----------------------------------------
avro and jackson are still pulled in. The dependency-reduced pom contains both
these dependencies, with neither being marked as optional, even though hadoop
is. I don't know why that happens though, it really is quite odd.
> flink-dist contains flink-runtime's transitive hadoop dependencies
> ------------------------------------------------------------------
>
> Key: FLINK-8009
> URL: https://issues.apache.org/jira/browse/FLINK-8009
> Project: Flink
> Issue Type: Bug
> Components: Build System
> Affects Versions: 1.4.0, 1.5.0
> Reporter: Chesnay Schepler
> Priority: Blocker
> Fix For: 1.4.0, 1.5.0
>
>
> The promotion of transitive dependencies in flink-runtime causes flink-dist
> to contain _some_ transitive dependencies from flink-shaded-hadoop. (most
> notably, avro and codehaus.jackson)
> We will either have to add an exclusion for each dependency to flink-dist,
> set flink-shaded-hadoop to provided in flink-runtime (hacky, but less
> intrusive), or remove the promotion and explicitly depend on various akka
> dependencies.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)