@Mojo(name="testCompile",
defaultPhase=TEST_COMPILE,
threadSafe=true,
requiresDependencyResolution=TEST)
public class TestCompilerMojo
extends AbstractCompilerMojo
compilerArgs, compilerArgument, compilerArguments, PS, release, 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 List<String> |
getModulepathElements() |
protected File |
getOutputDirectory() |
protected Map<String,org.codehaus.plexus.languages.java.jpms.JavaModuleDescriptor> |
getPathElements() |
protected String |
getRelease() |
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() |
protected boolean |
isTestCompile() |
protected void |
preparePaths(Set<File> sourceFiles) |
convertToCompilerResult, getBuildStartTime, getProject, getRequestThreadCount, getToolchain, isDependencyChanged, setRelease, setTargetpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
CompilationFailureException
execute in interface org.apache.maven.plugin.Mojoexecute in class AbstractCompilerMojoorg.apache.maven.plugin.MojoExecutionExceptionCompilationFailureExceptionprotected List<String> getCompileSourceRoots()
getCompileSourceRoots in class AbstractCompilerMojoprotected Map<String,org.codehaus.plexus.languages.java.jpms.JavaModuleDescriptor> getPathElements()
getPathElements in class AbstractCompilerMojoprotected List<String> getClasspathElements()
getClasspathElements in class AbstractCompilerMojoprotected List<String> getModulepathElements()
getModulepathElements in class AbstractCompilerMojoprotected File getOutputDirectory()
getOutputDirectory in class AbstractCompilerMojoprotected void preparePaths(Set<File> sourceFiles)
preparePaths in class AbstractCompilerMojoprotected org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner getSourceInclusionScanner(int staleMillis)
getSourceInclusionScanner in class AbstractCompilerMojoprotected org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner getSourceInclusionScanner(String inputFileEnding)
getSourceInclusionScanner in class AbstractCompilerMojoprotected String getSource()
getSource in class AbstractCompilerMojoprotected String getTarget()
getTarget in class AbstractCompilerMojoprotected String getRelease()
getRelease 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–2025 The Apache Software Foundation. All rights reserved.