Full name:
org.codehaus.mojo:aspectj-maven-plugin:1.1-SNAPSHOT:test-compile
Description:
Weaves all test classes.
Attributes:
test.process-test-sources.| Name | Type | Since | Description |
|---|---|---|---|
| basedir | File |
- |
The basedir of the project. |
| project | MavenProject |
- |
The maven project. |
| 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. |
| 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.5) 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. * |
| 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.5 - 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, Java 5 language features are permitted. |
| target | String |
- |
Specify classfile target setting (1.1 to 1.5) default is 1.2 |
| 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)). |
| weaveMainSourceFolder | boolean |
- |
Flag to indicate if the main source dirs should be a part of the
compile process. Note this will make all classes in main source dir
appare in the test output dir also, potentially overwriting test
resources. Default value is: false. |
| weaveWithAspectsInMainSourceFolder | boolean |
- |
Flag to indicate if aspects in the the main source dirs should be a
part of the compile process Default value is: true. |
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.
booleanNoXlint :
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.
java.lang.StringNo(Experimental) do not inline around advice
booleanNo(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.
booleanNo(Experimental) Normally it is an error to declare aspects Serializable. This option removes that restriction.
booleanNoWhere to find the ajdt build definition file. If set this will override the use of project sourcedirs .
java.lang.StringNoThe 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.
java.lang.StringNobuilddef.lstThe source directory for the aspects
java.lang.StringNosrc/main/aspectWeave 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
org.codehaus.mojo.aspectj.Module[]Nobasedir :
The basedir of the project.
java.io.FileYes${basedir}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.
java.lang.StringNoSpecify compiler compliance setting (1.3 to 1.5) default is 1.4
java.lang.StringNoToggle warningmessages on deprecations
booleanNoemacssym :
Generate .ajesym symbol files for emacs support
booleanNoencoding :
Specify default source encoding format.
java.lang.StringNoexcludes :
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. *
java.lang.String[]Noincludes :
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. *
java.lang.String[]NoEmit no errors for unresolved imports;
booleanNooutxml :
Generate aop.xml file for load-time weaving with default name.(/META-INF/aop.xml)
booleanNoGenerate aop.xml file for load-time weaving with custom name.
java.lang.StringNoPreserve all local variables during code generation (to facilitate debugging).
booleanNoKeep compiling after error, dumping class files with problem methods
booleanNoproject :
The maven project.
org.apache.maven.project.MavenProjectYes${project}Compute reference information.
booleanNorepeat :
Repeat compilation process N times (typically to do performance analysis).
intNoEmit messages about weaving
booleanNosource :
Toggle assertions (1.3, 1.4, or 1.5 - 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, Java 5 language features are permitted.
java.lang.StringNotarget :
Specify classfile target setting (1.1 to 1.5) default is 1.2
java.lang.StringNoThe source directory for the test aspects
java.lang.StringNosrc/test/aspectverbose :
Emit messages about accessed/processed compilation units
booleanNowarn :
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
java.lang.StringNoList of of modules to weave (into target directory). Corresponds to ajc -inpath option (or -injars for pre-1.2 (which is not supported)).
org.codehaus.mojo.aspectj.Module[]NoFlag to indicate if the main source dirs should be a part of the compile process. Note this will make all classes in main source dir appare in the test output dir also, potentially overwriting test resources.
booleanNofalseweaveWithAspectsInMainSourceFolder :
Flag to indicate if aspects in the the main source dirs should be a part of the compile process
booleanNotrue