Author: ecki
Date: Mon Sep 28 18:15:38 2015
New Revision: 1705740

URL: http://svn.apache.org/viewvc?rev=1705740&view=rev
Log:
Remove slf4j duplicate bindings warning and prune down transitive depedencies

Modified:
    commons/proper/vfs/trunk/core/pom.xml
    commons/proper/vfs/trunk/pom.xml

Modified: commons/proper/vfs/trunk/core/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/pom.xml?rev=1705740&r1=1705739&r2=1705740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/pom.xml (original)
+++ commons/proper/vfs/trunk/core/pom.xml Mon Sep 28 18:15:38 2015
@@ -110,11 +110,6 @@
       <artifactId>slf4j-api</artifactId>
       <scope>test</scope>
     </dependency>
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>slf4j-log4j12</artifactId>
-      <scope>test</scope>
-    </dependency>
     <!-- Test SFTP with Apache SHHd Server (MINA) -->
     <dependency>
       <groupId>org.apache.sshd</groupId>

Modified: commons/proper/vfs/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/vfs/trunk/pom.xml?rev=1705740&r1=1705739&r2=1705740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/pom.xml (original)
+++ commons/proper/vfs/trunk/pom.xml Mon Sep 28 18:15:38 2015
@@ -412,11 +412,23 @@
         <groupId>org.apache.hadoop</groupId>
         <artifactId>hadoop-common</artifactId>
         <version>2.6.0</version>
+        <exclusions>
+          <exclusion>
+            <groupId>*</groupId>
+            <artifactId>*</artifactId>
+          </exclusion>
+        </exclusions>
       </dependency>
       <dependency>
         <groupId>org.apache.hadoop</groupId>
         <artifactId>hadoop-hdfs</artifactId>
         <version>2.6.0</version>
+        <exclusions>
+          <exclusion>
+            <groupId>*</groupId>
+            <artifactId>*</artifactId>
+          </exclusion>
+        </exclusions>
       </dependency>
 
       <!-- Testing -->
@@ -443,11 +455,6 @@
       </dependency>
       <dependency>
         <groupId>org.slf4j</groupId>
-        <artifactId>slf4j-log4j12</artifactId>
-        <version>1.5.11</version>
-      </dependency>
-      <dependency>
-        <groupId>org.slf4j</groupId>
         <artifactId>jcl-over-slf4j</artifactId>
         <version>1.5.11</version>
       </dependency>
@@ -485,9 +492,9 @@
         <version>1.6.5</version>
         <exclusions>
           <exclusion>
-            <!-- Exclude Derby due to a sealing violation -->
-            <groupId>org.apache.derby</groupId>
-            <artifactId>derby</artifactId>
+            <!-- provides everything inlined. -->
+            <groupId>*</groupId>
+            <artifactId>*</artifactId>
           </exclusion>
         </exclusions>
       </dependency>
@@ -497,6 +504,13 @@
         <artifactId>hadoop-common</artifactId>
         <version>2.6.0</version>
         <type>test-jar</type>
+        <exclusions>
+          <exclusion>
+            <!-- jackrabbit-standalone provides one, too -->
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-log4j12</artifactId>
+          </exclusion>
+        </exclusions>
       </dependency>
       <dependency>
         <groupId>org.apache.hadoop</groupId>


Reply via email to