-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4d7a39c
commit a43c011
Showing
1 changed file
with
15 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,7 @@ | |
* TODO: At least one step could be optimized, currently the plugin will do two scans of all the | ||
* source code if the compiler has to have the entire set of sources. This is currently the case for | ||
* at least the C# compiler and most likely all the other .NET compilers too. | ||
* | ||
* | ||
* @author others | ||
* @author <a href="mailto:[email protected]">Trygve Laugstøl</a> | ||
* @author Jan Sievers (SAP) added support for annotation processor options | ||
|
@@ -124,9 +124,10 @@ public abstract class AbstractCompilerMojo extends AbstractMojo { | |
|
||
/** | ||
* The -encoding argument for the Java compiler (kept for backwards compatibility) | ||
* | ||
* | ||
* @deprecated use {@link #encoding} | ||
*/ | ||
@Deprecated | ||
@Parameter(property = "maven.compiler.encoding", readonly = true) | ||
private String mavenCompilerEncoding; | ||
|
||
|
@@ -183,13 +184,13 @@ public abstract class AbstractCompilerMojo extends AbstractMojo { | |
private String executable; | ||
|
||
/** | ||
* If <code>only</code> is specified, the annotation processors will run but no compilation will be | ||
* performed. If <code>none</code> is specified, annotation processors will not be discovered or | ||
* run; compilation will proceed as if no annotation processors were found. By default the | ||
* compiler must search the classpath for annotation processors, so specifying <code>none</code> may | ||
* speed compilation if annotation processing is not required. This parameter requires a 1.6 VM | ||
* or above and is used only if the compliance is 1.6 | ||
* | ||
* If <code>only</code> is specified, the annotation processors will run but no compilation will | ||
* be performed. If <code>none</code> is specified, annotation processors will not be discovered | ||
* or run; compilation will proceed as if no annotation processors were found. By default the | ||
* compiler must search the classpath for annotation processors, so specifying <code>none</code> | ||
* may speed compilation if annotation processing is not required. This parameter requires a 1.6 | ||
* VM or above and is used only if the compliance is 1.6 | ||
* | ||
* @since 0.16.0 | ||
*/ | ||
@Parameter | ||
|
@@ -200,7 +201,7 @@ public abstract class AbstractCompilerMojo extends AbstractMojo { | |
* <a href="https://java.sun.com/javase/6/docs/api/javax/annotation/processing/Processor.html" > | ||
* normal processor discovery process</a> will be skipped. This parameter requires a 1.6 VM or | ||
* above and is used only if the compliance is 1.6 | ||
* | ||
* | ||
* @since 0.16.0 | ||
*/ | ||
@Parameter | ||
|
@@ -209,7 +210,7 @@ public abstract class AbstractCompilerMojo extends AbstractMojo { | |
/** | ||
* The directory where source files generated by annotation processors will be created. This | ||
* parameter requires a 1.6 VM or above and is used only if the compliance is 1.6. | ||
* | ||
* | ||
* @since 0.16.0 | ||
*/ | ||
@Parameter(defaultValue = "${project.build.directory}/generated-sources/annotations") | ||
|
@@ -223,15 +224,16 @@ public abstract class AbstractCompilerMojo extends AbstractMojo { | |
* This is because the list of valid arguments passed to a Java compiler varies based on the | ||
* compiler version. | ||
* </p> | ||
* | ||
* | ||
* @deprecated use {@link #compilerArgs} instead. | ||
*/ | ||
@Deprecated | ||
@Parameter | ||
private Map<String, String> compilerArguments; | ||
|
||
/** | ||
* Arguments to be passed to the compiler. | ||
* | ||
* | ||
* @since 0.17.0 | ||
*/ | ||
@Parameter | ||
|