[ 
https://issues.apache.org/jira/browse/MCLEAN-10?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17958707#comment-17958707
 ] 

Olivier Lamy commented on MCLEAN-10:
------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-clean-plugin#126|https://github.com/apache/maven-clean-plugin/issues/126].
 

> Option to "mvn clean" task not to follow soft links
> ---------------------------------------------------
>
>                 Key: MCLEAN-10
>                 URL: https://issues.apache.org/jira/browse/MCLEAN-10
>             Project: Maven Clean Plugin (Moved to GitHub Issues)
>          Issue 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 was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to