Thanks, it works in the way that M2 doesn't protest, but it still doesn't seems to include the additional directory in the classpath. Is there a way to debug and see what directories are included in the test classpath, or do the surefire plugin just use the local JUnit-settings?
Regards, /B-E -----Ursprungligt meddelande----- Från: Doug Douglass [mailto:[EMAIL PROTECTED] Skickat: den 10 januari 2006 19:26 Till: Maven Users List Ämne: Re: Not possible to add multiple test resources I'm not using m2 in production yet, but with m1 you would define another resource (testResource in your case), one directory per resource. I don't think this model has changed. In other words: <testResources> <testResource> <directory>src/test/resources</directory> </testResource> <testResource> <directory>src/main/webapp/WEB-INF</directory> </testResource> </testResources> Perhaps check the POM model. Doug Bengt-Erik Fröberg wrote: >Hi again! >Ive developed a taste for this mailing list > >Is it really true that this is not possible!? > ><testResource> > <directory>src/test/resources</directory> > <directory>src/main/webapp/WEB-INF</directory> ></testResource> > >M2 chokes on it... kinda' takes the greatness out of XML, don't you think? > >I need to add another directory to the test classpath.... how do I do? >(Beginning to REALLY look forward to a comprehensive Maven2 book) > >Regards, > >/B-E > > > > >--------------------------------------------------------------------- >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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]