Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-776

File's source does not take some cases of absolute paths as absolute paths.

    XMLWordPrintableJSON

Details

    Description

      Using an absolute path that starts with either forward or backward slash is not accepted.
      It happens because Java's File.isAbsolute() does not recognize paths starting at either forward or backward as absolute paths on Windows. However, those prefixes are acceptable on Windows.
      This function is used at main/java/org/apache/maven/plugin/assembly/archive/phase/FileItemAssemblyPhase.java, line 76 to know if the source is either absolute or relative.

      Attachments

        Activity

          People

            Unassigned Unassigned
            vmelo Vinicius Dantas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: