summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-11-01 09:53:37 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2022-11-01 09:53:37 +0100
commit45b6eb9a82d85c0162af7c7065e6e1b2fdf58027 (patch)
tree45c23fe5dc76b678637e1fdb6f2e45c3b102c78a
parent2b52683a188e2aade026ecaf41dc483f37e22526 (diff)
Only exclude slf4j-api where it is necessary.
-rw-r--r--parent/pom.xml8
-rw-r--r--zkfacade/pom.xml10
2 files changed, 10 insertions, 8 deletions
diff --git a/parent/pom.xml b/parent/pom.xml
index a2b91429f0c..734451620c6 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -476,14 +476,6 @@
<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>
diff --git a/zkfacade/pom.xml b/zkfacade/pom.xml
index 5303c791e15..9c5ed23636f 100644
--- a/zkfacade/pom.xml
+++ b/zkfacade/pom.xml
@@ -65,6 +65,16 @@
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
+ <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>
+ </exclusions>
</dependency>
<!-- snappy-java and metrics-core are included here
to be able to work with ZooKeeper >= 3.6.2 due to