invoker:verify

Full name:

org.apache.maven.plugins:maven-invoker-plugin:1.10: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
failIfNoProjects Boolean 1.9 Set this to true to cause a failure if there are no projects to invoke.
User property is: invoker.failIfNoProjects.
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.
User property is: maven.test.failure.ignore.
reportsDirectory File 1.4 Base directory where all build reports are read from.
Default value is: ${project.build.directory}/invoker-reports.
User property is: invoker.reportsDirectory.
skipInvocation boolean 1.1 Flag used to suppress certain invocations. This is useful in tailoring the build using profiles.
Default value is: false.
User property is: invoker.skip.
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

failIfNoProjects:

Set this to true to cause a failure if there are no projects to invoke.
  • Type: java.lang.Boolean
  • Since: 1.9
  • Required: No
  • User Property: invoker.failIfNoProjects

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
  • User Property: 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
  • User Property: 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
  • User Property: 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