@Mojo(name="testCompile", defaultPhase=TEST_COMPILE, threadSafe=true, requiresDependencyResolution=TEST) public class TestCompilerMojo extends AbstractCompilerMojo
compilerArgs, compilerArgument, compilerArguments, 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() |
protected boolean |
isTestCompile() |
convertToCompilerResult, getBuildStartTime, getRequestThreadCount, isDependencyChangedgetLog, getPluginContext, setLog, setPluginContextpublic void execute()
throws MojoExecutionException,
CompilationFailureException
execute in interface Mojoexecute in class AbstractCompilerMojoMojoExecutionExceptionCompilationFailureExceptionprotected List<String> getCompileSourceRoots()
getCompileSourceRoots in class AbstractCompilerMojoprotected List<String> getClasspathElements()
getClasspathElements in class AbstractCompilerMojoprotected File getOutputDirectory()
getOutputDirectory in class AbstractCompilerMojoprotected SourceInclusionScanner getSourceInclusionScanner(int staleMillis)
getSourceInclusionScanner in class AbstractCompilerMojoprotected SourceInclusionScanner getSourceInclusionScanner(String inputFileEnding)
getSourceInclusionScanner in class AbstractCompilerMojoprotected String getSource()
getSource in class AbstractCompilerMojoprotected String getTarget()
getTarget in class AbstractCompilerMojoprotected String getCompilerArgument()
getCompilerArgument in class AbstractCompilerMojoprotected Map<String,String> getCompilerArguments()
getCompilerArguments in class AbstractCompilerMojoprotected File getGeneratedSourcesDirectory()
getGeneratedSourcesDirectory in class AbstractCompilerMojoprotected boolean isTestCompile()
isTestCompile in class AbstractCompilerMojoCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.