Skip to content

Commit 7b137a1

Browse files
committed
[MDEP-946] Add analyze exclusions to list of goals
1 parent 24d2a76 commit 7b137a1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/main/java/org/apache/maven/plugins/dependency/exclusion/AnalyzeExclusionsMojo.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@
4646
import static org.apache.maven.plugins.dependency.exclusion.Coordinates.coordinates;
4747

4848
/**
49-
* Analyzes the exclusions defined on dependencies in this project and reports if any of them are invalid.
49+
* Analyzes the exclusions defined on dependencies in this project and reports if any of them are unneeded.
5050
* <p>
5151
* Relevant use case is when an artifact in a later version has removed usage of a dependency, making the exclusion no
52-
* longer valid.
52+
* longer necessary.
5353
* </p>
5454
*
5555
* @since 3.7.0

src/site/apt/index.apt.vm

+2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ ${project.name}
4040
*{{{./analyze-dep-mgt-mojo.html}dependency:analyze-dep-mgt}} analyzes the project's dependencies and lists mismatches
4141
between resolved dependencies and those listed in your dependencyManagement section.
4242

43+
*{{{./analyze-exclusions.html}dependency:analyze-exclusions}} analyzes the exclusions on dependencies and checks if the artifact actually brings in the given dependency.
44+
4345
*{{{./analyze-only-mojo.html}dependency:analyze-only}} is the same as analyze, but is meant to be bound in a pom. It
4446
does not fork the build and execute test-compile.
4547

0 commit comments

Comments
 (0)