Mikolaj Izdebski opened MSHARED-365 and commented
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.
Affects: maven-shared-utils-0.7
Mikolaj Izdebski opened MSHARED-365 and commented
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.zipdoes 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/symDiris a directory, not symlink, soFileUtilsTest.isASymbolicLinkobviously fails.DirectoryScannerTest.followSymlinksFalsetest fails for simillar reason.I recommend creating symlinks during test execution and not packaging them in source zip.
Affects: maven-shared-utils-0.7