You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sylwester Lachiewicz (Jira)" <ji...@apache.org> on 2021/12/06 16:11: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=17454108#comment-17454108 ] 

Sylwester Lachiewicz commented on MRESOURCES-269:
-------------------------------------------------

Please try with updated maven-filtering dependency - should be fixed now

{{        <groupId>org.apache.maven.plugins</groupId>}}
{{        <artifactId>maven-resources-plugin</artifactId>}}
{{        <version>3.2.0</version>}}
{{        <dependencies>}}
{{                <dependency>}}
{{                        <groupId>org.apache.maven.shared</groupId>}}
{{                        <artifactId>maven-filtering</artifactId>}}
{{                        <version>3.3.0-SNAPSHOT</version>}}
{{                    </dependency>}}
{{          </dependencies>}}

> 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.20.1#820001)