dependency:analyze-report
Note:This goal should be used as a Maven report.
Full name:
org.apache.maven.plugins:maven-dependency-plugin:3.5.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 lifecycle phase
test-compile
prior to executing itself.
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<ignoreNonCompile> |
boolean |
2.2 |
Ignore Runtime/Provided/Test/System scopes for unused dependency analysis Default value is: false .User property is: ignoreNonCompile . |
<skip> |
boolean |
2.7 |
Skip plugin execution completely. Default value is: false .User property is: 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
<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