Class 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 Detail

      • IntegrationTestMojo

        public IntegrationTestMojo()
    • Method Detail

      • 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.