You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Berche (Jira)" <ji...@apache.org> on 2021/01/27 13:59:00 UTC

[jira] [Commented] (MRESOURCES-269) Symlinks cause copying resources to fail

    [ https://issues.apache.org/jira/browse/MRESOURCES-269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17272875#comment-17272875 ] 

Guillaume Berche commented on MRESOURCES-269:
---------------------------------------------

same issue in my project, copy of symlink in src/test/resources where failing after upgrading to 3.2.0. Downgrade to 3.2.1 fixed the issue, see [https://github.com/orange-cloudfoundry/cf-ops-automation-broker/commit/ac17b0db1ebd449d758ea9780e50abb9234122f5] 

Thanks jks!

> Symlinks cause copying resources to fail
> ----------------------------------------
>
>                 Key: MRESOURCES-269
>                 URL: https://issues.apache.org/jira/browse/MRESOURCES-269
>             Project: Maven Resources Plugin
>          Issue Type: Bug
>    Affects Versions: 3.2.0
>            Reporter: jks
>            Priority: Major
>             Fix For: waiting-for-feedback
>
>         Attachments: MRESOURCES-269.tar.gz, log.txt
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)