[ https://issues.apache.org/jira/browse/FLINK-13996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17274473#comment-17274473 ]
Robert Metzger commented on FLINK-13996: ---------------------------------------- Improved in https://github.com/apache/flink/commit/0daa8de738aec00f30cdcb8079a901fd555af293. > Maven instructions for 3.3+ do not cover all shading special cases > ------------------------------------------------------------------ > > Key: FLINK-13996 > URL: https://issues.apache.org/jira/browse/FLINK-13996 > Project: Flink > Issue Type: Improvement > Components: Build System, Documentation > Affects Versions: 1.8.0 > Reporter: Chesnay Schepler > Assignee: Robert Metzger > Priority: Major > Labels: pull-request-available > Fix For: 1.13.0 > > > When building Flink on Maven 3.3+ extra care must be taken to ensure that the > shading works as expected. Since 3.3 the dependency graph is immutable, as a > result of which downstream modules (like flink-dist) see the unaltered set of > dependencies of bundled modules; regardless of these were bundled or not. As > a result dependencies may be bundled multiple times (original and relocated > versions). > The [instructions for building Flink with Maven > 3.3+|https://ci.apache.org/projects/flink/flink-docs-master/flinkDev/building.html#dependency-shading] > correctly point out that flink-dist must be built separately, however (at > the very least) all filesystems relying on {{flink-fs-hadoop-shaded}} are > also affected. -- This message was sent by Atlassian Jira (v8.3.4#803005)