Full name:
org.codehaus.mojo:aspectj-maven-plugin:1.3:compile
Description:
Attributes:
compile.compile.| Name | Type | Since | Description |
|---|---|---|---|
| XaddSerialVersionUID | boolean |
- |
Causes the compiler to calculate and add the SerialVersionUID field
to any type implementing Serializable that is affected by an
aspect. The field is calculated based on the class before weaving
has taken place. |
| XhasMember | boolean |
1.3 |
Enables the compiler to support hasmethod(method_pattern) and
hasfield(field_pattern) type patterns, but only within declare
statements. It's experimental and undocumented because it may
change, and because it doesn't yet take into account ITDs. |
| Xlint | String |
- |
Set default level for messages about potential programming mistakes
in crosscutting code. {level} may be ignore, warning, or error.
This overrides entries in
org/aspectj/weaver/XlintDefault.properties from aspectjtools.jar. |
| XnoInline | boolean |
- |
(Experimental) do not inline around advice |
| Xreweavable | boolean |
- |
(Experimental) runs weaver in reweavable mode which causes it to
create woven classes that can be rewoven, subject to the
restriction that on attempting a reweave all the types that advised
the woven type must be accessible. |
| XserializableAspects | boolean |
- |
(Experimental) Normally it is an error to declare aspects
Serializable. This option removes that restriction. |
| ajdtBuildDefFile | String |
- |
Where to find the ajdt build definition file. If set this will
override the use of project sourcedirs. |
| argumentFileName | String |
- |
The filename to store build configuration in. This file will be
placed in the project build output directory, and will contain all
the arguments passed to the compiler in the last run, and also all
the filenames included in the build. Aspects as well as java files. Default value is: builddef.lst. |
| aspectDirectory | String |
- |
The source directory for the aspects Default value is: src/main/aspect. |
| aspectLibraries | Module[] |
- |
Weave binary aspects from the jars. The aspects should have been
output by the same version of the compiler. The modules must also
be dependencies of the project. Corresponds to ajc -aspectpath
option |
| bootclasspath | String |
- |
Override location of VM's bootclasspath for purposes of evaluating
types when compiling. Path is a single argument containing a list
of paths to zip files or directories, delimited by the
platform-specific path delimiter. |
| complianceLevel | String |
- |
Specify compiler compliance setting (1.3 to 1.6) default is 1.4 |
| deprecation | boolean |
- |
Toggle warningmessages on deprecations |
| emacssym | boolean |
- |
Generate .ajesym symbol files for emacs support |
| encoding | String |
- |
Specify default source encoding format. |
| excludes | String[] |
- |
List of ant-style patterns used to specify the aspects that should
be excluded when compiling. When none specified all .java and .aj
files in the project source directories, or directories spesified
by the ajdtDefFile property are included. |
| forceAjcCompile | boolean |
- |
Forces re-compilation, regardless of whether the compiler arguments
or the sources have changed. |
| includes | String[] |
- |
List of ant-style patterns used to specify the aspects that should
be included when compiling. When none specified all .java and .aj
files in the project source directories, or directories spesified
by the ajdtDefFile property are included. |
| noImportError | boolean |
- |
Emit no errors for unresolved imports; |
| outxml | boolean |
- |
Generate aop.xml file for load-time weaving with default
name.(/META-INF/aop.xml) |
| outxmlfile | String |
- |
Generate aop.xml file for load-time weaving with custom name. |
| preserveAllLocals | boolean |
- |
Preserve all local variables during code generation (to facilitate
debugging). |
| proceedOnError | boolean |
- |
Keep compiling after error, dumping class files with problem
methods |
| referenceInfo | boolean |
- |
Compute reference information. |
| repeat | int |
- |
Repeat compilation process N times (typically to do performance
analysis). |
| showWeaveInfo | boolean |
- |
Emit messages about weaving |
| source | String |
- |
Toggle assertions (1.3, 1.4, or 1.6 - default is 1.4). When using
-source 1.3, an assert() statement valid under Java 1.4 will result
in a compiler error. When using -source 1.4, treat assert as a
keyword and implement assertions according to the 1.4 language
spec. When using -source 1.5 or higher, Java 5 language features
are permitted. Default value is: ${project.build.java.target}. |
| target | String |
- |
Specify classfile target setting (1.1 to 1.6) default is 1.2 Default value is: ${project.build.java.target}. |
| testAspectDirectory | String |
- |
The source directory for the test aspects Default value is: src/test/aspect. |
| verbose | boolean |
- |
Emit messages about accessed/processed compilation units |
| warn | String |
- |
Emit warnings for any instances of the comma-delimited list of
questionable code (eg 'unusedLocals,deprecation'): see
http://www.eclipse.org/aspectj/doc/released/devguide/ajc-ref.html#ajc
for available settings |
| weaveDependencies | Module[] |
- |
List of of modules to weave (into target directory). Corresponds to
ajc -inpath option (or -injars for pre-1.2 (which is not
supported)). |
booleanNoboolean1.3Nojava.lang.StringNobooleanNobooleanNobooleanNojava.lang.StringNojava.lang.StringNobuilddef.lstjava.lang.StringNosrc/main/aspectorg.codehaus.mojo.aspectj.Module[]Nojava.lang.StringNojava.lang.StringNobooleanNobooleanNojava.lang.StringNo${project.build.sourceEncoding}java.lang.String[]NobooleanNojava.lang.String[]NobooleanNobooleanNojava.lang.StringNobooleanNobooleanNobooleanNointNobooleanNojava.lang.StringNo${project.build.java.target}java.lang.StringNo${project.build.java.target}java.lang.StringNosrc/test/aspectbooleanNowarn:
java.lang.StringNoorg.codehaus.mojo.aspectj.Module[]No