Try **/CVS/**/*.* or some similar set of stars.

-- Lee

On Jan 2, 2008 3:45 AM, amit kumar <[EMAIL PROTECTED]> wrote:

> I want to exclude this CVS Folder present in every folder inside
> <webappDirectory>.
>
> On Jan 2, 2008 2:44 PM, amit kumar <[EMAIL PROTECTED]> wrote:
>
> > Can I exclude a directory as such?
> >
> >
> > On Jan 1, 2008 6:29 PM, amit kumar <[EMAIL PROTECTED]> wrote:
> >
> > > Hi,
> > > I am facing this problem of getting CVS files packaged in the WAR
> build
> > > from maven. I am overriding the maven's default directory layout.
> Below is
> > > the part of my pom.xml
> > >
> > >  <build>
> > >           <finalName>Portal</finalName>
> > >         <plugins>
> > >             <plugin>
> > >                 <groupId>org.apache.maven.plugins</groupId>
> > >                 <artifactId>maven-war-plugin</artifactId>
> > >                 <version>2.0</version>
> > >                 <configuration>
> > >                     <webappDirectory>
> > >                         ${basedir}/webRoot
> > >                     </webappDirectory>
> > >                     <excludes>
> > >              <exclude>**/CVS</exclude>
> > >           </excludes>
> > >                 </configuration>
> > >             </plugin>
> > >             <plugin>
> > >                 <groupId>org.apache.maven.plugins</groupId>
> > >                 <artifactId>maven-compiler-plugin</artifactId>
> > >                 <configuration>
> > >                     <source>1.5</source>
> > >                     <target>1.5</target>
> > >                     <optimize>true</optimize>
> > >                 </configuration>
> > >             </plugin>
> > >         </plugins>
> > >         <sourceDirectory>${basedir}/src</sourceDirectory>
> > >         <directory>C:\finalbuilds\readioneportal</directory>
> > >         <resources>
> > >         <resource>
> > >              <directory>${basedir}/resources</directory>
> > >         </resource>
> > >         </resources>
> > >     </build>
> > >
> > > How shall I avoid this? Any help?
> > >
> > > Regards,
> > > Amit
> > >
> >
> >
>



-- 
-- Lee Meador
Sent from gmail. My real email address is lee AT leemeador.com

Reply via email to