diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b5f703..e87a7ec 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.5] - 2023-10-25 +### Fixed +- Fixed issue with `processFileList` file path + ## [0.5.4] - 2023-10-23 ### Added - Added extra debug information to scanning @@ -58,3 +62,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [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 [0.5.4]: https://github.com/scanoss/scanoss.java/compare/v0.5.3...v0.5.4 +[0.5.5]: https://github.com/scanoss/scanoss.java/compare/v0.5.4...v0.5.5 diff --git a/pom.xml b/pom.xml index 1239f08..f977043 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.scanoss scanoss - 0.5.4 + 0.5.5 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 e00f536..b95a022 100644 --- a/src/main/java/com/scanoss/Scanner.java +++ b/src/main/java/com/scanoss/Scanner.java @@ -316,8 +316,9 @@ public List processFileList(@NonNull String root, @NonNull List Path fullPath = Path.of(root, file); File f = fullPath.toFile(); if (f.exists() && f.isFile() && f.length() > 0 && ! Files.isSymbolicLink(fullPath)) { - log.debug("Adding file to processing list: {}", file); - Future future = executorService.submit(() -> processor.process(file, stripDirectory(root, file))); + String filename = f.toString(); + log.debug("Adding file to processing list: {} - {}", file, filename); + Future future = executorService.submit(() -> processor.process(filename, stripDirectory(root, filename))); futures.add(future); } }