org.apache.maven.plugin.invoker
Class AbstractInvokerMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.invoker.AbstractInvokerMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
- Direct Known Subclasses:
- IntegrationTestMojo, InvokerMojo
public abstract class AbstractInvokerMojo
- extends AbstractMojo
Provides common code for mojos invoking sub builds.
- Since:
- 15-Aug-2009 09:09:29
- Author:
- Stephen Connolly
Field Summary |
protected boolean |
suppressSummaries
Flag used to suppress the summary output notifying of successes and failures. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
void |
execute()
Invokes Maven on the configured test projects. |
protected boolean |
isParallelRun()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
suppressSummaries
@Parameter(defaultValue="false")
protected boolean 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). If streamLogs
is enabled, the sub-build summary will also provide an
indication.
AbstractInvokerMojo
public AbstractInvokerMojo()
execute
public void execute()
throws MojoExecutionException,
MojoFailureException
- Invokes Maven on the configured test projects.
- Throws:
MojoExecutionException
- If the goal encountered severe errors.
MojoFailureException
- If any of the Maven builds failed.
isParallelRun
protected boolean isParallelRun()
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.