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 AbstractInvokerMojo
AbstractInvokerMojo.ToolchainPrivateManager -
Field Summary
Fields inherited from class AbstractInvokerMojo
suppressSummariesFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
ConstructorsConstructorDescriptionIntegrationTestMojo(org.apache.maven.shared.invoker.Invoker invoker, org.apache.maven.settings.building.SettingsBuilder settingsBuilder, org.apache.maven.toolchain.ToolchainManagerPrivate toolchainManagerPrivate, InterpolatorUtils interpolatorUtils) -
Method Summary
Modifier and TypeMethodDescription(package private) voidprocessResults(InvokerSession invokerSession) Processes the results of invoking the build jobs.Methods inherited from class AbstractInvokerMojo
alreadyCloned, buildInterpolatedFile, doFailIfNoProjects, execute, getBuildJobs, getParallelThreadsCountMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
Method Details
-
processResults
void processResults(InvokerSession invokerSession) throws org.apache.maven.plugin.MojoFailureException Description copied from class:AbstractInvokerMojoProcesses the results of invoking the build jobs.- Specified by:
processResultsin 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.
-