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!
I’ve 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]

Reply via email to