helper:check-auto-container

Full name:

org.nuiton:helper-maven-plugin:2.3.2:check-auto-container

Description:

Check all dependencies are auto contained in the given repositories.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: runtime.
  • Since version: 1.2.5.
  • Binds by default to the lifecycle phase: validate.
  • Requires that Maven runs in online mode.

Optional Parameters

Name Type Since Description
addMavenCentral boolean 1.2.5 A flag to add the maven central repository http://repo1.maven.org/maven2 to repositories.
Default value is: false.
User property is: addMavenCentral.
failIfNotSafe boolean 1.2.5 A flag to fail if project is not auto container.
Default value is: false.
User property is: helper.failIfNotSafe.
repositories Map 1.2.5 Map of repositories to use. Keys are repository id and Values are repository url.
runOnce boolean 1.2.6 A flag to execute only once the mojo. Note: By default, value is true since it is not necessary to check twice for a same artifact.
Default value is: true.
User property is: helper.runOnce.
runOnlyOnRoot boolean 2.1 A flag to restrict only to run on root module.
Default value is: true.
User property is: helper.runOnlyOnRoot.
skipCheckAutocontainer boolean 2.1 A flag to skip the goal.
Default value is: false.
User property is: helper.skipCheckAutocontainer.
verbose boolean 1.2.5 A flag to activate verbose mode.
Default value is: ${maven.verbose}.
User property is: helper.verbose.

Parameter Details

addMavenCentral:

A flag to add the maven central repository http://repo1.maven.org/maven2 to repositories.
  • Type: boolean
  • Since: 1.2.5
  • Required: No
  • User Property: addMavenCentral
  • Default: false

failIfNotSafe:

A flag to fail if project is not auto container.
  • Type: boolean
  • Since: 1.2.5
  • Required: No
  • User Property: helper.failIfNotSafe
  • Default: false

repositories:

Map of repositories to use. Keys are repository id and Values are repository url.
  • Type: java.util.Map
  • Since: 1.2.5
  • Required: No

runOnce:

A flag to execute only once the mojo. Note: By default, value is true since it is not necessary to check twice for a same artifact.
  • Type: boolean
  • Since: 1.2.6
  • Required: No
  • User Property: helper.runOnce
  • Default: true

runOnlyOnRoot:

A flag to restrict only to run on root module.
  • Type: boolean
  • Since: 2.1
  • Required: No
  • User Property: helper.runOnlyOnRoot
  • Default: true

skipCheckAutocontainer:

A flag to skip the goal.
  • Type: boolean
  • Since: 2.1
  • Required: No
  • User Property: helper.skipCheckAutocontainer
  • Default: false

verbose:

A flag to activate verbose mode.
  • Type: boolean
  • Since: 1.2.5
  • Required: No
  • User Property: helper.verbose
  • Default: ${maven.verbose}