com.atlassian.maven.plugins.testharness
Class StartJiraMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.atlassian.maven.plugins.testharness.AbstractStartServiceMojo
com.atlassian.maven.plugins.testharness.AbstractStartCargoServiceMojo
com.atlassian.maven.plugins.testharness.StartJiraMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class StartJiraMojo
- extends AbstractStartCargoServiceMojo
starts jira in a Container using cargo to support integration tests
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class com.atlassian.maven.plugins.testharness.AbstractStartServiceMojo |
copyDependenciesTo, execute, expandArtifact, getApplicationDependencies, getContainer, getContainerOutputLog, getDefaultServiceDirectory, getDependencyUtils, getLocalRepository, getProject, getRegexesOfJarFilesToRemove, getRemoteRepositories, getService, getServiceConfigDirectory, getServiceWebappDirectory, loadDependencyList, projectHasInstallableArtifact, resolveDependencies, setContainer, setDependencyUtils, setLocalRepository, setProject, setRemoteRepositories, setService |
| 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 |
StartJiraMojo
public StartJiraMojo()
getServiceName
public java.lang.String getServiceName()
- Specified by:
getServiceName in class AbstractStartServiceMojo
configureWebapp
protected void configureWebapp()
throws org.apache.maven.plugin.MojoExecutionException
- Description copied from class:
AbstractStartServiceMojo
- Does pre-deployment of container config
- Specified by:
configureWebapp in class AbstractStartServiceMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException - if an error occurs configuring the webapp
getSystemProperties
public java.util.Map getSystemProperties()
- System properties to be set on the application Container.
- Specified by:
getSystemProperties in class AbstractStartCargoServiceMojo
- Returns:
- A
Map of the system properties.
getExtraClassPathElements
protected java.lang.String[] getExtraClassPathElements()
throws org.apache.maven.artifact.resolver.AbstractArtifactResolutionException,
org.apache.maven.project.artifact.InvalidDependencyVersionException
- set of strings that will be added to the classpath for the application Container
- Specified by:
getExtraClassPathElements in class AbstractStartCargoServiceMojo
- Throws:
org.apache.maven.artifact.resolver.AbstractArtifactResolutionException
org.apache.maven.project.artifact.InvalidDependencyVersionException
Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.