Good day to you, Petr,

By default, the maven-clean-plugin is what maven uses to delete your files
in target. To have it delete files other than your target, use fileset ( see
[1] ).

Cheers,
Franz

[1]
http://maven.apache.org/plugins/maven-clean-plugin/examples/delete_additional_files.html


Great Man wrote:
> 
> Thanks Wayne.
> 
> I was able to build my project by integrating ant tasks in <tasks>. I
> issued mvn compile and my ant tasks were executed.
> 
> Now is the next phase. It is about clean up. 
> 
> When I do mvn clean then target directory is deleted but my project was
> creating some other directories outside of target diretcory and I need to
> delete them too explicitly which I should be able to do via ant tasks but
> I can not place them in  <tasks>. Any idea how to approach this ?
> 
> Thanks in advance
> 
> Petr
> 
> 
> 
> 
> 
> Wayne Fay <[EMAIL PROTECTED]> wrote: This is very well documented on the
> Maven site:
> http://maven.apache.org/guides/mini/guide-using-ant.html
> 
> Wayne
> 
> On 4/3/07, Great Man  wrote:
>>
>>
>> Note: forwarded message attached.
>>
>>  ________________________________
>> Bored stiff? Loosen up...
>> Download and play hundreds of games for free on Yahoo! Games.
>>
>> ---------- Forwarded message ----------
>> From: Great Man 
>> To: [email protected]
>> Date: Tue, 3 Apr 2007 12:45:29 -0700 (PDT)
>> Subject: Ant Script from Maven
>> I have one ant script and I wanna call it from my maven pom. Is this
>> possible ? Any pointer is appreciated. My maven knowledge is of novice
>> level
>> so please care to explain. Thanks in advance.
>>
>> Petr
>>
>>
>>
>>
>>  ________________________________
>> Now that's room service! Choose from over 150,000 hotels
>> in 45,000 destinations on Yahoo! Travel to find your fit.
>>
>>
>> ---------------------------------------------------------------------
>> 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]
> 
> 
> 
>  
> ---------------------------------
> Bored stiff? Loosen up...
> Download and play hundreds of games for free on Yahoo! Games.
> 

-- 
View this message in context: 
http://www.nabble.com/Ant-Script-from-Maven-tf3521956s177.html#a9828307
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to