In a multi module project I have a dependency on ProjectB (main and test) in ProjectA's pom configured as
<dependency>
<groupId>com.company</groupId>
<artifactId>ProjectB</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.company</groupId>
<artifactId>ProjectB</artifactId>
<version>0.0.1-SNAPSHOT</version>
<type>test-jar</type>
</dependency>
When i attempt to package the project using the webstart-maven-plugin the test-jar is excluded from the lib directory. Is there a way to include it?
The plugin logs contain this line which indicates the test-jar dependency is being skipped.
[DEBUG] artifact axis:axis-wsdl4j:jar:1.5.1:compile doesn't contain the main class: com.company.ui.ApplicationWindow
[INFO] Skipping artifact of type test-jar for lib
[DEBUG] artifact com.jgoodies:jgoodies-looks:jar:2.5.3:compile doesnt contain the main class: com.company.ui.ApplicationWindow
Thanks.