Skip to content

Commit 7ff00e8

Browse files
authored
javadoc: Clarify format of exclude patterns
1 parent 2957400 commit 7ff00e8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

maven/src/main/java/org/owasp/dependencycheck/maven/BaseDependencyCheckMojo.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,8 +1169,9 @@ public abstract class BaseDependencyCheckMojo extends AbstractMojo implements Ma
11691169
private Retirejs retirejs;
11701170

11711171
/**
1172-
* The list of artifacts (and their transitive dependencies) to exclude from
1173-
* the check.
1172+
* The list of patterns to exclude from the check. This is matched against the project dependencies (and will implicitly also remove transitive dependencies from matching dependencies).
1173+
* Each pattern has the format {@code [groupId]:[artifactId]:[type]:[version]}. You can leave out unspecified parts (which is equal to using {@code *}).
1174+
* Examples: {@code org.apache.*} would match all artifacts whose group id starts with {@code org.apache.}, and {@code :::*-SNAPSHOT} would match all snapshot artifacts.
11741175
*/
11751176
@Parameter(property = "odc.excludes")
11761177
private List<String> excludes;

0 commit comments

Comments
 (0)