Full name:
org.apache.maven.plugins:maven-compiler-plugin:2.2:testCompile
Description:
Attributes:
test.2.0.test-compile.| Name | Type | Since | Description |
|---|---|---|---|
| annotationProcessors | String[] |
2.2 |
Names of annotation processors to run. Only applies to JDK 1.6+ If not set, the default annotation processors discovery process applies. |
| compilerArgument | String |
2.0 |
Sets the unformatted argument string to be passed to the compiler if fork is set to true. This is because the list of valid arguments passed to a Java compiler varies based on the compiler version. |
| compilerArguments | Map |
2.0.1 |
Sets the arguments to be passed to the compiler (prepending a dash) if fork is set to true. This is because the list of valid arguments passed to a Java compiler varies based on the compiler version. |
| compilerId | String |
2.0 |
The compiler id of the compiler to use. See this guide for more information. Default value is: javac. |
| compilerVersion | String |
2.0 |
Version of the compiler to use, ex. "1.3", "1.5", if fork is set to
true. |
| debug | boolean |
2.0 |
Set to true to include debugging information in the compiled class
files. Default value is: true. |
| debuglevel | String |
2.1 |
Keyword list to be appended to the -g command-line switch. Legal
values are none or a comma-separated list of the following
keywords: lines, vars, and source. If debuglevel is not specified,
by default, nothing will be appended to -g. If debug is not turned
on, this attribute will be ignored. |
| encoding | String |
2.0 |
The -encoding argument for the Java compiler. Default value is: ${project.build.sourceEncoding}. |
| executable | String |
2.0 |
Sets the executable of the compiler to use when fork is true. |
| failOnError | boolean |
2.0.2 |
Indicates whether the build will continue even if there are
compilation errors; defaults to true. Default value is: true. |
| fork | boolean |
2.0 |
Allows running the compiler in a separate process. If "false" it
uses the built in compiler, while if "true" it will use an
executable. Default value is: false. |
| generatedTestSourcesDirectory | File |
2.2 |
Specify where to place generated source files created by annotation processing. Only applies to JDK 1.6+ Default value is: ${project.build.directory}/generated-sources/test-annotations. |
| maxmem | String |
2.0.1 |
Sets the maximum size, in megabytes, of the memory allocation pool,
ex. "128", "128m" if fork is set to true. |
| meminitial | String |
2.0.1 |
Initial size, in megabytes, of the memory allocation pool, ex.
"64", "64m" if fork is set to true. |
| optimize | boolean |
2.0 |
Set to true to optimize the compiled code using the compiler's
optimization methods. Default value is: false. |
| outputFileName | String |
2.0 |
Sets the name of the output file when compiling a set of sources to
a single file. |
| proc | String |
2.2 |
Sets whether annotation processing is performed or not. Only applies to JDK 1.6+ If not set, both compilation and annotation processing are performed at the same time. Allowed values are: none - no annotation processing is performed. only - only annotation processing is done, no compilation. |
| showDeprecation | boolean |
2.0 |
Sets whether to show source locations where deprecated APIs are
used. Default value is: false. |
| showWarnings | boolean |
2.0 |
Set to true to show compilation warnings. Default value is: false. |
| skip | boolean |
2.0 |
Set this to 'true' to bypass unit tests entirely. Its use is NOT
RECOMMENDED, but quite convenient on occasion. |
| source | String |
2.0 |
The -source argument for the Java compiler. |
| staleMillis | int |
2.0 |
Sets the granularity in milliseconds of the last modification date
for testing whether a source needs recompilation. Default value is: 0. |
| target | String |
2.0 |
The -target argument for the Java compiler. |
| testCompilerArgument | String |
2.1 |
Sets the unformatted argument string to be passed to test compiler if fork is set to true. This is because the list of valid arguments passed to a Java compiler varies based on the compiler version. |
| testCompilerArguments | Map |
2.1 |
Sets the arguments to be passed to test compiler (prepending a dash) if fork is set to true. This is because the list of valid arguments passed to a Java compiler varies based on the compiler version. |
| testExcludes | Set |
2.0 |
A list of exclusion filters for the compiler. |
| testIncludes | Set |
2.0 |
A list of inclusion filters for the compiler. |
| testSource | String |
2.1 |
The -source argument for the test Java compiler. |
| testTarget | String |
2.1 |
The -target argument for the test Java compiler. |
| verbose | boolean |
2.0 |
Set to true to show messages about what the compiler is doing. Default value is: false. |
Names of annotation processors to run. Only applies to JDK 1.6+ If not set, the default annotation processors discovery process applies.
java.lang.String[]2.2NoSets the unformatted argument string to be passed to the compiler if fork is set to true.
This is because the list of valid arguments passed to a Java compiler varies based on the compiler version.
java.lang.String2.0NoSets the arguments to be passed to the compiler (prepending a dash) if fork is set to true.
This is because the list of valid arguments passed to a Java compiler varies based on the compiler version.
java.util.Map2.0.1Nojava.lang.String2.0No${maven.compiler.compilerId}javacjava.lang.String2.0No${maven.compiler.compilerVersion}boolean2.0No${maven.compiler.debug}truejava.lang.String2.1No${maven.compiler.debuglevel}java.lang.String2.0No${encoding}${project.build.sourceEncoding}java.lang.String2.0No${maven.compiler.executable}boolean2.0.2No${maven.compiler.failOnError}truefork:
boolean2.0No${maven.compiler.fork}falsegeneratedTestSourcesDirectory:
Specify where to place generated source files created by annotation processing. Only applies to JDK 1.6+
java.io.File2.2No${project.build.directory}/generated-sources/test-annotationsjava.lang.String2.0.1No${maven.compiler.maxmem}java.lang.String2.0.1No${maven.compiler.meminitial}boolean2.0No${maven.compiler.optimize}falsejava.lang.String2.0No${project.build.finalName}proc:
Sets whether annotation processing is performed or not. Only applies to JDK 1.6+ If not set, both compilation and annotation processing are performed at the same time.
Allowed values are: none - no annotation processing is performed. only - only annotation processing is done, no compilation.
java.lang.String2.2Noboolean2.0No${maven.compiler.showDeprecation}falseboolean2.0No${maven.compiler.showWarnings}falseskip:
boolean2.0No${maven.test.skip}java.lang.String2.0No${maven.compiler.source}int2.0No${lastModGranularityMs}0java.lang.String2.0No${maven.compiler.target}Sets the unformatted argument string to be passed to test compiler if fork is set to true.
This is because the list of valid arguments passed to a Java compiler varies based on the compiler version.
java.lang.String2.1NoSets the arguments to be passed to test compiler (prepending a dash) if fork is set to true.
This is because the list of valid arguments passed to a Java compiler varies based on the compiler version.
java.util.Map2.1Nojava.util.Set2.0Nojava.util.Set2.0Nojava.lang.String2.1No${maven.compiler.testSource}java.lang.String2.1No${maven.compiler.testTarget}boolean2.0No${maven.compiler.verbose}false