diff --git a/pom.xml b/pom.xml index 6b075ff..afcfd55 100644 --- a/pom.xml +++ b/pom.xml @@ -179,14 +179,9 @@ single - - - ${exec.mainClass} - - - with-dependencies-excluded-slf4j + with-dependencies-exclude-slf4j-simple jar @@ -197,7 +192,6 @@ true true - org.slf4j:slf4j-api org.slf4j:slf4j-simple @@ -302,4 +296,4 @@ - \ No newline at end of file + diff --git a/src/main/java/com/scanoss/ScannerPostProcessor.java b/src/main/java/com/scanoss/ScannerPostProcessor.java index 009fa3a..ebb8dcc 100644 --- a/src/main/java/com/scanoss/ScannerPostProcessor.java +++ b/src/main/java/com/scanoss/ScannerPostProcessor.java @@ -257,7 +257,6 @@ private ScanFileDetails createUpdatedResultDetails(ScanFileDetails existingCompo .build(); } - /** * Applies remove rules to scan results, filtering out matches based on certain criteria. *

@@ -265,8 +264,8 @@ private ScanFileDetails createUpdatedResultDetails(ScanFileDetails existingCompo * - Rule must match either both path and purl, just the path, or just the purl *

* Then, for each matched result: - * 1. If none of the matching rules define line ranges -> Remove the result - * 2. If any matching rules define line ranges -> Only remove if the result's lines overlap with any rule's line range + * 1. If none of the matching rules define line ranges → Remove the result + * 2. If any matching rules define line ranges → Only remove if the result's lines overlap with any rule's line range * * @param results The list of scan results to process * @param rules The list of remove rules to apply