com.atlassian.maven.plugins.testharness
Class AbstractStartServiceMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.atlassian.maven.plugins.testharness.AbstractStartServiceMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- StartConfluenceMojo, StartJiraMojo
public abstract class AbstractStartServiceMojo
- extends org.apache.maven.plugin.AbstractMojo
base class for service starting
| 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 |
AbstractStartServiceMojo
public AbstractStartServiceMojo()
getServiceName
public abstract java.lang.String getServiceName()
getExtraClassPathElements
protected abstract java.lang.String[] getExtraClassPathElements()
- set of strings that will be added to the classpath for the application Container
- Returns:
getSystemProperties
protected abstract java.util.Map getSystemProperties()
- system properties to be set on the application Container
- Returns:
configureWebapp
protected abstract void configureWebapp()
throws org.apache.maven.plugin.MojoExecutionException
- does pre-deployment of Container config
- Throws:
org.apache.maven.plugin.MojoExecutionException
getProject
public org.apache.maven.project.MavenProject getProject()
getContainer
public Container getContainer()
setContainer
public void setContainer(Container container)
getService
public Service getService()
setService
public void setService(Service service)
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
installDependencies
protected void installDependencies()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
getDependencyUtils
public DependencyUtils getDependencyUtils()
getAntUtils
public org.codehaus.cargo.util.AntUtils getAntUtils()
Copyright © 2008 Atlassian Software Systems Pty Ltd. All Rights Reserved.