You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vinicius Dantas (JIRA)" <ji...@apache.org> on 2015/07/03 22:34:04 UTC

[jira] [Created] (MASSEMBLY-776) File's source does not take some cases of absolute paths as absolute paths.

Vinicius Dantas created MASSEMBLY-776:
-----------------------------------------

             Summary: File's source does not take some cases of absolute paths as absolute paths.
                 Key: MASSEMBLY-776
                 URL: https://issues.apache.org/jira/browse/MASSEMBLY-776
             Project: Maven Assembly Plugin
          Issue Type: Bug
          Components: component descriptor
    Affects Versions: 2.5.5
         Environment: Windows
            Reporter: Vinicius Dantas
            Priority: Minor


Using an absolute path that starts with either forward or backward slash is not accepted.
It happens because of Java's File.isAbsolute(), which does not recognize paths starting at either forward or backward as absolute paths on Windows. However, those prefixes are acceptable on Windows.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)