dependency:analyze-exclusions
Full name:
org.apache.maven.plugins:maven-dependency-plugin:3.8.0:analyze-exclusions
Description:
Analyzes the exclusions defined on dependencies in this project and reports if any of them are invalid.
Relevant use case is when an artifact in a later version has removed usage of a dependency, making the exclusion no longer valid.
Attributes:
- Requires a Maven project to be executed.
- The goal is thread-safe and supports parallel builds.
- Since version:
3.7.0
.
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<exclusionFail> |
boolean |
3.7.0 |
Whether to fail the build if invalid exclusions is found. Default: false User Property: mdep.exclusion.fail |
<skip> |
boolean |
3.7.0 |
Skip plugin execution completely. Default: false User Property: mdep.skip |
Parameter Details
<exclusionFail>
Whether to fail the build if invalid exclusions is found.
- Type:
boolean
- Since:
3.7.0
- Required:
No
- User Property:
mdep.exclusion.fail
- Default:
false
<skip>
Skip plugin execution completely.
- Type:
boolean
- Since:
3.7.0
- Required:
No
- User Property:
mdep.skip
- Default:
false