Fix apex-pdp logging issue 71/56071/1
authorramverma <ram.krishna.verma@ericsson.com>
Tue, 10 Jul 2018 10:26:13 +0000 (11:26 +0100)
committerramverma <ram.krishna.verma@ericsson.com>
Tue, 10 Jul 2018 10:26:43 +0000 (11:26 +0100)
apex-pdp logging was failing due to multiple slf4j bindings.
Excluded the slf4j-log4j12 transitive dependency coming through
zookeeper.

Change-Id: I8745c349fecc89e4b3a84d8a79b1dc5bb47f89c8
Issue-ID: POLICY-866
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
plugins/plugins-context/context-locking/context-locking-curator/pom.xml

index 1094ced..220bfba 100644 (file)
             <groupId>org.apache.zookeeper</groupId>
             <artifactId>zookeeper</artifactId>
             <version>3.5.4-beta</version>
-             <exclusions>
+            <exclusions>
             <!-- Zookeeper uses an ancient version of log4j -->
                 <exclusion>
                     <groupId>log4j</groupId>
                     <artifactId>log4j</artifactId>
                 </exclusion>
+                <exclusion>
+                    <groupId>org.slf4j</groupId>
+                    <artifactId>slf4j-log4j12</artifactId>
+                </exclusion>
             </exclusions>
         </dependency>
         <dependency>