dependency:analyze-report
Note:
This goal should be used as a Maven report.
Full name:
org.apache.maven.plugins:maven-dependency-plugin:3.7.0:analyze-report
Description:
Analyzes the dependencies of this project and produces a report that summarizes which are: used and declared; used and undeclared; unused and declared.
Attributes:
- Requires a Maven project to be executed.
- Requires dependency resolution of artifacts in scope:
test
. - The goal is thread-safe and supports parallel builds.
- Since version:
2.0-alpha-5
. - Invokes the execution of the following lifecycle phase prior to executing itself:
test-compile
.
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<excludedClasses> |
Set<String> |
3.7.0 |
List Excluded classes patterns from analyze. Java regular expression pattern is applied to full class name. User Property: mdep.analyze.excludedClasses |
<ignoreNonCompile> |
boolean |
2.2 |
Ignore Runtime/Provided/Test/System scopes for unused dependency analysis Default: false User Property: ignoreNonCompile |
<skip> |
boolean |
2.7 |
Skip plugin execution completely. Default: false User Property: mdep.analyze.skip |
<usedDependencies> |
String[] |
2.6 |
Force dependencies as used, to override incomplete result caused by bytecode-level analysis. Dependency format is groupId:artifactId . |
Parameter Details
<excludedClasses>
List Excluded classes patterns from analyze. Java regular expression pattern is applied to full class name.
- Type:
java.util.Set<java.lang.String>
- Since:
3.7.0
- Required:
No
- User Property:
mdep.analyze.excludedClasses
<ignoreNonCompile>
Ignore Runtime/Provided/Test/System scopes for unused dependency analysis
- Type:
boolean
- Since:
2.2
- Required:
No
- User Property:
ignoreNonCompile
- Default:
false
<skip>
Skip plugin execution completely.
- Type:
boolean
- Since:
2.7
- Required:
No
- User Property:
mdep.analyze.skip
- Default:
false
<usedDependencies>
Force dependencies as used, to override incomplete result caused by bytecode-level analysis. Dependency format is
groupId:artifactId
.- Type:
java.lang.String[]
- Since:
2.6
- Required:
No