Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.0-beta-3
-
Component/s: wagon-http
-
Labels:None
-
Patch Submitted:Yes
-
Number of attachments :3
Description
The current dependency on httpclient brings in commons-logging and commons-codec, the former of which causes all sorts of problems with plugins when bundled in the maven uber jar as the default http wagon implementation. I created a jarjar version of commons-httpclient 3.1, which includes the two dependencies but renamed so they don't conflict with plugins.
-
- build.xml
- 29/Jan/08 5:20 AM
- 0.6 kB
- Don Brown
-
Hide
- commons-httpclient-3.1-standalone.jar
- 29/Jan/08 5:19 AM
- 373 kB
- Don Brown
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/LICENSE.txt 3 kB
- org/apache/commons/.../logging/Log.class 0.5 kB
- org/.../LogConfigurationException.class 1 kB
- org/apache/.../logging/LogFactory$1.class 0.6 kB
- org/apache/.../logging/LogFactory$2.class 2 kB
- org/apache/.../logging/LogFactory$3.class 0.9 kB
- org/apache/.../logging/LogFactory.class 7 kB
- org/apache/.../logging/LogSource.class 4 kB
- org/apache/.../impl/Jdk14Logger.class 4 kB
- org/apache/.../impl/Log4JCategoryLog.class 4 kB
- org/apache/.../impl/Log4JLogger.class 4 kB
- org/apache/.../impl/Log4jFactory.class 3 kB
- org/apache/.../impl/LogFactoryImpl$1.class 1 kB
- org/apache/.../impl/LogFactoryImpl.class 7 kB
- org/apache/.../impl/LogKitLogger.class 3 kB
- org/apache/commons/.../impl/NoOpLog.class 2 kB
- org/apache/.../impl/SimpleLog$1.class 0.9 kB
- org/apache/commons/.../impl/SimpleLog.class 9 kB
- org/apache/commons/.../impl/package.html 0.1 kB
- org/apache/commons/.../logging/package.html 10 kB
- META-INF/LICENSE.txt 11 kB
- org/apache/.../codec/BinaryDecoder.class 0.3 kB
- org/apache/.../codec/BinaryEncoder.class 0.3 kB
- org/apache/commons/.../codec/Decoder.class 0.3 kB
- org/apache/.../codec/DecoderException.class 0.4 kB
- org/apache/commons/.../codec/Encoder.class 0.3 kB
- org/apache/.../codec/EncoderException.class 0.4 kB
- org/apache/.../codec/StringDecoder.class 0.3 kB
- org/apache/.../codec/StringEncoder.class 0.3 kB
-
- httpclient-standalone.diff
- 29/Jan/08 5:19 AM
- 0.6 kB
- Don Brown
Activity
Hide
Brett Porter
added a comment -
I have an alternate solution that uses the shade plugin to achieve this, and just need to test it
Show
Brett Porter
added a comment - I have an alternate solution that uses the shade plugin to achieve this, and just need to test it
Hide
Brett Porter
added a comment -
this is done, but I think it's actually better to do this in Maven itself (so we can share the shaded classes with wagon-webdav)
Show
Brett Porter
added a comment - this is done, but I think it's actually better to do this in Maven itself (so we can share the shaded classes with wagon-webdav)
The diff fixes the pom.xml to use the new standalone version of httpclient. The jar is the standalone version that would need to be deployed to a repo somewhere. The build.xml is what I used to create the standalone version.