Uploaded image for project: 'Maven Resources Plugin'
  1. Maven Resources Plugin
  2. MRESOURCES-269

Symlinks cause copying resources to fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.3.1
    • None
    • None

    Description

      Copying a symlink fails if the target does not exist.  If the symlink is relative the order that the resources are copied matter.  If A points to B but A is copied before B the copying of A will fail with a non-helpful message "Failed to execute goal ... on project xxx: <file path here>".

       

      This started failing for me on 3.2.0 (and works on 3.1.0) but that might be because somewhere in the dependencies the traversal order changed somehow.

      Attachments

        1. log.txt
          10 kB
          Simon Natterer
        2. MRESOURCES-269.tar.gz
          0.7 kB
          Simon Natterer

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jks@iname.com jks
              Votes:
              6 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: