Skip to content

Commit

Permalink
[MDEP-946] Add analyze exclusions to list of goals
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo committed Oct 16, 2024
1 parent 24d2a76 commit 7b137a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
import static org.apache.maven.plugins.dependency.exclusion.Coordinates.coordinates;

/**
* Analyzes the exclusions defined on dependencies in this project and reports if any of them are invalid.
* Analyzes the exclusions defined on dependencies in this project and reports if any of them are unneeded.
* <p>
* Relevant use case is when an artifact in a later version has removed usage of a dependency, making the exclusion no
* longer valid.
* longer necessary.
* </p>
*
* @since 3.7.0
Expand Down
2 changes: 2 additions & 0 deletions src/site/apt/index.apt.vm
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ ${project.name}
*{{{./analyze-dep-mgt-mojo.html}dependency:analyze-dep-mgt}} analyzes the project's dependencies and lists mismatches
between resolved dependencies and those listed in your dependencyManagement section.

*{{{./analyze-exclusions.html}dependency:analyze-exclusions}} analyzes the exclusions on dependencies and checks if the artifact actually brings in the given dependency.

*{{{./analyze-only-mojo.html}dependency:analyze-only}} is the same as analyze, but is meant to be bound in a pom. It
does not fork the build and execute test-compile.

Expand Down

0 comments on commit 7b137a1

Please sign in to comment.