Hi Nicolas,

Thanks for your suggestion.

I tried something like this, but it doesn't seems to be working for me :(
  <sourceModifications>
   <sourceModification>
    <className>ProcessorTest</className>
    <excludes>
     <exclude>**test*.java</exclude>
     <exclude>**Test*.java</exclude>
    </excludes>
   </sourceModification>
  </sourceModifications>

Am particularly not sure about the value for <className> tag.
Do I need to set any other parameters too???

Can any one provide a working version.

Thanks & Regards
Ranes.

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Thursday, November 06, 2003 4:02 PM
Subject: Re: How do I exclude files from compile


Add an <exclude> with the your patern in the build of your pom

see :
http://maven.apache.org/reference/project-descriptor.html#sourceModification
s

Nicolas,






"R a n e s" <[EMAIL PROTECTED]>
06/11/2003 11:19
Veuillez r�pondre � "Maven Users List"


        Pour :  "Maven User List" <[EMAIL PROTECTED]>
        cc :
        Objet : How do I exclude files from compile


Hi All,
Is there any way I can exclude files (of a paticular pattern say
*ABC*.java ) from the source directory, while compiling?

Thanks & Regards,
 Ranes.




---------------------------------------------------------------------
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