@Mojo(name="testCompile", defaultPhase=TEST_COMPILE, threadSafe=true, requiresDependencyResolution=TEST) public class TestCompilerMojo extends AbstractCompilerMojo
compilerArgs, compilerArgument, compilerArguments, mavenSession, source, target
Constructor and Description |
---|
TestCompilerMojo() |
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 SourceInclusionScanner |
getSourceInclusionScanner(int staleMillis) |
protected SourceInclusionScanner |
getSourceInclusionScanner(String inputFileEnding) |
protected String |
getTarget() |
convertToCompilerResult, getBuildStartTime, getRequestThreadCount, isDependencyChanged
getLog, getPluginContext, setLog, setPluginContext
public void execute() throws MojoExecutionException, CompilationFailureException
execute
in interface Mojo
execute
in class AbstractCompilerMojo
MojoExecutionException
CompilationFailureException
protected List<String> getCompileSourceRoots()
getCompileSourceRoots
in class AbstractCompilerMojo
protected List<String> getClasspathElements()
getClasspathElements
in class AbstractCompilerMojo
protected File getOutputDirectory()
getOutputDirectory
in class AbstractCompilerMojo
protected SourceInclusionScanner getSourceInclusionScanner(int staleMillis)
getSourceInclusionScanner
in class AbstractCompilerMojo
protected 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-2013 The Apache Software Foundation. All Rights Reserved.