<dependency>
 <groupId>X</groupId>
 <artifactId>Y</artifactId>
 <version>Z</version>
</dependency>
<dependency>
 <groupId>X</groupId>
 <artifactId>Y</artifactId>
 <version>Z</version>
 <type>test-jar</type>
My example was of course incomplete, I had

     <scope>test</scope>

on the test-jar dep.

Regards,

Tobias
</dependency>

and somehow the classpath contained only the test-jar dependeny when the tests were executed. I think this is bug http://jira.codehaus.org/browse/MNG-1971. Since there seems to be no real work-around I just removed the <type>test-jar</type> from the dependency.

Regards,

Tobias


There are no differences between 'mvn help:effective-settings' and/or 'mvn help:effective-pom' and the artifact a jar that was downloaded contains the class; which makes sense because how else can the code compile.

I am stumped.


Regards,
Alan


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to