I have used 2.0.2 and even 2.1-alpha-1. CVS files don't get excluded unless until i use webResources additionally to again point to the webroot directory and then excluding it.
what works fine for me is <webappDirectory>${basedir)/webRoot</webappDirectory> <webResources> <resource> <directory>${basedir)/webRoot</directory> <excludes> <exclude>**/CVS</exclude> <exclude>**/*.bak</exclude> </excludes> </resource> </webResources> I tried like this <webappDirectory>${basedir)/webRoot</webappDirectory> <excludes> <exclude>**/CVS</exclude> <exclude>**/*.bak</exclude> </excludes> But did not work, tried all the possible combinations like <excludes>**/CVS</excludes>, but did not work. Regards, Amit On 1/9/08, Stephane Nicoll <[EMAIL PROTECTED]> wrote: > you don't need to exclude CVS files unless you're running the very old > v2.0. Use v2.0.2 > > Stéphane > > On Jan 9, 2008 12:23 PM, amit kumar <[EMAIL PROTECTED]> wrote: > > Hi, > > when I use <webappDirectory> for my webroot directory the exclusion of > > files doesn't work( I want to exclude CVS files. But it works fine > > with <webResources> tag. What is the work around for <webappDirectory> > > or some other tag available? > > > > > > regards, > > Amit > > > > > > On 1/5/08, Stephane Nicoll <[EMAIL PROTECTED]> wrote: > > > webappDirectory is for the main web app structure. webResources is a > > > list of webapp-application related resources. The latter has been > > > added afterwards for convenience. > > > > > > Regards, > > > Stéphane > > > > > > On Jan 3, 2008 7:27 AM, amit kumar <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I see to tags in maven-war-plugin, <webappDirectory> and > <webResources> > > > tag, > > > > what is the difference between two? > > > > > > > > Regards, > > > > Amit > > > > > > > > > > > > > > > > -- > > > Large Systems Suck: This rule is 100% transitive. If you build one, > > > you suck" -- S.Yegge > > > > > > --------------------------------------------------------------------- > > > 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] > > > > > > > > -- > Large Systems Suck: This rule is 100% transitive. If you build one, > you suck" -- S.Yegge > > --------------------------------------------------------------------- > 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]