dependency:analyze-dep-mgt

Full name:

org.apache.maven.plugins:maven-dependency-plugin:3.7.0:analyze-dep-mgt

Description:

This mojo looks at the dependencies after final resolution and looks for mismatches in your dependencyManagement section. This mojo is also useful for detecting projects that override the dependencyManagement directly. Set ignoreDirect to false to detect these otherwise normal conditions.

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-3.

Optional Parameters

Name Type Since Description
<failBuild> boolean - Fail the build if a problem is detected.
Default: false
User Property: mdep.analyze.failBuild
<ignoreDirect> boolean - Ignore Direct Dependency Overrides of dependencyManagement section.
Default: true
User Property: mdep.analyze.ignore.direct
<skip> boolean 2.7 Skip plugin execution completely.
Default: false
User Property: mdep.analyze.skip

Parameter Details

<failBuild>

Fail the build if a problem is detected.
  • Type: boolean
  • Required: No
  • User Property: mdep.analyze.failBuild
  • Default: false

<ignoreDirect>

Ignore Direct Dependency Overrides of dependencyManagement section.
  • Type: boolean
  • Required: No
  • User Property: mdep.analyze.ignore.direct
  • Default: true

<skip>

Skip plugin execution completely.
  • Type: boolean
  • Since: 2.7
  • Required: No
  • User Property: mdep.analyze.skip
  • Default: false