org.mockserver.maven
Class MockServerRunForkedMojo

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

@Mojo(name="runForked",
      requiresProject=false,
      threadSafe=false)
public class MockServerRunForkedMojo
extends MockServerAbstractMojo

Author:
jamesdbloom

Field Summary
protected  org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver
          Used to look up Artifacts in the remote repository.
protected  List<org.apache.maven.artifact.Artifact> pluginArtifacts
          Get a list of artifacts used by this plugin
protected  org.apache.maven.repository.RepositorySystem repositorySystem
          Used to look up Artifacts in the remote repository.
 
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
 
Constructor Summary
MockServerRunForkedMojo()
           
 
Method Summary
 void execute()
           
static String fileSeparators(String path)
           
 
Methods inherited from class org.mockserver.maven.MockServerAbstractMojo
createInitializer, getEmbeddedJettyHolder
 
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
 

Field Detail

pluginArtifacts

@Parameter(defaultValue="${plugin.artifacts}",
           required=true,
           readonly=true)
protected List<org.apache.maven.artifact.Artifact> pluginArtifacts
Get a list of artifacts used by this plugin


repositorySystem

@Component
protected org.apache.maven.repository.RepositorySystem repositorySystem
Used to look up Artifacts in the remote repository.


artifactResolver

@Component
protected org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver
Used to look up Artifacts in the remote repository.

Constructor Detail

MockServerRunForkedMojo

public MockServerRunForkedMojo()
Method Detail

fileSeparators

public static String fileSeparators(String path)

execute

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


Copyright © 2014. All rights reserved.