You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wagon-commits@maven.apache.org by de...@apache.org on 2010/09/15 00:41:36 UTC

svn commit: r997128 - /maven/wagon/trunk/wagon-providers/wagon-http-shared/pom.xml

Author: dennisl
Date: Tue Sep 14 22:41:36 2010
New Revision: 997128

URL: http://svn.apache.org/viewvc?rev=997128&view=rev
Log:
[WAGON-60] wagon-webdav fails with commons-logging classloader issues

This was solved by excluding the version of commons-logging (1.0.4) that comes transitively from commons-httpclient 3.1, and instead adding a direct dependency on commons-logging 1.1.1. Version 1.1.1 of commons-logging is more tolerant with regards to class loader issues than version 1.0.4.

Modified:
    maven/wagon/trunk/wagon-providers/wagon-http-shared/pom.xml

Modified: maven/wagon/trunk/wagon-providers/wagon-http-shared/pom.xml
URL: http://svn.apache.org/viewvc/maven/wagon/trunk/wagon-providers/wagon-http-shared/pom.xml?rev=997128&r1=997127&r2=997128&view=diff
==============================================================================
--- maven/wagon/trunk/wagon-providers/wagon-http-shared/pom.xml (original)
+++ maven/wagon/trunk/wagon-providers/wagon-http-shared/pom.xml Tue Sep 14 22:41:36 2010
@@ -55,6 +55,25 @@ under the License.
       <groupId>commons-httpclient</groupId>
       <artifactId>commons-httpclient</artifactId>
       <version>3.1</version>
+      <!--
+        The version of commons-logging that comes transitively has class loader
+        problems. So we exclude it here and add a newer version below.
+      -->
+      <exclusions>
+        <exclusion>
+          <groupId>commons-logging</groupId>
+          <artifactId>commons-logging</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <!--
+      This dependency is here to upgrade to a version of commons-logging that is
+      newer than the one that comes transitively from commons-httpclient above.
+    -->
+    <dependency>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging</artifactId>
+      <version>1.1.1</version>
     </dependency>
   </dependencies>
 </project>



---------------------------------------------------------------------
To unsubscribe, e-mail: wagon-commits-unsubscribe@maven.apache.org
For additional commands, e-mail: wagon-commits-help@maven.apache.org