org.mockserver.maven
Class MockServerStartMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.mockserver.maven.MockServerAbstractMojo
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
| Fields inherited from class org.mockserver.maven.MockServerAbstractMojo |
compileClasspath, initializationClass, logLevel, pipeLogToConsole, proxyPort, proxySecurePort, serverPort, serverSecurePort, skip, testClasspath, timeout |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 |
MockServerStartMojo
public MockServerStartMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2014. All rights reserved.