com.atlassian.bamboo.plugins.maven2
Class Maven2BuildProcessor

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.BaseConfigurablePlugin
      extended by com.atlassian.bamboo.v2.build.BaseConfigurableBuildPlugin
          extended by com.atlassian.bamboo.plugins.maven2.Maven2BuildProcessor
All Implemented Interfaces:
CustomBuildProcessor, InitablePluginModule, BambooPluginModule, ConfigurablePlugin, AgentBuildTask, BuildTask, java.util.concurrent.Callable<BuildContext>

public class Maven2BuildProcessor
extends BaseConfigurableBuildPlugin
implements CustomBuildProcessor


Field Summary
static java.lang.String DEFAULT_MAVEN2_PROJECT_FILE
           
static java.lang.String MAVEN2_POM_PROPERTIES
           
 
Fields inherited from class com.atlassian.bamboo.v2.build.BaseConfigurableBuildPlugin
buildContext
 
Fields inherited from class com.atlassian.bamboo.v2.build.BaseConfigurablePlugin
moduleDescriptor, templateRenderer
 
Constructor Summary
Maven2BuildProcessor()
           
 
Method Summary
 BuildContext call()
          Execute the build task.
 void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
           
 void setErrorHandler(ErrorHandler errorHandler)
           
 void setPlanParticleManager(PlanParticleManager planParticleManager)
           
 
Methods inherited from class com.atlassian.bamboo.v2.build.BaseConfigurableBuildPlugin
init, setTemplateRenderer
 
Methods inherited from class com.atlassian.bamboo.v2.build.BaseConfigurablePlugin
addDefaultValues, customizeBuildRequirements, getEditHtml, getViewHtml, init, populateContextForEdit, populateContextForView, prepareConfigObject, removeBuildRequirements, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.v2.build.task.BuildTask
init
 

Field Detail

MAVEN2_POM_PROPERTIES

public static final java.lang.String MAVEN2_POM_PROPERTIES
See Also:
Constant Field Values

DEFAULT_MAVEN2_PROJECT_FILE

public static final java.lang.String DEFAULT_MAVEN2_PROJECT_FILE
See Also:
Constant Field Values
Constructor Detail

Maven2BuildProcessor

public Maven2BuildProcessor()
Method Detail

call

@NotNull
public BuildContext call()
                  throws java.lang.InterruptedException,
                         org.apache.maven.embedder.MavenEmbedderException,
                         org.apache.maven.project.ProjectBuildingException
Description copied from interface: BuildTask

Execute the build task.

Implementations should regularly check if the calling Thread has been interrupted.

Specified by:
call in interface BuildTask
Specified by:
call in interface java.util.concurrent.Callable<BuildContext>
Throws:
java.lang.InterruptedException - if the calling Thread has been interrupted.
org.apache.maven.embedder.MavenEmbedderException
org.apache.maven.project.ProjectBuildingException

setBandanaManager

public void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)

setPlanParticleManager

public void setPlanParticleManager(PlanParticleManager planParticleManager)

setErrorHandler

public void setErrorHandler(ErrorHandler errorHandler)


Copyright © 2010 Atlassian. All Rights Reserved.