com.atlassian.maven.plugins.testharness
Class StartBambooMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.atlassian.maven.plugins.testharness.AbstractStartServiceMojo
          extended by com.atlassian.maven.plugins.testharness.AbstractStartCargoServiceMojo
              extended by com.atlassian.maven.plugins.testharness.StartBambooMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class StartBambooMojo
extends AbstractStartCargoServiceMojo

starts Bamboo in a Container using cargo to support integration tests


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
StartBambooMojo()
           
 
Method Summary
protected  void configureWebapp()
          Unpacks the Bamboo war and data to the deploy location.
protected  java.lang.String[] getExtraClassPathElements()
          Simply returns EXTRA_CLASS_PATHS
protected  java.lang.String getServiceName()
          Simple returns SERVICE_NAME
protected  java.util.Map getSystemProperties()
          System properties to be set on the application Container.
 
Methods inherited from class com.atlassian.maven.plugins.testharness.AbstractStartCargoServiceMojo
installDependencies, installThisArtifact, removeConflictingJars, startContainer
 
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
 

Constructor Detail

StartBambooMojo

public StartBambooMojo()
Method Detail

getSystemProperties

protected 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()
Simply returns EXTRA_CLASS_PATHS

Specified by:
getExtraClassPathElements in class AbstractStartCargoServiceMojo
Returns:
EXTRA_CLASS_PATHS

getServiceName

protected java.lang.String getServiceName()
Simple returns SERVICE_NAME

Specified by:
getServiceName in class AbstractStartServiceMojo
Returns:
SERVICE_NAME

configureWebapp

protected void configureWebapp()
                        throws org.apache.maven.plugin.MojoExecutionException
Unpacks the Bamboo war and data to the deploy location.

Specified by:
configureWebapp in class AbstractStartServiceMojo
Throws:
org.apache.maven.plugin.MojoExecutionException - Thrown if there are any errors while deploying either the WAR or the data.


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.