You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Yann Albou <ya...@club-internet.fr> on 2006/09/29 21:18:27 UTC

clean plugin

Hi,

When running "mvn clean", Is it posible to not remove the directory 
target but only what is inside ?

Yann.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: clean plugin

Posted by Neeraj Bisht <ne...@daffodildb.com>.
This is possible in maven 1.0.2 but not no, is it posible in maven2.0

On 9/30/06, Yann Albou <ya...@club-internet.fr> wrote:
>
> In our project we use symbolic links under windows (using a tools that
> simulates what is possible under unix/linux ;-)
> http://www.sysinternals.com/Utilities/Junction.html).
> Those symbolic links points on the target directory.
> So removing the target directory remove also the symbolic link...
>
> It would be very useful for us to have this little feature.
> Yann.
>
>
> dan tran wrote:
> > dont think it is possible.
> >
> > What is the point of removing every thing inside but not the directory?
> >
> > -D
> >
> >
> > On 9/29/06, Yann Albou <ya...@club-internet.fr> wrote:
> >>
> >> Hi,
> >>
> >> When running "mvn clean", Is it posible to not remove the directory
> >> target but only what is inside ?
> >>
> >> Yann.
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: clean plugin

Posted by Yann Albou <ya...@club-internet.fr>.
In our project we use symbolic links under windows (using a tools that 
simulates what is possible under unix/linux ;-) 
http://www.sysinternals.com/Utilities/Junction.html).
Those symbolic links points on the target directory.
So removing the target directory remove also the symbolic link...

It would be very useful for us to have this little feature.
Yann.


dan tran wrote:
> dont think it is possible.
> 
> What is the point of removing every thing inside but not the directory?
> 
> -D
> 
> 
> On 9/29/06, Yann Albou <ya...@club-internet.fr> wrote:
>>
>> Hi,
>>
>> When running "mvn clean", Is it posible to not remove the directory
>> target but only what is inside ?
>>
>> Yann.
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: clean plugin

Posted by dan tran <da...@gmail.com>.
dont think it is possible.

What is the point of removing every thing inside but not the directory?

-D


On 9/29/06, Yann Albou <ya...@club-internet.fr> wrote:
>
> Hi,
>
> When running "mvn clean", Is it posible to not remove the directory
> target but only what is inside ?
>
> Yann.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>