public abstract class AbstractInvokerMojo extends 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.
|
protected boolean |
isParallelRun() |
getLog, getPluginContext, setLog, setPluginContext
@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 MojoExecutionException, MojoFailureException
MojoExecutionException
- If the goal encountered severe errors.MojoFailureException
- If any of the Maven builds failed.protected void doFailIfNoProjects() throws MojoFailureException
MojoFailureException
protected boolean isParallelRun()
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.