Skip to content
Permalink
Browse files
[FLINK-24447][zk] Bundle netty
  • Loading branch information
zentol committed Oct 7, 2021
1 parent 2d69a30 commit 8620d20c9511b3a7bfcbecf7e6aba7adba79c8ce
Showing 3 changed files with 20 additions and 5 deletions.
@@ -43,11 +43,6 @@ under the License.
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<exclusions>
<exclusion>
<!-- only required for ZK servers, not clients -->
<groupId>io.netty</groupId>
<artifactId>*</artifactId>
</exclusion>
<exclusion>
<!-- Flink distribution provides logging classes -->
<groupId>log4j</groupId>
@@ -121,6 +116,13 @@ under the License.
<artifactId>zookeeper</artifactId>
<version>${zookeeper.version}</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-bom</artifactId>
<version>${netty.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
</project>
@@ -7,6 +7,14 @@ The Apache Software Foundation (http://www.apache.org/).
This project bundles the following dependencies under the Apache Software License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)

- com.google.guava:guava:27.0.1-jre
- io.netty:netty-buffer:4.1.65.Final
- io.netty:netty-codec:4.1.65.Final
- io.netty:netty-common:4.1.65.Final
- io.netty:netty-handler:4.1.65.Final
- io.netty:netty-resolver:4.1.65.Final
- io.netty:netty-transport:4.1.65.Final
- io.netty:netty-transport-native-epoll:4.1.65.Final
- io.netty:netty-transport-native-unix-common:4.1.65.Final
- org.apache.curator:curator-client:4.2.0
- org.apache.curator:curator-framework:4.2.0
- org.apache.curator:curator-recipes:4.2.0
@@ -68,6 +68,11 @@ under the License.
<pattern>org.apache.zookeeper</pattern>
<shadedPattern>${shading.zookeeper.prefix}.org.apache.zookeeper</shadedPattern>
</relocation>
<relocation>
<!-- This allows us to re-use flink-shaded-netty -->
<pattern>io.netty</pattern>
<shadedPattern>${shading.zookeeper.prefix}.io.netty</shadedPattern>
</relocation>
<relocation>
<pattern>org.apache.jute</pattern>
<shadedPattern>${shading.zookeeper.prefix}.org.apache.jute</shadedPattern>

0 comments on commit 8620d20

Please sign in to comment.