Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractCompilerMojo - Class in org.apache.maven.plugin.compiler
-
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.
- AbstractCompilerMojo() - Constructor for class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- afterRebuildExecution() - Method in class org.apache.maven.plugin.compiler.IncrementalBuildHelper
-
This method collects and stores all information about files changed since the call to
IncrementalBuildHelper.beforeRebuildExecution()
. - annotationProcessorPaths - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
Classpath elements to supply as annotation processor path.
- 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
-
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.
- beforeRebuildExecution() - Method in class org.apache.maven.plugin.compiler.IncrementalBuildHelper
-
This method shall get invoked before the actual Mojo task gets triggered, e.g.
- buildDirectory - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
The target directory of the compiler if fork is true.
C
- CompilationFailureException - Exception Class in org.apache.maven.plugin.compiler
- CompilationFailureException(List<CompilerMessage>) - Constructor for exception class org.apache.maven.plugin.compiler.CompilationFailureException
-
Wrap error messages from the compiler
- compilePath - Variable in class org.apache.maven.plugin.compiler.CompilerMojo
- compilerArgs - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
Sets the arguments to be passed to the compiler.
- compilerArgument - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
Sets the unformatted single argument string to be passed to the compiler.
- compilerId - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
The compiler id of the compiler to use.
- compilerManager - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
Plexus compiler manager.
- CompilerMojo - Class in org.apache.maven.plugin.compiler
-
Compiles application sources.
- CompilerMojo() - Constructor for class org.apache.maven.plugin.compiler.CompilerMojo
- compilerReuseStrategy - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
Strategy to re use javacc class created:
reuseCreated
(default): will reuse already created but in case of multi-threaded builds, each thread will have its own instancereuseSame
: the same Javacc class will be used for each compilation even for multi-threaded buildalwaysNew
: a new Javacc class will be created for each compilation Note this parameter value depends on the os/jdk you are using, but the default value should work on most of env. - compilerVersion - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
Deprecated.
- compileSourceRoots - Variable in class org.apache.maven.plugin.compiler.CompilerMojo
-
The source directories containing the sources to be compiled.
- CREATED_FILES_LST_FILENAME - Static variable in class org.apache.maven.plugin.compiler.IncrementalBuildHelper
- createMissingPackageInfoClass - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
Package info source files that only contain javadoc and no annotation on the package can lead to no class file being generated by the compiler.
D
- debug - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
Set to
true
to include debugging information in the compiled class files. - debugFileName - Variable in class org.apache.maven.plugin.compiler.CompilerMojo
-
When both
AbstractCompilerMojo.fork
andAbstractCompilerMojo.debug
are enabled the commandline arguments used will be dumped to this file. - DependencyCoordinate - Class in org.apache.maven.plugin.compiler
-
Simple representation of Maven-coordinates of a dependency.
- DependencyCoordinate() - Constructor for class org.apache.maven.plugin.compiler.DependencyCoordinate
- DependencyExclusion - Class in org.apache.maven.plugin.compiler
-
Simple representation of a Maven dependency exclusion.
- DependencyExclusion() - Constructor for class org.apache.maven.plugin.compiler.DependencyExclusion
E
- enablePreview - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
Set to
true
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
- equals(Object) - Method in class org.apache.maven.plugin.compiler.DependencyExclusion
- excludes - Variable in class org.apache.maven.plugin.compiler.CompilerMojo
-
A list of exclusion filters for the compiler.
- executable - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
Sets the executable of the compiler to use when
AbstractCompilerMojo.fork
istrue
. - execute() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- execute() - Method in class org.apache.maven.plugin.compiler.CompilerMojo
- execute() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
- execute() - Method in class org.apache.maven.plugins.maven_compiler_plugin.HelpMojo
F
- failOnError - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
Indicates whether the build will continue even if there are compilation errors.
- failOnWarning - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
Indicates whether the build will continue even if there are compilation warnings.
- fileExtensions - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
File extensions to check timestamp for incremental build.
- forceLegacyJavacApi - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
The underlying compiler now uses
javax.tools
API if available in your current JDK. - 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.
- getArtifactId() - Method in class org.apache.maven.plugin.compiler.DependencyCoordinate
- getArtifactId() - Method in class org.apache.maven.plugin.compiler.DependencyExclusion
- getBuildStartTime() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- getClassifier() - Method in class org.apache.maven.plugin.compiler.DependencyCoordinate
- getClassifier() - Method in class org.apache.maven.plugin.compiler.DependencyExclusion
- getClasspathElements() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- getClasspathElements() - Method in class org.apache.maven.plugin.compiler.CompilerMojo
- getClasspathElements() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
- getCompilerArgument() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- getCompilerArgument() - Method in class org.apache.maven.plugin.compiler.CompilerMojo
- getCompilerArgument() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
- getCompileSourceRoots() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- getCompileSourceRoots() - Method in class org.apache.maven.plugin.compiler.CompilerMojo
- getCompileSourceRoots() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
- getDebugFileName() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- getDebugFileName() - Method in class org.apache.maven.plugin.compiler.CompilerMojo
- getDebugFileName() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
- getExcludes() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- getExcludes() - Method in class org.apache.maven.plugin.compiler.CompilerMojo
- getExcludes() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
- getExclusions() - Method in class org.apache.maven.plugin.compiler.DependencyCoordinate
- getExtension() - Method in class org.apache.maven.plugin.compiler.DependencyExclusion
- getGeneratedSourcesDirectory() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- getGeneratedSourcesDirectory() - Method in class org.apache.maven.plugin.compiler.CompilerMojo
- getGeneratedSourcesDirectory() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
- getGroupId() - Method in class org.apache.maven.plugin.compiler.DependencyCoordinate
- getGroupId() - Method in class org.apache.maven.plugin.compiler.DependencyExclusion
- getIncludes() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- getIncludes() - Method in class org.apache.maven.plugin.compiler.CompilerMojo
- getIncludes() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
- getLog() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- getModuleDeclaration(Set<Path>) - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- getModulepathElements() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- getModulepathElements() - Method in class org.apache.maven.plugin.compiler.CompilerMojo
- getModulepathElements() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
- getMojoStatusDirectory() - Method in class org.apache.maven.plugin.compiler.IncrementalBuildHelper
-
We use a specific status directory for each Mojo execution to store state which is needed during the next build invocation run.
- getOutputDirectory() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- getOutputDirectory() - Method in class org.apache.maven.plugin.compiler.CompilerMojo
- getOutputDirectory() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
- getPathElements() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- getPathElements() - Method in class org.apache.maven.plugin.compiler.CompilerMojo
- getPathElements() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
- getProject() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- getRelease() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- getRelease() - Method in class org.apache.maven.plugin.compiler.CompilerMojo
- getRelease() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
- getRequestThreadCount() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
try to get thread count if a Maven 3 build, using reflection as the plugin must not be maven3 api dependent
- getSource() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- getSource() - Method in class org.apache.maven.plugin.compiler.CompilerMojo
- getSource() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
- getSourceInclusionScanner(int) - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- getSourceInclusionScanner(int) - Method in class org.apache.maven.plugin.compiler.CompilerMojo
- getSourceInclusionScanner(int) - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
- getSourceInclusionScanner(String) - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- getSourceInclusionScanner(String) - Method in class org.apache.maven.plugin.compiler.CompilerMojo
- getSourceInclusionScanner(String) - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
- getTarget() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- getTarget() - Method in class org.apache.maven.plugin.compiler.CompilerMojo
- getTarget() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
- getToolchain() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- getType() - Method in class org.apache.maven.plugin.compiler.DependencyCoordinate
- getVersion() - Method in class org.apache.maven.plugin.compiler.DependencyCoordinate
H
- hashCode() - Method in class org.apache.maven.plugin.compiler.DependencyCoordinate
- hashCode() - Method in class org.apache.maven.plugin.compiler.DependencyExclusion
- HelpMojo - Class in org.apache.maven.plugins.maven_compiler_plugin
-
Display help information on maven-compiler-plugin.
Callmvn 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
-
Keyword to be appended to the
-implicit:
command-line switch. - includes - Variable in class org.apache.maven.plugin.compiler.CompilerMojo
-
A list of inclusion filters for the compiler.
- IncrementalBuildHelper - Class in org.apache.maven.plugin.compiler
-
Various helper methods to support incremental builds
- IncrementalBuildHelper(String, Set<Path>, Path, Path) - Constructor for class org.apache.maven.plugin.compiler.IncrementalBuildHelper
- incrementalExcludes - Variable in class org.apache.maven.plugin.compiler.CompilerMojo
-
A list of exclusion filters for the incremental calculation.
- inputFileTreeChanged(List<String>, List<String>) - Method in class org.apache.maven.plugin.compiler.IncrementalBuildHelper
-
Detect whether the list of detected files has changed since the last build.
- isDependencyChanged() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
We just compare the timestamps of all local dependency files (inter-module dependency classpath) and the own generated classes and if we got a file which is >= the build-started timestamp, then we caught a file which got changed during this build.
- isTestCompile() - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- isTestCompile() - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
J
- jdkToolchain - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
Specify the requirements for this jdk toolchain for using a different
javac
than the one of the JRE used by Maven.
L
- logger - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- longMessage(List<CompilerMessage>) - Static method in exception class org.apache.maven.plugin.compiler.CompilationFailureException
-
Long message will have all messages, one per line
M
- maxmem - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
Sets the maximum size, in megabytes, of the memory allocation pool, ex.
- meminitial - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
Initial size, in megabytes, of the memory allocation pool, ex.
- messageBuilderFactory - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- mojoStatusPath - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- multiReleaseOutput - Variable in class org.apache.maven.plugin.compiler.CompilerMojo
-
When set to
true
, the classes will be placed inMETA-INF/versions/${release}
The release value must be set, otherwise the plugin will fail.
O
- optimize - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
Deprecated.This property is a no-op in
javac
. - 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.
- outputTimestamp - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
Timestamp for reproducible output archive entries, either formatted as ISO 8601
yyyy-MM-dd'T'HH:mm:ssXXX
or as an int representing seconds since the epoch (like SOURCE_DATE_EPOCH).
P
- parameters - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
Set to
true
to generate metadata for reflection on method parameters. - preparePaths(Set<Path>) - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- preparePaths(Set<Path>) - Method in class org.apache.maven.plugin.compiler.CompilerMojo
- preparePaths(Set<Path>) - Method in class org.apache.maven.plugin.compiler.TestCompilerMojo
- proc - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
Sets 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
- PS - Static 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, supported since Java9
S
- session - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
The current build session instance.
- setArtifactId(String) - Method in class org.apache.maven.plugin.compiler.DependencyCoordinate
- setArtifactId(String) - Method in class org.apache.maven.plugin.compiler.DependencyExclusion
- setClassifier(String) - Method in class org.apache.maven.plugin.compiler.DependencyCoordinate
- setClassifier(String) - Method in class org.apache.maven.plugin.compiler.DependencyExclusion
- setExclusions(Set<DependencyExclusion>) - Method in class org.apache.maven.plugin.compiler.DependencyCoordinate
- setExtension(String) - Method in class org.apache.maven.plugin.compiler.DependencyExclusion
- setGroupId(String) - Method in class org.apache.maven.plugin.compiler.DependencyCoordinate
- setGroupId(String) - Method in class org.apache.maven.plugin.compiler.DependencyExclusion
- setRelease(String) - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- setTarget(String) - Method in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- setType(String) - Method in class org.apache.maven.plugin.compiler.DependencyCoordinate
- setVersion(String) - Method in class org.apache.maven.plugin.compiler.DependencyCoordinate
- shortMessage(List<CompilerMessage>) - Static method in exception class org.apache.maven.plugin.compiler.CompilationFailureException
-
Short message will have the error message if there's only one, useful for errors forking the compiler
- showCompilationChanges - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- showDeprecation - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
Sets whether to show source locations where deprecated APIs are used.
- showWarnings - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
Set to
false
to disable warnings during compilation. - 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
- 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
-
Sets 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. - TestCompilerMojo - Class in org.apache.maven.plugin.compiler
-
Compiles application test sources.
- TestCompilerMojo() - Constructor for class org.apache.maven.plugin.compiler.TestCompilerMojo
- toolchainManager - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
- toString() - Method in class org.apache.maven.plugin.compiler.DependencyCoordinate
- toString() - Method in class org.apache.maven.plugin.compiler.DependencyExclusion
U
- useIncrementalCompilation - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
to enable/disable incremental compilation feature.
V
- verbose - Variable in class org.apache.maven.plugin.compiler.AbstractCompilerMojo
-
Set to
true
to show messages about what the compiler is doing.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
javac
binary is automatically retrieved.