Why would you have a symlink in your target folder to someplace important?

On Mon, May 4, 2009 at 5:25 PM, Bouiaw <bou...@gmail.com> wrote:

> Hi,
>
> Sorry to write again about clean plugin, but there is currently 2 VERY big
> bugs in Maven clean with no workaround.
>
> http://jira.codehaus.org/browse/MCLEAN-32 : when you have a big project
> with
> a lot of files (very common with war), Maven load in  memory a complete
> object representatof of the files that are in the target directory. With
> one
> of our projects that have some thousand of files, Maven fails to clean
> target directory with a out of memory error even if we have set XMX to 768
> Mbytes !!! A rm -rf take 3 seconds and use no memory !
>
> http://jira.codehaus.org/browse/MCLEAN-39 : if you have a symlink in your
> target that  for example to /home directory, run mvn clean on the project.
> Result : no more files in your /home directory. mvn clean follow symlink BY
> DEFAULT and there is no way to avoid that even with additional
> configuration
> !
>
> These are 2 oustanding issues that affect every body using Maven, I hope
> Brian or anybody else will be able to fix these bugs.
>
> Regards,
> Bouiaw
>

Reply via email to