Skip to content

Commit 56b9014

Browse files
authored
fix/refactor(CLL): Bump CLL version to 2.1.1 to exclude irrelevant directories when searching for locations (IDETECT-4810) (#1572)
* Update release notes, edit property description to fix wording, and bum CLl version. * Reword release note
1 parent d60a17e commit 56b9014

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ dependencies {
166166
implementation "com.blackduck.integration:blackduck-common:${blackDuckCommonVersion}"
167167
implementation 'com.blackduck.integration:blackduck-upload-common:4.1.2'
168168
implementation 'com.blackducksoftware:method-analyzer-core:1.0.1'
169-
implementation "${locatorGroup}:${locatorModule}:2.1.0"
169+
implementation "${locatorGroup}:${locatorModule}:2.1.1"
170170

171171
implementation 'org.apache.maven.shared:maven-invoker:3.0.0'
172172

documentation/src/main/markdown/currentreleasenotes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
* (IDETECT-4813) Fix Gradle Native Inspector to correctly identify projects with only `settings.gradle` or `settings.gradle.kts` file in the root directory.
5757
* (IDETECT-4812) Gradle Native Inspector now supports configuration cache (refactored `init-detect.gradle` to add support for configuration cache in Gradle projects).
5858
* (IDETECT-4845) With added support for extracting Python package versions from direct references [PEP 508 URIs](https://packaging.python.org/en/latest/specifications/dependency-specifiers/#environment-markers) in `pyproject.toml` files, [detect_product_short] now correctly parses versions from wheel and archive URLs and VCS references for impacted detectors (Setuptools CLI, Setuptools Parse, and UV Lock detectors). When data is missing or badly formatted, detectors gracefully switch back to reporting only the package name.
59+
* (IDETECT-4810) Exclude unnecessary directories when looking for the locations of dependency declarations to enhance performance when Component Location Analysis is enabled.
5960
* (IDETECT-4724) Updated Yarn Detector to correctly identify components that were previously unmatched.
6061
* (IDETECT-4850) Log a warning when unsupported `PROC_MACRO` dependency exclusion is attempted with the Cargo Lockfile Detector.
6162

src/main/java/com/blackduck/integration/detect/configuration/DetectProperties.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,8 +1011,8 @@ private DetectProperties() {
10111011
BooleanProperty.newBuilder("detect.excluded.directories.defaults.disabled", false)
10121012
.setInfo("Detect Excluded Directories Defaults Disabled", DetectPropertyFromVersion.VERSION_7_0_0)
10131013
.setHelp(
1014-
"If false, Detect will exclude the default directory names. See the detailed help for more information. Caution should be exercised when including this parameter on Windows, as the commmand length generated may exceed OS limitations.",
1015-
"If false, the following directories will be excluded by Detect when searching for detectors: __MACOX, bin, build, .git, .gradle, .yarn, node_modules, out, packages, target, .synopsys, .blackduck, and the following directories will be excluded from signature scan using the Scan CLI '--exclude' flag: .git, .gradle, gradle, node_modules, .synopsys, .blackduck."
1014+
"If false, Detect will exclude the default list of directory names when searching for applicable detectors (see property details for more information).",
1015+
"Directories excluded by default: __MACOX, bin, build, .git, .gradle, .yarn, node_modules, out, packages, target, .synopsys, .blackduck, and the following directories will be excluded from signature scan using the Scan CLI '--exclude' flag: .git, .gradle, gradle, node_modules, .synopsys, .blackduck."
10161016
)
10171017
.setGroups(DetectGroup.PATHS, DetectGroup.DETECTOR, DetectGroup.GLOBAL, DetectGroup.SOURCE_SCAN)
10181018
.setCategory(DetectCategory.Advanced)

0 commit comments

Comments
 (0)