|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
com.atlassian.maven.plugins.testharness.AbstractStartServiceMojo
com.atlassian.maven.plugins.testharness.AbstractStartCargoServiceMojo
public abstract class AbstractStartCargoServiceMojo
A base class for services that use Cargo to start.
| Field Summary |
|---|
| Fields inherited from class com.atlassian.maven.plugins.testharness.AbstractStartServiceMojo |
|---|
WEB_APP_LIB_DIR |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractStartCargoServiceMojo()
|
|
| Method Summary | |
|---|---|
protected abstract java.lang.String[] |
getExtraClassPathElements()
set of strings that will be added to the classpath for the application Container |
protected abstract java.util.Map |
getSystemProperties()
System properties to be set on the application Container. |
protected void |
installDependencies()
Installs dependencies into the container |
protected void |
installThisArtifact()
|
protected void |
removeConflictingJars()
Remove jar files from WEB-INF/lib based on configuration. |
protected void |
startContainer()
setups up the application Container and then starts it |
| 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 |
|---|
public AbstractStartCargoServiceMojo()
| Method Detail |
|---|
protected void removeConflictingJars()
throws org.apache.maven.plugin.MojoExecutionException
removeConflictingJars in class AbstractStartServiceMojoorg.apache.maven.plugin.MojoExecutionException - Throw if there are any errors removing existing dependencies.
protected void installDependencies()
throws org.apache.maven.plugin.MojoExecutionException
AbstractStartServiceMojo
installDependencies in class AbstractStartServiceMojoorg.apache.maven.plugin.MojoExecutionException - if an error occurs installing the dependencies
protected void installThisArtifact()
throws org.apache.maven.plugin.MojoExecutionException
installThisArtifact in class AbstractStartServiceMojoorg.apache.maven.plugin.MojoExecutionException
protected void startContainer()
throws org.apache.maven.plugin.MojoExecutionException
startContainer in class AbstractStartServiceMojoorg.apache.maven.plugin.MojoExecutionException - if an error occurs starting or running the containerprotected abstract java.util.Map getSystemProperties()
Map of the system properties.
protected abstract java.lang.String[] getExtraClassPathElements()
throws org.apache.maven.artifact.resolver.AbstractArtifactResolutionException,
org.apache.maven.project.artifact.InvalidDependencyVersionException
org.apache.maven.artifact.resolver.AbstractArtifactResolutionException
org.apache.maven.project.artifact.InvalidDependencyVersionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||