This is not to short circuit the documentation effort, but the usage is:

<build>
 [...]
   <plugin>
     <artifactId>maven-clean-plugin</artifactId>
     <configuration>
       <filesets>
         <fileset>
           <directory>some/relative/path</directory>
           <includes>
             <include>**/*.tmp</include>
             <include>**/*.log</include>
           </includes>
           <excludes>
             <exclude>**/important.log</exclude>
             <exclude>**/another-important.log</exclude>
           </excludes>
           <followSymlinks>false</followSymlinks>
         </fileset>
       </filesets>
     </configuration>
[...]
</build>

HTH,

john

On 6/23/06, Mike Perham <[EMAIL PROTECTED]> wrote:

The current clean plugin in SVN has a filesets configuration element -
"The list of filesets to delete, in addition to the default directories"
but there's no documentation on how to use it.

http://jira.codehaus.org/browse/MCLEAN-12

> -----Original Message-----
> From: dan tran [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 23, 2006 10:14 AM
> To: Maven Users List
> Subject: Re: Deleting additional directories during clean
>
> bind maven-antrun-plugin to execute your clean task at "clean" phase
>
> On 6/23/06, Aleksei Valikov <[EMAIL PROTECTED]> wrote:
> >
> > Hi.
> >
> > How could I instruct Maven to deleta additional directories
> during the
> > clean phase?
> >
> > Thanks for your time...
> >
> > Bye.
> > /lexi
> >
> >
> ---------------------------------------------------------------------
> > 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