IGNITE-16213 Updated the zookeeper-ip-finder-ext to use the slf4j facade for logging third party libraries (#89)
diff --git a/modules/zookeeper-ip-finder-ext/README.txt b/modules/zookeeper-ip-finder-ext/README.txt
index 87b8d3a..c39a394 100644
--- a/modules/zookeeper-ip-finder-ext/README.txt
+++ b/modules/zookeeper-ip-finder-ext/README.txt
@@ -10,6 +10,9 @@
- Add libraries from lib/optional/{module-dir} to the classpath of your application.
- Add a module as a Maven dependency to your project.
+The module depends on third-party libraries that use the slf4j facade for logging.
+You can set up an underlying logging framework yourself.
+
Importing Apache Ignite ZooKeeper IpFinder Module In Maven Project
---------------------------------------------------------
diff --git a/modules/zookeeper-ip-finder-ext/pom.xml b/modules/zookeeper-ip-finder-ext/pom.xml
index 0cff919..4f0ed6e 100644
--- a/modules/zookeeper-ip-finder-ext/pom.xml
+++ b/modules/zookeeper-ip-finder-ext/pom.xml
@@ -92,6 +92,20 @@
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>${zookeeper.version}</version>
+ <exclusions>
+ <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>
@@ -107,14 +121,9 @@
</dependency>
<dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
-
- <dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
+ <scope>test</scope>
</dependency>
<dependency>