Class StopMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="stop",
          defaultPhase=POST_INTEGRATION_TEST)
    public class StopMojo
    extends org.apache.maven.plugin.AbstractMojo
    • Field Detail

      • waitForInput

        @Parameter(property="feature-launcher.waitForInput",
                   required=false,
                   defaultValue="false")
        protected boolean waitForInput
        If true stopping the server is deferred until you press the Enter key.
    • Constructor Detail

      • StopMojo

        public StopMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException
      • waitForUserInput

        protected void waitForUserInput()
                                 throws org.apache.maven.plugin.MojoFailureException
        Throws:
        org.apache.maven.plugin.MojoFailureException