Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-1112

Copy symlinks failed - NoSuchFileException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • maven-filtering-3.2.0, maven-filtering-3.3.0
    • maven-filtering-3.3.1
    • maven-filtering
    • None

    Description

      Tested on maven-shared-utils

      m-resource-p 3.2.0 -> m-filtering 3.2.0, m-resource-p 3.3.0 -> m-filtering 3.3.0

      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)
      ...
      

      m-resource-p 3.1.0 -> m-filtering 3.1.1

      build ok

      Attachments

        Issue Links

          Activity

            People

              slachiewicz Sylwester Lachiewicz
              sjaranowski Slawomir Jaranowski
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: