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(boolean) - Constructor for class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Creates a new MOJO.
acceptParameters(OptionChecker) - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Parses the parameters declared in the MOJO.
acceptParameters(OptionChecker) - Method in class org.apache.maven.plugin.compiler.CompilerMojo
Parses the parameters declared in the MOJO.
acceptParameters(OptionChecker) - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
Parses the parameters declared in the 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.
addImplicitDependencies(Map<PathType, List<Path>>, boolean) - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Adds dependencies others than the ones declared in POM file.
addImplicitDependencies(Map<PathType, List<Path>>, boolean) - Method in class org.apache.maven.plugin.compiler.CompilerMojo
Deprecated.
For compatibility with the previous way to build multi-releases JAR file.
addImplicitDependencies(Map<PathType, List<Path>>, boolean) - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
Adds the main compilation output directories as test dependencies.
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.
addModuleOptions(DependencyResolverResult, Options) - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Generates options for handling the given dependencies.
addModuleOptions(DependencyResolverResult, Options) - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
Generates the --add-modules and --add-reads options for the dependencies that are not in the main compilation.
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 proc, classpath-proc or modular-proc.
annotationProcessorPathsUseDepMgmt - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Whether to use the Maven dependency management section when resolving transitive dependencies of annotation processor paths.
annotationProcessors - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Class names of annotation processors to run.
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.
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.
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.CompilerMojo
The source directories containing the sources to be compiled.
compileSourceRoots - Variable in class org.apache.maven.plugin.compiler.TestCompilerMojo
The source directories containing the test-source to be compiled.
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
Whether to include debugging information in the compiled class files.
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
Keyword list to be appended to the -g command-line switch.
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.
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

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.
getCompileSourceRoots() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Returns the root directories of Java source files to compile.
getCompileSourceRoots() - Method in class org.apache.maven.plugin.compiler.CompilerMojo
Returns the root directories of Java source files to compile.
getCompileSourceRoots() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
Returns the root directories of Java source files to compile for the tests.
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.
 
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
logger - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
The 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
 
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 release version together with the source directory.

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
 
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.
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.
proc - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
Whether annotation processing is performed or not.
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.

S

session - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
The current build session instance.
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 test compiler MOJO.
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.
toolchainManager - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
 
toString() - Method in class org.apache.maven.plugin.compiler.DependencyCoordinate
Deprecated.
 
toString() - Method in class org.apache.maven.plugin.compiler.DependencyExclusion
Deprecated.
 

U

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,additions" 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