org.apache.maven.plugin.compiler
Class CompilerMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.compiler.AbstractCompilerMojo
org.apache.maven.plugin.compiler.CompilerMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
- Direct Known Subclasses:
- CompilerMojo
@Mojo(name="compile",
defaultPhase=COMPILE,
threadSafe=true,
requiresDependencyResolution=COMPILE)
public class CompilerMojo
- extends AbstractCompilerMojo
Compiles application sources
- Since:
- 2.0
- Version:
- $Id: CompilerMojo.java 1410034 2012-11-15 21:40:58Z olamy $
- Author:
- Jason van Zyl
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompilerMojo
public CompilerMojo()
getCompileSourceRoots
protected List<String> getCompileSourceRoots()
- Specified by:
getCompileSourceRoots
in class AbstractCompilerMojo
getClasspathElements
protected List<String> getClasspathElements()
- Specified by:
getClasspathElements
in class AbstractCompilerMojo
getOutputDirectory
protected File getOutputDirectory()
- Specified by:
getOutputDirectory
in class AbstractCompilerMojo
execute
public void execute()
throws MojoExecutionException,
CompilationFailureException
- Specified by:
execute
in interface Mojo
- Overrides:
execute
in class AbstractCompilerMojo
- Throws:
MojoExecutionException
CompilationFailureException
getSourceInclusionScanner
protected SourceInclusionScanner getSourceInclusionScanner(int staleMillis)
- Specified by:
getSourceInclusionScanner
in class AbstractCompilerMojo
getSourceInclusionScanner
protected SourceInclusionScanner getSourceInclusionScanner(String inputFileEnding)
- Specified by:
getSourceInclusionScanner
in class AbstractCompilerMojo
getSource
protected String getSource()
- Specified by:
getSource
in class AbstractCompilerMojo
getTarget
protected String getTarget()
- Specified by:
getTarget
in class AbstractCompilerMojo
getCompilerArgument
protected String getCompilerArgument()
- Specified by:
getCompilerArgument
in class AbstractCompilerMojo
getCompilerArguments
protected Map<String,String> getCompilerArguments()
- Specified by:
getCompilerArguments
in class AbstractCompilerMojo
getGeneratedSourcesDirectory
protected File getGeneratedSourcesDirectory()
- Specified by:
getGeneratedSourcesDirectory
in class AbstractCompilerMojo
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.