@Mojo(name="compile", defaultPhase=COMPILE, threadSafe=true, requiresDependencyResolution=COMPILE) public class CompilerMojo extends AbstractCompilerMojo
compilerArgs, compilerArgument, compilerArguments, source, target
Constructor and Description |
---|
CompilerMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected List<String> |
getClasspathElements() |
protected String |
getCompilerArgument() |
protected Map<String,String> |
getCompilerArguments() |
protected List<String> |
getCompileSourceRoots() |
protected File |
getGeneratedSourcesDirectory() |
protected File |
getOutputDirectory() |
protected String |
getSource() |
protected org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner |
getSourceInclusionScanner(int staleMillis) |
protected org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner |
getSourceInclusionScanner(String inputFileEnding) |
protected String |
getTarget() |
convertToCompilerResult, getBuildStartTime, getRequestThreadCount, isDependencyChanged, isTestCompile
getLog, getPluginContext, setLog, setPluginContext
protected List<String> getCompileSourceRoots()
getCompileSourceRoots
in class AbstractCompilerMojo
protected List<String> getClasspathElements()
getClasspathElements
in class AbstractCompilerMojo
protected File getOutputDirectory()
getOutputDirectory
in class AbstractCompilerMojo
public void execute() throws MojoExecutionException, CompilationFailureException
execute
in interface Mojo
execute
in class AbstractCompilerMojo
MojoExecutionException
CompilationFailureException
protected org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner getSourceInclusionScanner(int staleMillis)
getSourceInclusionScanner
in class AbstractCompilerMojo
protected org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner getSourceInclusionScanner(String inputFileEnding)
getSourceInclusionScanner
in class AbstractCompilerMojo
protected String getSource()
getSource
in class AbstractCompilerMojo
protected String getTarget()
getTarget
in class AbstractCompilerMojo
protected String getCompilerArgument()
getCompilerArgument
in class AbstractCompilerMojo
protected Map<String,String> getCompilerArguments()
getCompilerArguments
in class AbstractCompilerMojo
protected File getGeneratedSourcesDirectory()
getGeneratedSourcesDirectory
in class AbstractCompilerMojo
Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.