com.pmease.quickbuild.builder
Class MavenBuilderFacade

java.lang.Object
  extended bycom.pmease.quickbuild.builder.MavenBuilderFacade

public class MavenBuilderFacade
extends java.lang.Object

Facade class for MavenBuilder. Maven builder implementation


Constructor Summary
MavenBuilderFacade()
           
 
Method Summary
 java.util.Map getBuildProperties()
          OGNL: Define build properties here to pass into Maven.
 java.lang.String getBuildSuccessCondition()
          OGNL: The build success condition is an OGNL expression used to determine if the build of the current project was successful.
 java.lang.String getDirToRunMaven()
          OGNL: Specify the directory to run Maven in.
 java.util.Map getEnvironments()
          OGNL: Environment variables to set before running this builder.
 java.lang.String getGoals()
          OGNL: Specify the goals to build.
 java.lang.String getMavenExecutablePath()
          OGNL: Specify command to run maven.
 java.lang.String getName()
          OGNL: Specify name of this builder
 void setBuildProperties(java.util.Map buildProperties)
           
 void setBuildSuccessCondition(java.lang.String buildSuccessCondition)
           
 void setDirToRunMaven(java.lang.String dirToRunMaven)
           
 void setEnvironments(java.util.Map environments)
           
 void setGoals(java.lang.String goals)
           
 void setMavenExecutablePath(java.lang.String mavenExecutablePath)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MavenBuilderFacade

public MavenBuilderFacade()
Method Detail

getMavenExecutablePath

public java.lang.String getMavenExecutablePath()
OGNL: Specify command to run maven. For example, \"C:\\Program Files\\Apache Software Foundation\\Maven 1.0.2\\bin\\maven.bat\"
NOTE: Command or arguement with spaces should be quoted.


setMavenExecutablePath

public void setMavenExecutablePath(java.lang.String mavenExecutablePath)

getDirToRunMaven

public java.lang.String getDirToRunMaven()
OGNL: Specify the directory to run Maven in. If this path is not an absolute path, it is assumed to be relative to the current configuration's checkouts directory. Defaults to current configuration's checkouts directory if this property is left empty.


setDirToRunMaven

public void setDirToRunMaven(java.lang.String dirToRunMaven)

getGoals

public java.lang.String getGoals()
OGNL: Specify the goals to build. Use space to separate different goals (goal name containing spaces should be quoted in order not to be interpreted as multiple goals). You can also use ${...} to pass OGNL variables as the goal name. For valid OGNL expressions in this context, please refer to user's guide.


setGoals

public void setGoals(java.lang.String goals)

getBuildProperties

public java.util.Map getBuildProperties()
OGNL: Define build properties here to pass into Maven. For example:
buildVersion=${build.version}
configurationName=${name}
You should set one variable per line. OGNL expression can be inserted to form the value provided they are enclosed by ${...}. For valid OGNL expressions in this context, please refer to the user's guide.


setBuildProperties

public void setBuildProperties(java.util.Map buildProperties)

getBuildSuccessCondition

public java.lang.String getBuildSuccessCondition()
OGNL: The build success condition is an OGNL expression used to determine if the build of the current project was successful. Refer to the user's guide for details.


setBuildSuccessCondition

public void setBuildSuccessCondition(java.lang.String buildSuccessCondition)

getEnvironments

public java.util.Map getEnvironments()
OGNL: Environment variables to set before running this builder. For example:
buildVersion=${build.version}
configurationName=${name}
You should set one variable per line. OGNL expression can be inserted to form the value provided they are enclosed by ${...}. For valid OGNL expressions in this context, please refer to the user's guide.


setEnvironments

public void setEnvironments(java.util.Map environments)

getName

public java.lang.String getName()
OGNL: Specify name of this builder


setName

public void setName(java.lang.String name)


Copyright © 2005 PMEase Inc. All Rights Reserved.