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

Symbolic links created by the plugin are absolute (i.e., the build environment is leaking through them)

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.4.2
    • None
    • None
    • None
    • ubuntu 22.04, maven 3.8.6, assembly plugin 3.4.2

    Description

      To recreate this:

      create a folder, then create a file in it. create a symlink to the file from the parent of the previously created folder (should be a relative link e.g., run ln -s folder/file from parent).

      create an assembly descriptor that creates a tar.gz from the parent of the above create folder and run it. 1) The produced tgz will contain a symlink which is broken. 2) the produced symlink leaks information about the build environment as instead of the original folder/file symlink we end up with the complete path of the assembled project + parent/folder/file.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            gabor-sh Gabor Kecskemeti
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment