You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Marc Guillemot (Jira)" <ji...@apache.org> on 2022/07/05 14:37:00 UTC

[jira] [Created] (MASSEMBLY-965) Symbolic links get copied with absolute path

Marc Guillemot created MASSEMBLY-965:
----------------------------------------

             Summary: Symbolic links get copied with absolute path
                 Key: MASSEMBLY-965
                 URL: https://issues.apache.org/jira/browse/MASSEMBLY-965
             Project: Maven Assembly Plugin
          Issue Type: Bug
    Affects Versions: 3.4.0
            Reporter: Marc Guillemot


Copied symbolic links in a `<fileset>` have an absolute path as target and not the one of the original resource.

Example:

Source: {{foo -> ../my-file1}}

Assembly: {{foo ->/home/marc/projects/demo/src/somestuff/myfile1}}

This is a regression compared to 3.3.0. According to git bisect, the problem has been introduced with commit

[https://github.com/apache/maven-assembly-plugin/commit/937750250bfe06333f92351fa1a19a9cd5e59d28]

Pull Request with failing integration test follows.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)