Groovy Documentation

javaposse.jobdsl.dsl.helpers
[Groovy] Class MavenHelper

java.lang.Object
  javaposse.jobdsl.dsl.helpers.AbstractHelper
      javaposse.jobdsl.dsl.helpers.MavenHelper

class MavenHelper
extends AbstractHelper

Nested Class Summary
enum MavenHelper.LocalRepositoryLocation

 
Property Summary
java.lang.StringBuilder allGoals

java.lang.StringBuilder allMavenOpts

boolean archivingDisabledAdded

boolean perModuleEmailAdded

boolean rootPOMAdded

boolean runHeadlessAdded

 
Constructor Summary
MavenHelper(java.util.List withXmlActions, JobType type)

 
Method Summary
java.lang.Object archivingDisabled(boolean archivingDisabled)

If set, Jenkins will not automatically archive all artifacts generated by this project, defaults to false.

java.lang.Object goals(java.lang.String goals)

Specifies the goals to execute.

java.lang.Object localRepository(MavenHelper.LocalRepositoryLocation location)

java.lang.Object mavenOpts(java.lang.String mavenOpts)

Specifies the JVM options needed when launching Maven as an external process.

java.lang.Object perModuleEmail(boolean perModuleEmail)

If set, Jenkins will send an e-mail notifications for each module, defaults to false.

java.lang.Object rootPOM(java.lang.String rootPOM)

Specifies the path to the root POM.

java.lang.Object runHeadless(boolean runHeadless)

Set to allow Jenkins to configure the build process in headless mode, defaults to false.

 
Methods inherited from class AbstractHelper
execute
 

Property Detail

allGoals

java.lang.StringBuilder allGoals


allMavenOpts

java.lang.StringBuilder allMavenOpts


archivingDisabledAdded

boolean archivingDisabledAdded


perModuleEmailAdded

boolean perModuleEmailAdded


rootPOMAdded

boolean rootPOMAdded


runHeadlessAdded

boolean runHeadlessAdded


 
Constructor Detail

MavenHelper

MavenHelper(java.util.List withXmlActions, JobType type)


 
Method Detail

archivingDisabled

java.lang.Object archivingDisabled(boolean archivingDisabled)
If set, Jenkins will not automatically archive all artifacts generated by this project, defaults to false.
Parameters:
archivingDisabled - set to true to disable automatic archiving


goals

java.lang.Object goals(java.lang.String goals)
Specifies the goals to execute.
Parameters:
goals - the goals to execute


localRepository

java.lang.Object localRepository(MavenHelper.LocalRepositoryLocation location)
Set to use isolated local Maven repositories.
Parameters:
location - the local repository to use for isolation


mavenOpts

java.lang.Object mavenOpts(java.lang.String mavenOpts)
Specifies the JVM options needed when launching Maven as an external process.
Parameters:
mavenOpts - JVM options needed when launching Maven


perModuleEmail

java.lang.Object perModuleEmail(boolean perModuleEmail)
If set, Jenkins will send an e-mail notifications for each module, defaults to false.
Parameters:
perModuleEmail - set to true to enable per module e-mail notifications


rootPOM

java.lang.Object rootPOM(java.lang.String rootPOM)
Specifies the path to the root POM.
Parameters:
rootPOM - path to the root POM


runHeadless

java.lang.Object runHeadless(boolean runHeadless)
Set to allow Jenkins to configure the build process in headless mode, defaults to false.
Parameters:
runHeadless - set to true to run the build process in headless mode


 

Groovy Documentation