public abstract class AbstractToolsMojo extends AbstractGroovyMojo
Modifier and Type | Field and Description |
---|---|
protected boolean |
allowSystemExits
Whether to allow System.exit() to be used.
|
protected boolean |
bindPropertiesToSeparateVariables
Whether to bind each property to a separate variable (otherwise binds
properties to a single 'properties' variable).
|
protected org.apache.maven.project.MavenProjectHelper |
projectHelper
Maven ProjectHelper to use in properties.
|
protected Properties |
properties
Properties to make available in scripts as variables using the property
name.
|
classWrangler, GROOVY_1_5_0, GROOVY_SOURCES_PATTERN, JAVA_1_7, JAVA_SOURCES_PATTERN, minGroovyVersion, mojoExecution, pluginArtifacts, project, session, skipTests
Constructor and Description |
---|
AbstractToolsMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
initializeProperties()
Initializes the properties field.
|
protected void |
logUnableToInitializeAntBuilder(Throwable e)
Logs errors that caused the 'ant' object to not be populated.
|
getJavaVersion, getJavaVersionString, groovyVersionSupportsAction, isJavaSupportIndy, logPluginClasspath
getLog, getPluginContext, setLog, setPluginContext
protected org.apache.maven.project.MavenProjectHelper projectHelper
protected Properties properties
protected boolean allowSystemExits
protected boolean bindPropertiesToSeparateVariables
protected void initializeProperties()
protected void logUnableToInitializeAntBuilder(Throwable e)
e
- the exception causing the failureCopyright © 2011–2021. All rights reserved.