BTW, we're happy to accept patches! If you have code that fixes this,
please let me know. I'll review and apply where appropriate.
Bouiaw 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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org