Re: [m2] add resources to surefire execution

2007-02-23 Thread apill

I've had the same problem. Just giving this a bump as there are no replies.


davidkarlsen wrote:
 
 Hi List!
 
 I got some resources for the testing phase that should exist on the 
 classpath while testing with surefire.
 
 If I merely add
 
 testResources
 
 testResource   
 directory${basedir}/src/test/config/directory
 /testResource
 
 testResource
 directory${basedir}/src/main/config/directory
 /testResource
 
 /testResources
 
 The tests run fine - but as I don't want the resources added to the 
 attached tests (I jar the tests at testing phase) - I changed the 
 configuration of resources to place the resources in 
 target/test-resources with the targetPath element.
 
 But now I have to add this directory to the classpath while executing 
 tests - but the classpath list for surefire is readonly.
 
 Any tricks to get around this?
 
 
 
 
 -- 
 David J. M. Karlsen - +47 90 68 22 43
 http://www.davidkarlsen.com
 http://mp3.davidkarlsen.com
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/-m2--add-resources-to-surefire-execution-tf2005090s177.html#a9119223
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: [m2] IncompatibleClassChangeError using maven-surefire-plugin 2.1.3

2006-04-10 Thread apill

I have the identical situation with cobertura and surefire.

Did you manage to find a permanent solution for other users?
--
View this message in context: 
http://www.nabble.com/-m2-IncompatibleClassChangeError-using-maven-surefire-plugin-2.1.3-t1412704.html#a3843168
Sent from the Maven - Users forum at Nabble.com.


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