Chesnay Schepler created FLINK-13996:
----------------------------------------

             Summary: 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


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.2#803003)

Reply via email to