I'm working on upgrading my pom file to work with the new 2.0 style parent plugin and harness but hitting road blocks again. I wasn't getting this error when I was running things on my macbook, but am getting it on my linux desktop.
Tests run: 6, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 49.411 sec <<< FAILURE! - in InjectedTest
org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest) Time elapsed: 0.002 sec <<< ERROR!
java.lang.NoClassDefFoundError: org/apache/http/config/Lookup
Caused by: java.lang.ClassNotFoundException: org.apache.http.config.Lookup
I've been trying to dig into this, but I can't figure out why this is failing, httpclient seems to be required by various plugins. I'm not directly requiring it, but I've tried and it still gives the error.
Any suggestions on what to do next would be greatly appreciated.
Debugging Information:
$ mvn -v
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00)
Maven home: /opt/apache-maven-3.3.9
Java version: 1.8.0_31, vendor: Oracle Corporation
Java home: /opt/jdk1.8.0_31/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-327.22.2.el7.x86_64", arch: "amd64", family: "unix"
$ mvn org.apache.maven.plugins:maven-dependency-plugin:2.10:list | grep httpclient
[INFO] commons-httpclient:commons-httpclient:jar:3.1:compile
[INFO] org.apache.httpcomponents:httpclient:jar:4.2.5:compile