org.mockserver.maven
Class MockServerStartMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.mockserver.maven.MockServerAbstractMojo
          extended by org.mockserver.maven.MockServerStartMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="start",
      defaultPhase=INITIALIZE,
      requiresDependencyCollection=COMPILE_PLUS_RUNTIME,
      requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
      requiresProject=true,
      inheritByDefault=true)
public class MockServerStartMojo
extends MockServerAbstractMojo

Start the MockServer in the initialize phase of the build and continue build so that tests can run that rely on the MockServer

Author:
jamesdbloom

Field Summary
 
Fields inherited from class org.mockserver.maven.MockServerAbstractMojo
compileClasspath, dependencies, initializationClass, logLevel, pipeLogToConsole, proxyPort, serverPort, skip, testClasspath, timeout
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
MockServerStartMojo()
           
 
Method Summary
 void execute()
           
 
Methods inherited from class org.mockserver.maven.MockServerAbstractMojo
createInitializer, getEmbeddedJettyHolder, getServerPorts
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockServerStartMojo

public MockServerStartMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2017. All rights reserved.