invoker:verify

Full name:

org.apache.maven.plugins:maven-invoker-plugin:1.6:verify

Description:

Checks the results of maven-invoker-plugin based integration tests and fails the build if any tests failed.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Since version: 1.4.
  • Binds by default to the lifecycle phase: verify.

Optional Parameters

Name Type Since Description
ignoreFailures boolean 1.3 A flag controlling whether failures of the sub builds should fail the main build, too. If set to true, the main build will proceed even if one or more sub builds failed.
Default value is: false.
reportsDirectory File 1.4 Base directory where all build reports are read from.
Default value is: ${project.build.directory}/invoker-reports.
skipInvocation boolean 1.1 Flag used to suppress certain invocations. This is useful in tailoring the build using profiles.
Default value is: false.
suppressSummaries boolean 1.4 Flag used to suppress the summary output notifying of successes and failures. If set to true, the only indication of the build's success or failure will be the effect it has on the main build (if it fails, the main build should fail as well).
Default value is: false.

Parameter Details

ignoreFailures:

A flag controlling whether failures of the sub builds should fail the main build, too. If set to true, the main build will proceed even if one or more sub builds failed.
  • Type: boolean
  • Since: 1.3
  • Required: No
  • Expression: ${maven.test.failure.ignore}
  • Default: false

reportsDirectory:

Base directory where all build reports are read from.
  • Type: java.io.File
  • Since: 1.4
  • Required: No
  • Expression: ${invoker.reportsDirectory}
  • Default: ${project.build.directory}/invoker-reports

skipInvocation:

Flag used to suppress certain invocations. This is useful in tailoring the build using profiles.
  • Type: boolean
  • Since: 1.1
  • Required: No
  • Expression: ${invoker.skip}
  • Default: false

suppressSummaries:

Flag used to suppress the summary output notifying of successes and failures. If set to true, the only indication of the build's success or failure will be the effect it has on the main build (if it fails, the main build should fail as well).
  • Type: boolean
  • Since: 1.4
  • Required: No
  • Default: false