提交 1a98e327 编写于 作者: N Nico Kruber 提交者: twalthr

[FLINK-8295] [cassandra] [build] Properly shade netty for the datastax driver

com.datastax.driver.core.NettyUtil expects netty to be present either at its
original package or relocated to com.datastax.shaded.netty. By relocating it
to this package we make sure the driver follows its designated path.

This closes #5183.
上级 2142eeda
......@@ -84,13 +84,13 @@ under the License.
</excludes>
</relocation>
<!--
For the details of relocation pattern, refer the discussion at
https://github.com/apache/flink/pull/4545
FLINK-6805
Relocate to datastax' package where it
expects shaded netty versions; see
https://issues.apache.org/jira/browse/FLINK-8295
-->
<relocation>
<pattern>io.netty</pattern>
<shadedPattern>org.apache.flink.cassandra.shaded.io.netty</shadedPattern>
<shadedPattern>com.datastax.shaded.netty</shadedPattern>
</relocation>
</relocations>
</configuration>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册