Allan, <resources> works fine for the main source.  <testResources> does
not work for resources within the test source.  

I'm not positive but some browsing of the Maven 2 source led me to
believe support for <testResources> is not in MavenXpp3Parser.java and
so any POM with that element does not work even though it is listed as
supported in the POM element documentation.

mike

-----Original Message-----
From: Allan Ramirez [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 24, 2005 7:56 PM
To: Maven Users List
Subject: Re: [M2] plugin configuration

Mike Perham wrote:

>
>2) We put all our necessary resources right along with the code.  How 
>do I tell the two resource copy goals to copy anything non-java from 
>the source directory instead of using a separate resource directory?
>
>
Hi Mike,

    for your no. 2 problem, I am not sure but have you tried to
configure your <resource> element?
   

  <resource>
    <directory>src/java</directory>
    <includes>
      <include>**/*.properties</include>
    </includes>
    <excludes>
      <exclude>*.java</exclude>
    </excludes>
  </resource>



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

Reply via email to