The stars in Maven paths work just like the stars in Ant paths, which
might be documented a little better so check the Ant site. Definitely
not the same as dot-dot.
Wayne
On 1/2/08, amit kumar <[EMAIL PROTECTED]> wrote:
> What do the stars represent here? Is it same as ../ in linux/windows? Or are
> they some sort of regular expression, because in my case CVS folder is there
> inside every folder not just one directory ( The project directory is a CVS
> checked out directory).
>
> Regards,
> Amit
>
> On Jan 3, 2008 1:01 AM, Lee Meador <[EMAIL PROTECTED]> wrote:
>
> > 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
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]