Skip to content

Commit

Permalink
[FLINK-6805] [cassandra] Shade indirect netty4 dependency
Browse files Browse the repository at this point in the history
To relocate various *indirect* netty4 dep of ver 4.0.33.Final to
classpath of Flink flavor using Maven shade plugin.

This closes apache#4545.
  • Loading branch information
mcfongtw authored and zentol committed Oct 15, 2017
1 parent 89394ec commit 81d7c4e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions flink-connectors/flink-connector-cassandra/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ under the License.
<include>com.datastax.cassandra:cassandra-driver-core</include>
<include>com.datastax.cassandra:cassandra-driver-mapping</include>
<include>com.google.guava:guava</include>
<include>io.netty:netty-*</include>
</includes>
</artifactSet>
<relocations>
Expand All @@ -83,6 +84,15 @@ under the License.
<exclude>com.google.inject.**</exclude>
</excludes>
</relocation>
<!--
For the details of relocation pattern, refer the discussion at
https://github.com/apache/flink/pull/4545
FLINK-6805
-->
<relocation>
<pattern>io.netty</pattern>
<shadedPattern>org.apache.flink.cassandra.shaded.io.netty</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
Expand Down

0 comments on commit 81d7c4e

Please sign in to comment.