summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Musum <musum@yahooinc.com>2022-04-02 10:07:31 +0200
committerHarald Musum <musum@yahooinc.com>2022-04-02 10:07:31 +0200
commit2039cd855a14d67f453a42e9a424f33e8d8c6595 (patch)
tree01d2c499ad10b0984a0261e4184a61a7b6f27ed8
parent1bb3dd192f4bcb91e710fe19ca54b2b8935ffb83 (diff)
Move dependency management to parent, depend on snappy-java for cmd line
-rw-r--r--parent/pom.xml11
-rw-r--r--zkfacade/pom.xml4
-rw-r--r--zookeeper-command-line-client/pom.xml5
-rw-r--r--zookeeper-server/zookeeper-server-3.7.0/pom.xml2
4 files changed, 17 insertions, 5 deletions
diff --git a/parent/pom.xml b/parent/pom.xml
index 5e3ec3d20ea..d90dc7a292f 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -886,6 +886,17 @@
<version>2.3.0</version>
</dependency>
<dependency>
+ <groupId>org.xerial.snappy</groupId>
+ <artifactId>snappy-java</artifactId>
+ <version>1.1.7</version>
+ </dependency>
+ <dependency>
+ <groupId>io.dropwizard.metrics</groupId>
+ <artifactId>metrics-core</artifactId>
+ <version>3.2.5</version>
+ </dependency>
+
+ <dependency>
<groupId>uk.co.datumedge</groupId>
<artifactId>hamcrest-json</artifactId>
<version>0.2</version>
diff --git a/zkfacade/pom.xml b/zkfacade/pom.xml
index fd02410d03f..86a60702c26 100644
--- a/zkfacade/pom.xml
+++ b/zkfacade/pom.xml
@@ -86,13 +86,12 @@
</exclusions>
</dependency>
<!-- snappy-java and metrics-core are included here
- to be able to work with ZooKeeper 3.6.2 due to
+ to be able to work with ZooKeeper >= 3.6.2 due to
class loading issues -->
<dependency>
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-core</artifactId>
<scope>compile</scope>
- <version>3.2.5</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
@@ -104,7 +103,6 @@
<groupId>org.xerial.snappy</groupId>
<artifactId>snappy-java</artifactId>
<scope>compile</scope>
- <version>1.1.7</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
diff --git a/zookeeper-command-line-client/pom.xml b/zookeeper-command-line-client/pom.xml
index a8105c78881..236bd5245a9 100644
--- a/zookeeper-command-line-client/pom.xml
+++ b/zookeeper-command-line-client/pom.xml
@@ -61,6 +61,11 @@
<artifactId>log4j-over-slf4j</artifactId>
<scope>compile</scope>
</dependency>
+ <dependency>
+ <groupId>org.xerial.snappy</groupId>
+ <artifactId>snappy-java</artifactId>
+ <scope>compile</scope>
+ </dependency>
</dependencies>
<build>
diff --git a/zookeeper-server/zookeeper-server-3.7.0/pom.xml b/zookeeper-server/zookeeper-server-3.7.0/pom.xml
index 01fd83a496b..8daa6003f1e 100644
--- a/zookeeper-server/zookeeper-server-3.7.0/pom.xml
+++ b/zookeeper-server/zookeeper-server-3.7.0/pom.xml
@@ -62,7 +62,6 @@
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-core</artifactId>
<scope>compile</scope>
- <version>3.2.5</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
@@ -74,7 +73,6 @@
<groupId>org.xerial.snappy</groupId>
<artifactId>snappy-java</artifactId>
<scope>compile</scope>
- <version>1.1.7</version>
</dependency>
<dependency>
<groupId>junit</groupId>