Class StopMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.mrm.plugin.AbstractMRMMojo
org.codehaus.mojo.mrm.plugin.StopMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="stop", defaultPhase=POST_INTEGRATION_TEST, requiresProject=false, threadSafe=true) public class StopMojo extends AbstractMRMMojo
This goal is used in-situ on a Maven project to allow integration tests based on the Maven Invoker to use a custom settings.xml and still work behind a proxy.
Author:
Stephen Connolly

Stops the mock repository manager started by mrm:start as part of a maven build for use by integration tests.

  • Constructor Details

  • Method Details

    • doExecute

      public void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Description copied from class: AbstractMRMMojo
      Performs this plugin's action.
      Specified by:
      doExecute in class AbstractMRMMojo
      Throws:
      org.apache.maven.plugin.MojoExecutionException - If there is an exception occuring during the execution of the plugin.
      org.apache.maven.plugin.MojoFailureException - If there is an exception occuring during the execution of the plugin.