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 2023/01/01 11:09:00 UTC

[jira] [Commented] (MSHARED-1112) Copy symlinks failed - NoSuchFileException

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

Sylwester Lachiewicz commented on MSHARED-1112:
-----------------------------------------------

Fixed with [https://github.com/apache/maven-filtering/commit/12f7f92d9d53b760c665d38c00790ad2e4f74282] 

> Copy symlinks failed - NoSuchFileException
> ------------------------------------------
>
>                 Key: MSHARED-1112
>                 URL: https://issues.apache.org/jira/browse/MSHARED-1112
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-filtering
>    Affects Versions: maven-filtering-3.2.0, maven-filtering-3.3.0
>            Reporter: Slawomir Jaranowski
>            Assignee: Sylwester Lachiewicz
>            Priority: Major
>             Fix For: maven-filtering-3.3.1
>
>
> Tested on maven-shared-utils
> h4. m-resource-p 3.2.0 -> m-filtering 3.2.0, m-resource-p 3.3.0 -> m-filtering 3.3.0
> {code:java}
> Caused by: java.nio.file.NoSuchFileException: .../maven-shared-utils/target/test-classes/symlinks/src/symX
>     at sun.nio.fs.UnixException.translateToIOException (UnixException.java:86)
>     at sun.nio.fs.UnixException.rethrowAsIOException (UnixException.java:102)
>     at sun.nio.fs.UnixException.rethrowAsIOException (UnixException.java:107)
>     at sun.nio.fs.UnixFileAttributeViews$Posix.setMode (UnixFileAttributeViews.java:238)
>     at sun.nio.fs.UnixFileAttributeViews$Posix.setPermissions (UnixFileAttributeViews.java:260)
>     at java.nio.file.Files.setPosixFilePermissions (Files.java:2045)
>     at org.apache.maven.shared.filtering.FilteringUtils.copyFilePermissions (FilteringUtils.java:477)
>     at org.apache.maven.shared.filtering.FilteringUtils.copyFile (FilteringUtils.java:457)
>     at org.apache.maven.shared.filtering.DefaultMavenFileFilter.copyFile (DefaultMavenFileFilter.java:110)
>     at org.apache.maven.shared.filtering.DefaultMavenResourcesFiltering.filterResources (DefaultMavenResourcesFiltering.java:277)
>     at org.apache.maven.plugins.resources.ResourcesMojo.execute (ResourcesMojo.java:356)
> ...
> {code}
> h4. m-resource-p 3.1.0 -> m-filtering 3.1.1
> build ok



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