public abstract class AbstractInvokerMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected boolean |
suppressSummaries
Flag used to suppress the summary output notifying of successes and failures.
|
Constructor and Description |
---|
AbstractInvokerMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
doFailIfNoProjects() |
void |
execute()
Invokes Maven on the configured test projects.
|
@Parameter(defaultValue="false") protected boolean suppressSummaries
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). If streamLogs
is enabled, the sub-build summary will also provide an
indication.public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
- If the goal encountered severe errors.org.apache.maven.plugin.MojoFailureException
- If any of the Maven builds failed.protected void doFailIfNoProjects() throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureException
Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.