summaryrefslogtreecommitdiffstats
path: root/parent
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-11-01 09:30:14 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2022-11-01 09:30:14 +0100
commit2b52683a188e2aade026ecaf41dc483f37e22526 (patch)
tree1ec83ffed8f56691dbbf7d155aba7df60de4b0e1 /parent
parent99d143f7ecbc7c0e2c4d55bd325a1c3ca60b22e2 (diff)
Move zookeeper and netty dependency management to parent pom.
Diffstat (limited to 'parent')
-rw-r--r--parent/pom.xml45
1 files changed, 45 insertions, 0 deletions
diff --git a/parent/pom.xml b/parent/pom.xml
index 53a3cbdc0d6..a2b91429f0c 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -472,6 +472,29 @@
<version>1.6</version>
</dependency>
<dependency>
+ <groupId>org.apache.zookeeper</groupId>
+ <artifactId>zookeeper</artifactId>
+ <version>${zookeeper.client.version}</version>
+ <exclusions>
+ <!--
+ Container provides wiring for all common log libraries
+ Duplicate embedding results in various warnings being printed to stderr
+ -->
+ <exclusion>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
<!-- Needed by zookeeper, which has an optional dependency.
Version must be the same as the one zk uses - check the zk pom file. -->
<groupId>com.github.spotbugs</groupId>
@@ -479,6 +502,26 @@
<!-- No version property, as we don't want maven-dependency-plugin to alert about newer versions. -->
<version>3.1.9</version>
</dependency>
+ <dependency> <!-- Control netty-all version -->
+ <groupId>io.netty</groupId>
+ <artifactId>netty-all</artifactId>
+ <version>${netty.version}</version>
+ </dependency>
+ <dependency> <!-- Control netty-handler version -->
+ <groupId>io.netty</groupId>
+ <artifactId>netty-handler</artifactId>
+ <version>${netty.version}</version>
+ </dependency>
+ <dependency> <!-- Control netty-transport-native-epoll version -->
+ <groupId>io.netty</groupId>
+ <artifactId>netty-transport-native-epoll</artifactId>
+ <version>${netty.version}</version>
+ </dependency>
+ <dependency> <!-- Control netty-handler version -->
+ <groupId>io.netty</groupId>
+ <artifactId>netty-tcnative-classes</artifactId>
+ <version>${netty-tcnative.version}</version>
+ </dependency>
<dependency>
<groupId>com.github.tomakehurst</groupId>
<artifactId>wiremock-jre8-standalone</artifactId>
@@ -1073,6 +1116,8 @@
<maven-site-plugin.version>3.9.1</maven-site-plugin.version>
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
<mockito.version>4.0.0</mockito.version>
+ <netty.version>4.1.84.Final</netty.version>
+ <netty-tcnative.version>2.0.54.Final</netty-tcnative.version>
<nimbus.version>9.25.6</nimbus.version>
<onnxruntime.version>1.12.1</onnxruntime.version> <!-- WARNING: sync cloud-tenant-base-dependencies-enforcer/pom.xml -->
<org.json.version>20220320</org.json.version>