Package org.apache.maven.plugins.invoker
Class IntegrationTestMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.invoker.AbstractInvokerMojo
org.apache.maven.plugins.invoker.IntegrationTestMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="integration-test",
defaultPhase=INTEGRATION_TEST,
requiresDependencyResolution=TEST,
threadSafe=true)
public class IntegrationTestMojo
extends AbstractInvokerMojo
Searches for integration test Maven projects, and executes each, collecting a log in the project directory, will
never fail the build, designed to be used in conjunction with the verify mojo.
- Since:
- 1.4
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.maven.plugins.invoker.AbstractInvokerMojo
AbstractInvokerMojo.ToolchainPrivateManager
-
Field Summary
Fields inherited from class org.apache.maven.plugins.invoker.AbstractInvokerMojo
suppressSummaries
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
processResults
(InvokerSession invokerSession) Processes the results of invoking the build jobs.Methods inherited from class org.apache.maven.plugins.invoker.AbstractInvokerMojo
alreadyCloned, buildInterpolatedFile, doFailIfNoProjects, execute, getBuildJobs, getParallelThreadsCount
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
IntegrationTestMojo
public IntegrationTestMojo()
-
-
Method Details
-
processResults
void processResults(InvokerSession invokerSession) throws org.apache.maven.plugin.MojoFailureException Description copied from class:AbstractInvokerMojo
Processes the results of invoking the build jobs.- Specified by:
processResults
in classAbstractInvokerMojo
- Parameters:
invokerSession
- The session with the build jobs, must not benull
.- Throws:
org.apache.maven.plugin.MojoFailureException
- If the mojo had failed as a result of invoking the build jobs.
-