In Bamboo, I have created a project to run tests exclusively. The following dependency is mentioned in the pom.xml.
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
</dependency>
Source and test java classes are compiled successfully. But when tests start executing then I see the following error:
java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.httpclient.HttpClient
Please let me know if these dependencies are available for tests or not. Do I need to place these jars anywhere else other than the local maven repo? Thanks