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
  • 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 class AbstractInvokerMojo
      Parameters:
      invokerSession - The session with the build jobs, must not be null.
      Throws:
      org.apache.maven.plugin.MojoFailureException - If the mojo had failed as a result of invoking the build jobs.