Index

A B C D E F G H I J L M O P R S T U V 
All Classes and Interfaces|All Packages|Serialized Form

A

AbstractCompilerMojo - Class in org.apache.maven.plugin.compiler
Base class of Mojos compiling Java source code.
AbstractCompilerMojo(PathScope) - Constructor for class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Creates a new MOJO.
addComaSeparated(String, String, Collection<String>, UnaryOperator<String[]>) - Method in class org.apache.maven.plugin.compiler.Options
Adds the given option using the option:values syntax where values is a coma-separated list.
addIfNonBlank(String, String) - Method in class org.apache.maven.plugin.compiler.Options
Adds the given option if a non-null and non-blank value is provided and if the option is supported.
addIfTrue(String, boolean) - Method in class org.apache.maven.plugin.compiler.Options
Adds the given option if the given value is true and the option is supported.
addMemoryValue(String, String, String, boolean) - Method in class org.apache.maven.plugin.compiler.Options
Verifies the validity of the given memory setting and adds it as an option.
addUnchecked(Iterable<String>) - Method in class org.apache.maven.plugin.compiler.Options
Adds the non-null and non-empty elements without verifying their validity.
annotationProcessorPaths - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Deprecated.
Replaced by ordinary dependencies with <type> element set to processor, classpath-processor or modular-processor.
annotationProcessorPathsUseDepMgmt - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Deprecated.
This flag is ignored. Replaced by ordinary dependencies with <type> element set to processor, classpath-processor or modular-processor.
annotationProcessors - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Class names of annotation processors to run.
applyIncrementalBuild(AbstractCompilerMojo, Options) - Method in class org.apache.maven.plugin.compiler.ToolExecutor
Filters the source files to recompile, or cleans the output directory if everything should be rebuilt.
artifactManager - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
 

B

basedir - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
The directory to run the compiler from if fork is true.

C

CompilationFailureException - Exception Class in org.apache.maven.plugin.compiler
Thrown when the Maven compiler plugin cannot complete the project compilation.
CompilationFailureException(String) - Constructor for exception class org.apache.maven.plugin.compiler.CompilationFailureException
Creates a new exception with the given message.
CompilationFailureException(String, Throwable) - Constructor for exception class org.apache.maven.plugin.compiler.CompilationFailureException
Creates a new exception with the given message and cause.
compile(JavaCompiler, Options, Writer) - Method in class org.apache.maven.plugin.compiler.ToolExecutor
Runs the compilation task.
compiler() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Returns the compiler to use for compiling the code.
compilerArgs - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Additional arguments to be passed verbatim to the Java compiler.
compilerArgument - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Deprecated.
compilerId - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Identifier of the compiler to use.
CompilerMojo - Class in org.apache.maven.plugin.compiler
Compiles application sources.
CompilerMojo() - Constructor for class org.apache.maven.plugin.compiler.CompilerMojo
Creates a new compiler MOJO for the main code.
compilerReuseStrategy - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Deprecated, for removal: This API element is subject to removal in a future version.
Not supported anymore. The reuse of JavaFileManager instance is plugin implementation details.
compilerVersion - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Deprecated, for removal: This API element is subject to removal in a future version.
This parameter is no longer used by the underlying compilers.
compileSourceRoots - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Deprecated.
Replaced by the project-wide <sources> element.
createExecutor(DiagnosticListener<? super JavaFileObject>) - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Creates a new task by taking a snapshot of the current configuration of this MOJO.
createExecutor(DiagnosticListener<? super JavaFileObject>) - Method in class org.apache.maven.plugin.compiler.CompilerMojo
Creates a new task for compiling the main classes.
createExecutor(DiagnosticListener<? super JavaFileObject>) - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
Creates a new task for compiling the test classes.
createMissingPackageInfoClass - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Whether to generate package-info.class even when empty.

D

debug - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Deprecated.
Setting this flag to false is replaced by <debuglevel>none</debuglevel>.
debugFileName - Variable in class org.apache.maven.plugin.compiler.CompilerMojo
The file where to dump the command-line when debug is activated or when the compilation failed.
debugFileName - Variable in class org.apache.maven.plugin.compiler.TestCompilerMojo
The file where to dump the command-line when debug is activated or when the compilation failed.
debuglevel - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Kinds of debugging information to include in the compiled class files.
Default value - Search tag in org.apache.maven.plugin.compiler.AbstractCompilerMojo.incrementalCompilation
Section
dependencies - Variable in class org.apache.maven.plugin.compiler.ToolExecutor
All dependencies grouped by the path types where to place them, together with the modules to patch.
dependencies(PathType) - Method in class org.apache.maven.plugin.compiler.ToolExecutor
Returns a modifiable list of paths to all dependencies of the given type.
DependencyCoordinate - Class in org.apache.maven.plugin.compiler
Deprecated.
Used for AbstractCompilerMojo.annotationProcessorPaths, which is deprecated.
DependencyCoordinate() - Constructor for class org.apache.maven.plugin.compiler.DependencyCoordinate
Deprecated.
 
DependencyExclusion - Class in org.apache.maven.plugin.compiler
Deprecated.
Used for AbstractCompilerMojo.annotationProcessorPaths, which is deprecated.
DependencyExclusion() - Constructor for class org.apache.maven.plugin.compiler.DependencyExclusion
Deprecated.
 

E

enablePreview - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Whether to enable preview language features of the java compiler.
encoding - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
The -encoding argument for the Java compiler.
encoding - Variable in class org.apache.maven.plugin.compiler.ToolExecutor
The character encoding of source files, or null for the platform default encoding.
equals(Object) - Method in class org.apache.maven.plugin.compiler.DependencyCoordinate
Deprecated.
 
equals(Object) - Method in class org.apache.maven.plugin.compiler.DependencyExclusion
Deprecated.
 
excludes - Variable in class org.apache.maven.plugin.compiler.CompilerMojo
A set of exclusion filters for the compiler.
executable - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Executable of the compiler to use when AbstractCompilerMojo.fork is true.
execute() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Runs the Java compiler.
execute() - Method in class org.apache.maven.plugin.compiler.CompilerMojo
Runs the Java compiler on the main source code.
execute() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
Runs the Java compiler on the test source code.
execute() - Method in class org.apache.maven.plugins.maven_compiler_plugin.HelpMojo

F

failOnError - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Whether the build will stop if there are compilation errors.
failOnWarning - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Whether the build will stop if there are compilation warnings.
fileExtensions - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
File extensions to check timestamp for incremental build.
forceJavacCompilerUse - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Deprecated, for removal: This API element is subject to removal in a future version.
Ignored because java.lang.Compiler has been deprecated and removed from the JDK.
forceLegacyJavacApi - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Deprecated, for removal: This API element is subject to removal in a future version.
Ignored because the compiler plugin now always use the javax.tools API.
fork - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Allows running the compiler in a separate process.

G

generatedSourceDirectories - Variable in class org.apache.maven.plugin.compiler.ToolExecutor
The directories where to write generated source files.
generatedSourcesDirectory - Variable in class org.apache.maven.plugin.compiler.CompilerMojo
Specify where to place generated source files created by annotation processing.
generatedTestSourcesDirectory - Variable in class org.apache.maven.plugin.compiler.TestCompilerMojo
Specify where to place generated source files created by annotation processing.
getDebugFileName() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Returns the file where to dump the command-line when debug logging is enabled or when the compilation failed.
getDebugFileName() - Method in class org.apache.maven.plugin.compiler.CompilerMojo
Returns the file where to dump the command-line when debug is activated or when the compilation failed.
getDebugFileName() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
Returns the file where to dump the command-line when debug is activated or when the compilation failed.
getExcludes() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Returns the exclusion filters for the compiler, or an empty list if none.
getExcludes() - Method in class org.apache.maven.plugin.compiler.CompilerMojo
Returns the exclusion filters for the compiler, or an empty set if none.
getExcludes() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
Returns the exclusion filters for the compiler, or an empty set if none.
getGeneratedSourcesDirectory() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Returns the path where to place generated source files created by annotation processing.
getGeneratedSourcesDirectory() - Method in class org.apache.maven.plugin.compiler.CompilerMojo
Returns the path where to place generated source files created by annotation processing on the main classes.
getGeneratedSourcesDirectory() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
Returns the path where to place generated source files created by annotation processing on the test classes.
getIncludes() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Returns the inclusion filters for the compiler, or an empty list for all Java source files.
getIncludes() - Method in class org.apache.maven.plugin.compiler.CompilerMojo
Returns the inclusion filters for the compiler, or an empty set for all Java source files.
getIncludes() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
Returns the inclusion filters for the compiler, or an empty set for all Java source files.
getIncrementalExcludes() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Returns the exclusion filters for the incremental calculation.
getIncrementalExcludes() - Method in class org.apache.maven.plugin.compiler.CompilerMojo
Returns the exclusion filters for the incremental calculation, or an empty set if none.
getIncrementalExcludes() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
Returns the exclusion filters for the incremental calculation, or an empty set if none.
getOutputDirectory() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Returns the destination directory (or class output directory) for class files.
getOutputDirectory() - Method in class org.apache.maven.plugin.compiler.CompilerMojo
Returns the destination directory for main class files.
getOutputDirectory() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
Returns the destination directory for test class files.
getRelease() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Returns the --release argument for the Java compiler.
getRelease() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
If a different release version has been specified for the tests, returns that version.
getSource() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Returns the --source argument for the Java compiler.
getSource() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
If a different source version has been specified for the tests, returns that version.
getTarget() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Returns the --target argument for the Java compiler.
getTarget() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
If a different target version has been specified for the tests, returns that version.

H

hashCode() - Method in class org.apache.maven.plugin.compiler.DependencyCoordinate
Deprecated.
 
hashCode() - Method in class org.apache.maven.plugin.compiler.DependencyExclusion
Deprecated.
 
hasModuleDeclaration - Variable in class org.apache.maven.plugin.compiler.ToolExecutor
Whether the project contains or is assumed to contain a module-info.java file.
HelpMojo - Class in org.apache.maven.plugins.maven_compiler_plugin
Display help information on maven-compiler-plugin.
Call mvn compiler:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
HelpMojo() - Constructor for class org.apache.maven.plugins.maven_compiler_plugin.HelpMojo
 

I

implicit - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Whether to generate class files for implicitly referenced files.
includes - Variable in class org.apache.maven.plugin.compiler.CompilerMojo
A set of inclusion filters for the compiler.
incrementalCompilation - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
The algorithm to use for selecting which files to compile.
incrementalExcludes - Variable in class org.apache.maven.plugin.compiler.CompilerMojo
A set of exclusion filters for the incremental calculation.

J

jdkToolchain - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Requirements for this JDK toolchain for using a different javac than the one of the JDK used by Maven.

L

Limitation - Search tag in org.apache.maven.plugin.compiler.CompilerMojo.incrementalExcludes
Section
Limitations - Search tag in org.apache.maven.plugin.compiler.AbstractCompilerMojo.incrementalCompilation
Section
listener - Variable in class org.apache.maven.plugin.compiler.ToolExecutor
Where to send the compilation warning (never null).
logger - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
The logger for reporting information or warnings to the user.
logger - Variable in class org.apache.maven.plugin.compiler.ToolExecutor
The Maven logger for reporting information or warnings to the user.

M

mainOutputDirectory - Variable in class org.apache.maven.plugin.compiler.TestCompilerMojo
The output directory of the main classes.
maxmem - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Maximum size, in megabytes, of the memory allocation pool if AbstractCompilerMojo.fork is set to true.
meminitial - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Initial size, in megabytes, of the memory allocation pool if AbstractCompilerMojo.fork is set to true.
messageBuilderFactory - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
 
Modifications during the build of multi-release project - Search tag in org.apache.maven.plugin.compiler.ToolExecutor.dependencies
Section
ModuleInfoPatchException - Exception Class in org.apache.maven.plugin.compiler
Thrown when a module-info-patch.maven file cannot be parsed.
ModuleInfoPatchException(String) - Constructor for exception class org.apache.maven.plugin.compiler.ModuleInfoPatchException
Creates a new exception with the given message.
moduleVersion - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
The --module-version argument for the Java compiler.
mojoStatusPath - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Path to a file where to cache information about the last incremental build.
multiReleaseOutput - Variable in class org.apache.maven.plugin.compiler.CompilerMojo
Deprecated.
Replaced by specifying the <targetVersion> value inside a <source> element.
Multi-threading - Search tag in org.apache.maven.plugin.compiler.AbstractCompilerMojo.createExecutor(DiagnosticListener<? super JavaFileObject>)
Section

O

optimize - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Deprecated, for removal: This API element is subject to removal in a future version.
This property is ignored.
Options - Class in org.apache.maven.plugin.compiler
An helper class for preparing the options to pass to the tool (compiler or document generator).
org.apache.maven.plugin.compiler - package org.apache.maven.plugin.compiler
Maven Compiler Plugin MOJO.
org.apache.maven.plugins.maven_compiler_plugin - package org.apache.maven.plugins.maven_compiler_plugin
 
outputDirectory - Variable in class org.apache.maven.plugin.compiler.CompilerMojo
The directory for compiled classes.
outputDirectory - Variable in class org.apache.maven.plugin.compiler.TestCompilerMojo
The directory where compiled test classes go.
outputDirectory - Variable in class org.apache.maven.plugin.compiler.ToolExecutor
The destination directory (or class output directory) for class files.
outputFileName - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Deprecated, for removal: This API element is subject to removal in a future version.
Bundling many class files into a single file should be done by other plugins.
outputTimestamp - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Deprecated, for removal: This API element is subject to removal in a future version.
Not used by the compiler plugin since it does not generate archive.

P

parameters - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Whether to generate metadata for reflection on method parameters.
parseParameters(OptionChecker) - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Parses the parameters declared in the MOJO.
parseParameters(OptionChecker) - Method in class org.apache.maven.plugin.compiler.CompilerMojo
Parses the parameters declared in the MOJO.
parseParameters(OptionChecker) - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
Parses the parameters declared in the MOJO.
prependDependency(PathType, Path) - Method in class org.apache.maven.plugin.compiler.ToolExecutor
Inserts the given path as the first element of the list of paths of the given type.
proc - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Configures if annotation processing and/or compilation are performed by the compiler.
project - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
The current project instance.
projectArtifact - Variable in class org.apache.maven.plugin.compiler.CompilerMojo
Projects main artifact.
projectManager - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
 

R

release - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
The --release argument for the Java compiler when the sources do not declare this version.

S

session - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
The current build session instance.
setRelease(String) - Method in class org.apache.maven.plugin.compiler.Options
Adds or sets the value of the --release option.
showCompilationChanges - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Whether to provide more details about why a module is rebuilt.
showDeprecation - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Whether to show source locations where deprecated APIs are used.
showWarnings - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Whether to show compilation warnings.
skip - Variable in class org.apache.maven.plugin.compiler.TestCompilerMojo
Whether to bypass compilation of test sources.
skipMain - Variable in class org.apache.maven.plugin.compiler.CompilerMojo
Set this to true to bypass compilation of main sources.
skipMultiThreadWarning - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated as a consequence of AbstractCompilerMojo.compilerReuseStrategy deprecation.
source - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
The --source argument for the Java compiler.
staleMillis - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
The granularity in milliseconds of the last modification date for testing whether a source needs recompilation.

T

target - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
The --target argument for the Java compiler.
testCompilerArgs - Variable in class org.apache.maven.plugin.compiler.TestCompilerMojo
The arguments to be passed to the test compiler.
testCompilerArgument - Variable in class org.apache.maven.plugin.compiler.TestCompilerMojo
Deprecated.
testCompilerArguments - Variable in class org.apache.maven.plugin.compiler.TestCompilerMojo
Deprecated.
Replaced by TestCompilerMojo.testCompilerArgs for consistency with the main phase.
TestCompilerMojo - Class in org.apache.maven.plugin.compiler
Compiles application test sources.
TestCompilerMojo() - Constructor for class org.apache.maven.plugin.compiler.TestCompilerMojo
Creates a new compiler MOJO for the tests.
testExcludes - Variable in class org.apache.maven.plugin.compiler.TestCompilerMojo
A set of exclusion filters for the compiler.
testIncludes - Variable in class org.apache.maven.plugin.compiler.TestCompilerMojo
A set of inclusion filters for the compiler.
testIncrementalExcludes - Variable in class org.apache.maven.plugin.compiler.TestCompilerMojo
A set of exclusion filters for the incremental calculation.
testRelease - Variable in class org.apache.maven.plugin.compiler.TestCompilerMojo
the --release argument for the test Java compiler
testSource - Variable in class org.apache.maven.plugin.compiler.TestCompilerMojo
The --source argument for the test Java compiler.
testTarget - Variable in class org.apache.maven.plugin.compiler.TestCompilerMojo
The --target argument for the test Java compiler.
Thread safety - Search tag in class org.apache.maven.plugin.compiler.ToolExecutor
Section
Thread safety - Search tag in org.apache.maven.plugin.compiler.AbstractCompilerMojo.logger
Section
Thread safety - Search tag in org.apache.maven.plugin.compiler.ToolExecutor.logger
Section
Thread-safety - Search tag in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Section
toolchainManager - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
 
ToolExecutor - Class in org.apache.maven.plugin.compiler
A task which configures and executes a Java tool such as the Java compiler.
ToolExecutor(AbstractCompilerMojo, DiagnosticListener<? super JavaFileObject>) - Constructor for class org.apache.maven.plugin.compiler.ToolExecutor
Creates a new task by taking a snapshot of the current configuration of the given MOJO.
toString() - Method in class org.apache.maven.plugin.compiler.DependencyCoordinate
Deprecated.
 
toString() - Method in class org.apache.maven.plugin.compiler.DependencyExclusion
Deprecated.
 
toString() - Method in class org.apache.maven.plugin.compiler.Options
Returns a string representatation of the options for debugging purposes.

U

UnsupportedVersionException - Exception Class in org.apache.maven.plugin.compiler
Thrown when the source cannot be compiled because it required a Java version higher than the current runtime.
UnsupportedVersionException(String) - Constructor for exception class org.apache.maven.plugin.compiler.UnsupportedVersionException
Creates a new exception with the given message.
UnsupportedVersionException(String, Throwable) - Constructor for exception class org.apache.maven.plugin.compiler.UnsupportedVersionException
Creates a new exception with the given message and cause.
useIncrementalCompilation - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Deprecated.
Replaced by AbstractCompilerMojo.incrementalCompilation. A value of true in this old property is equivalent to "dependencies,sources,rebuild-on-add" in the new property, and a value of false is equivalent to "classes".
useModulePath - Variable in class org.apache.maven.plugin.compiler.TestCompilerMojo
Deprecated.
Use "claspath-jar" dependency type instead, and avoid module-info.java in tests.

V

verbose - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Whether to show messages about what the compiler is doing.
A B C D E F G H I J L M O P R S T U V 
All Classes and Interfaces|All Packages|Serialized Form