public abstract class AbstractAjcMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected Module[] |
aspectLibraries
Weave binary aspects from the jars.
|
protected File |
basedir
The basedir of the project.
|
protected org.apache.maven.project.MavenProject |
project
The maven project.
|
protected Module[] |
weaveDependencies
List of of modules to weave (into target directory).
|
protected String[] |
weaveDirectories
List of of directories with .class files to weave (into target directory).
|
protected File |
xmlConfigured
Parameter which indicates an XML file containing AspectJ weaving instructions.
|
| Constructor and Description |
|---|
AbstractAjcMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isSkip() |
void |
setXmlConfigured(File xmlConfigured)
Parameter which indicates an XML file containing AspectJ weaving instructions.
|
getLog, getPluginContext, setLog, setPluginContext@Parameter(required=true,
readonly=true,
defaultValue="${project}")
protected org.apache.maven.project.MavenProject project
@Parameter(required=true,
readonly=true,
defaultValue="${basedir}")
protected File basedir
@Parameter protected Module[] weaveDependencies
ajc
-inpath option (or -injars for pre-1.2 (which is not supported)).@Parameter protected String[] weaveDirectories
ajc -inpath option.@Parameter protected Module[] aspectLibraries
ajc -aspectpath option@Parameter protected File xmlConfigured
-xmlConfigured option to ajc.protected final boolean isSkip()
true if execution should be skipped, otherwise falsepublic void setXmlConfigured(File xmlConfigured)
-xmlConfigured option to ajc.xmlConfigured - an XML file containing AspectJ weaving instructions.Copyright © 2005–2015 MojoHaus. All rights reserved.