java-maven2: How to include the a jar as depedency in pom so that I will be able to access test clas

Posted by flavour-of-bru on Stack Overflow See other posts from Stack Overflow or by flavour-of-bru
Published on 2010-06-07T04:12:05Z Indexed on 2010/06/07 4:22 UTC
Read the original article Hit count: 174

Filed under:
|

Hi,

I have a set of functional jars(more than 3) that tests my source code. These jars just contains test classes and assisting asserter classes. I am creating a new performance jar that would import all the functional tests from these jars so that all can be run simultaneously. But when I include them as test dependencies in pom of current jar, what all I get to see is the classes in src/main/java. How can I include these functional jars as dependent jars so that I can also reference classes in src/test/java. In other words, how do I reference the test classes in other jars. In what way should I include the dependency as.

Thanks for your support.

© Stack Overflow or respective owner

Related posts about java

Related posts about maven-2