Package org.apache.maven.plugins.invoker
Class VerifyMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.maven.plugins.invoker.VerifyMojo
-
- All Implemented Interfaces:
ContextEnabled
,Mojo
@Mojo(name="verify", defaultPhase=VERIFY, threadSafe=true) public class VerifyMojo extends AbstractMojo
Checks the results of maven-invoker-plugin based integration tests and fails the build if any tests failed.- Since:
- 1.4
- Author:
- Olivier Lamy
-
-
Constructor Summary
Constructors Constructor Description VerifyMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
Invokes Maven on the configured test projects.-
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
-
-
-
Method Detail
-
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.
-
-