maven-wagon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From denn...@apache.org
Subject svn commit: r997128 - /maven/wagon/trunk/wagon-providers/wagon-http-shared/pom.xml
Date Tue, 14 Sep 2010 22:41:36 GMT
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


Mime
View raw message