com.atlassian.maven.plugins.testharness
Class StartFisheyeMojo

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.StartFisheyeMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class StartFisheyeMojo
extends AbstractStartServiceMojo

starts jira in a Container using cargo to support integration tests


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
StartFisheyeMojo()
           
 
Method Summary
protected  void configureWebapp()
          Does pre-deployment of container config
protected  java.lang.String getServiceName()
           
protected  void installDependencies()
          Installs dependencies into the container
protected  void installThisArtifact()
           
protected  void removeConflictingJars()
           
protected  void startContainer()
          Sets up the application container and then starts it
 
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

StartFisheyeMojo

public StartFisheyeMojo()
Method Detail

getServiceName

protected 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

removeConflictingJars

protected void removeConflictingJars()
                              throws org.apache.maven.plugin.MojoExecutionException
Specified by:
removeConflictingJars in class AbstractStartServiceMojo
Throws:
org.apache.maven.plugin.MojoExecutionException

installDependencies

protected void installDependencies()
                            throws org.apache.maven.plugin.MojoExecutionException
Description copied from class: AbstractStartServiceMojo
Installs dependencies into the container

Specified by:
installDependencies in class AbstractStartServiceMojo
Throws:
org.apache.maven.plugin.MojoExecutionException - if an error occurs installing the dependencies

installThisArtifact

protected void installThisArtifact()
                            throws org.apache.maven.plugin.MojoExecutionException
Specified by:
installThisArtifact in class AbstractStartServiceMojo
Throws:
org.apache.maven.plugin.MojoExecutionException

startContainer

protected void startContainer()
                       throws org.apache.maven.plugin.MojoExecutionException
Description copied from class: AbstractStartServiceMojo
Sets up the application container and then starts it

Specified by:
startContainer in class AbstractStartServiceMojo
Throws:
org.apache.maven.plugin.MojoExecutionException - if an error occurs starting or running the container


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.