invoker:verify
Full name:
org.apache.maven.plugins:maven-invoker-plugin:3.9.0: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: 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: falseUser Property: maven.test.failure.ignore |
<reportsDirectory> |
File |
1.4 |
Base directory where all build reports are read from. Default: ${project.build.directory}/invoker-reportsUser Property: invoker.reportsDirectory |
<skipInvocation> |
boolean |
1.1 |
Flag used to suppress certain invocations. This is useful in tailoring the build using profiles. Default: falseUser Property: invoker.skip |
<streamLogsOnFailures> |
boolean |
3.2.2 |
Set to true to output build.log to mojo log in case of failed jobs.Default: falseUser Property: invoker.streamLogsOnFailures |
<suppressSummaries> |
boolean |
- |
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: 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
<streamLogsOnFailures>
Set to
true to output build.log to mojo log in case of failed jobs.- Type:
boolean - Since:
3.2.2 - Required:
No - User Property:
invoker.streamLogsOnFailures - 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 - Required:
No - Default:
false


