[ https://jira.codehaus.org/browse/MSHARED-365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mikolaj Izdebski updated MSHARED-365: ------------------------------------- Description: There are test failures for symlink-related test cases when building from source-release zip. The reason is that maven-shared-utils-0.7-source-release.zip does not contain symbolic links, but tests depend on symbolic links being present in sources. There are no test failures when building from svn. After unpacking source-release.zip, {{src/test/resources/symlinks/src/symDir}} is a directory, not symlink, so {{FileUtilsTest.isASymbolicLink}} obviously fails. `DirectoryScannerTest.followSymlinksFalse` test fails for simillar reason. I recommend creating symlinks during test execution and not packaging them in source zip. was: There are test failures for symlink-related test cases when building from source-release zip. The reason is that maven-shared-utils-0.7-source-release.zip does not contain symbolic links, but tests depend on symbolic links being present in sources. There are no test failures when building from svn. After unpacking source-release.zip, `src/test/resources/symlinks/src/symDir` is a directory, not symlink, so `FileUtilsTest.isASymbolicLink` obviously fails. `DirectoryScannerTest.followSymlinksFalse` test fails for simillar reason. I recommend creating symlinks during test execution and not packaging them in source zip. > Test failures related to symlinks > --------------------------------- > > Key: MSHARED-365 > URL: https://jira.codehaus.org/browse/MSHARED-365 > Project: Maven Shared Components > Issue Type: Bug > Components: maven-shared-utils > Affects Versions: maven-shared-utils-0.7 > Environment: GNU/Linux > Reporter: Mikolaj Izdebski > > There are test failures for symlink-related test cases when building from > source-release zip. The reason is that > maven-shared-utils-0.7-source-release.zip does not contain symbolic links, > but tests depend on symbolic links being present in sources. There are no > test failures when building from svn. > After unpacking source-release.zip, > {{src/test/resources/symlinks/src/symDir}} is a directory, not symlink, so > {{FileUtilsTest.isASymbolicLink}} obviously fails. > `DirectoryScannerTest.followSymlinksFalse` test fails for simillar reason. > I recommend creating symlinks during test execution and not packaging them in > source zip. -- This message was sent by Atlassian JIRA (v6.1.6#6162)