Option to "mvn clean" task not to follow soft links
---------------------------------------------------
Key: MNG-2374
URL: http://jira.codehaus.org/browse/MNG-2374
Project: Maven 2
Type: New Feature
Environment: UNIX
Reporter: Roar Lauritzsen
Priority: Minor
Our project builds an executable into our "install" subproject under
"install/target". To do a test-run of this executable, I usually symlink a
directory containing about 1 million test-data files into the directory tree
below "target". I much prefer symlinking this test-data directory instead of
copying it, because of the time it takes to copy.
However, if I inadvertently do "mvn clean" without removing this link, maven
will follow the symlink and recursively remove my whole input document
directory.
An option to "mvn clean", like "dontFollowSymlinks", could do the trick
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira