org.apache.maven.plugin.invoker
Class VerifyMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.invoker.VerifyMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class VerifyMojo
- extends org.apache.maven.plugin.AbstractMojo
Checks the results of maven-invoker-plugin based integration tests and fails the build if any tests failed.
- Since:
- 1.4
- Author:
- olamy
- Is defined by the goal name:
- verify
- Is bound to the specified phase of the standard build lifecycle:
- verify
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
void |
execute()
Invokes Maven on the configured test projects. |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VerifyMojo
public VerifyMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Invokes Maven on the configured test projects.
- Throws:
org.apache.maven.plugin.MojoExecutionException
- If the goal encountered severe errors.
org.apache.maven.plugin.MojoFailureException
- If any of the Maven builds failed.
Copyright © 2002-2009 The Apache Software Foundation. All Rights Reserved.