Surprisingly, everything works with 2.0
MODIFY
dd-java-agent/instrumentation/commons-httpclient-3/commons-httpclient-3.gradle
dd-java-agent/instrumentation/commons-httpclient-3/commons-httpclient-3.gradle
muzzle {
- // There are lots of weird versions in this project like "20020423"
- // Keep things simple with just 3.x
pass {
group = "commons-httpclient"
module = "commons-httpclient"
- versions = "3.+"
+ versions = "[2.0,]"
+ assertInverse = true
}
}
@@ -18,9 +17,9 @@ testSets {
}
dependencies {
- compileOnly group: 'commons-httpclient', name: 'commons-httpclient', version: '3.0'
+ compileOnly group: 'commons-httpclient', name: 'commons-httpclient', version: '2.0'
- testCompile group: 'commons-httpclient', name: 'commons-httpclient', version: '3.0'
+ testCompile group: 'commons-httpclient', name: 'commons-httpclient', version: '2.0'
- latestDepTestCompile group: 'commons-httpclient', name: 'commons-httpclient', version: '3.+'
+ latestDepTestCompile group: 'commons-httpclient', name: 'commons-httpclient', version: '+'
}

Surprisingly, everything works with 2.0