You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org> on 2014/09/27 09:43:10 UTC

[jira] (MSHARED-350) Improve semantics of followSymlinks

Kristian Rosenvold created MSHARED-350:
------------------------------------------

             Summary: Improve semantics of followSymlinks
                 Key: MSHARED-350
                 URL: https://jira.codehaus.org/browse/MSHARED-350
             Project: Maven Shared Components
          Issue Type: Bug
            Reporter: Kristian Rosenvold


The behaviour of "followSymlinks" is not good. When the value is "true", it does what you expect it to, namely traverse (resolve) symlinks and include the stuff that is pointed to.

The value of "false" should include the unresolved symlink file in the result, but not traverse into any directories pointed to by the symlink. As for file symlinks, setting "followLinks" to false should include the symlinked file.

This mode is a slight change of semantics for the value of "false", which currently has a slightly odd behaviour. Using false will for the future always include the unresolved symlink in the result. A future option to "ignore" symlinks may be considered if needed.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)