dependency:analyze-dep-mgt

Full name:

org.apache.maven.plugins:maven-dependency-plugin:3.2.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.
  • Since version: 2.0-alpha-3.

Optional Parameters

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

Parameter Details

<failBuild>

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

<ignoreDirect>

Ignore Direct Dependency Overrides of dependencyManagement section.
  • Type: boolean
  • Since: 2.0-alpha-3
  • 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