diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d4e0fd..8e4e4e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Upcoming changes... +## [0.5.3] - 2023-10-03 +### Added +- Added symbolic file check (to skip) + ## [0.5.2] - 2023-08-14 ### Added - Added support for manual proxy configuration (`--proxy`) @@ -48,3 +52,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [0.5.0]: https://github.com/scanoss/scanoss.java/compare/v0.4.0...v0.5.0 [0.5.1]: https://github.com/scanoss/scanoss.java/compare/v0.5.0...v0.5.1 [0.5.2]: https://github.com/scanoss/scanoss.java/compare/v0.5.1...v0.5.2 +[0.5.3]: https://github.com/scanoss/scanoss.java/compare/v0.5.2...v0.5.3 diff --git a/pom.xml b/pom.xml index b0d22c7..e7fa4a8 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.scanoss scanoss - 0.5.2 + 0.5.3 jar scanoss.java https://github.com/scanoss/scanoss.java diff --git a/src/main/java/com/scanoss/Scanner.java b/src/main/java/com/scanoss/Scanner.java index 14f78ba..2e516e9 100644 --- a/src/main/java/com/scanoss/Scanner.java +++ b/src/main/java/com/scanoss/Scanner.java @@ -315,7 +315,7 @@ public List processFileList(@NonNull String root, @NonNull List if (!filterFile(nameLower)) { Path fullPath = Path.of(root, file); File f = fullPath.toFile(); - if (f.exists() && f.isFile() && f.length() > 0) { + if (f.exists() && f.isFile() && f.length() > 0 && ! Files.isSymbolicLink(fullPath)) { Future future = executorService.submit(() -> processor.process(file, stripDirectory(root, file))); futures.add(future); }