ConsoleMojo
, ExecuteMojo
, ShellMojo
public abstract class AbstractToolsMojo extends AbstractGroovyMojo
Modifier and Type | Field | 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 | Description |
---|---|
AbstractToolsMojo() |
Modifier and Type | Method | 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
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–2019. All rights reserved.