@Mojo(name="testCompile",
defaultPhase=TEST_COMPILE,
requiresDependencyResolution=TEST,
threadSafe=true)
public class TestCompilerMojo
extends AbstractCompilerMojo
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
skip
Set this to 'true' to bypass unit tests entirely.
|
UNUSED_DECLARED_DEPENDENCIES_WARNING, USED_UNDECLARED_DEPENDENCIES_WARNING| Constructor and Description |
|---|
TestCompilerMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
createUsedUndeclaredDependencyWarning(org.apache.maven.artifact.Artifact dependency) |
void |
execute()
Runs the compile mojo
|
protected boolean |
findUnusedDependencies(int staleMillis) |
protected List<File> |
getActionScriptClassPath() |
protected List<File> |
getActionScriptCompilePath() |
protected File |
getApiOutputDirectory() |
protected List<File> |
getCompileSourceRoots() |
protected Set<String> |
getExcludes() |
protected Set<String> |
getIncludes() |
protected File |
getOutputDirectory() |
protected void |
printDependencyWarnings(JoocConfiguration joocConfiguration) |
createJoocConfiguration, getCatalogOutputDirectory, getClassesOutputDirectory, getGeneratedSourcesDirectory, isMigrateToTypeScript, isSuppressCommentedActionScriptCode, printUndeclaredDependencyWarnings, printUnusedDependencyWarnings, resolveDependencygetNamespaces, getSourceDirectorygetMavenPluginHelper, getProject@Parameter(defaultValue="${maven.test.skip}")
protected boolean skip
protected File getApiOutputDirectory()
getApiOutputDirectory in class AbstractCompilerMojoprotected List<File> getCompileSourceRoots()
getCompileSourceRoots in class AbstractCompilerMojoprotected File getOutputDirectory()
getOutputDirectory in class AbstractCompilerMojoprotected Set<String> getIncludes()
getIncludes in class AbstractCompilerMojoprotected Set<String> getExcludes()
getExcludes in class AbstractCompilerMojoprotected List<File> getActionScriptCompilePath()
getActionScriptCompilePath in class AbstractCompilerMojoprotected List<File> getActionScriptClassPath()
getActionScriptClassPath in class AbstractCompilerMojopublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
AbstractCompilerMojoexecute in interface org.apache.maven.plugin.Mojoexecute in class AbstractCompilerMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected boolean findUnusedDependencies(int staleMillis)
findUnusedDependencies in class AbstractCompilerMojoprotected void printDependencyWarnings(JoocConfiguration joocConfiguration)
printDependencyWarnings in class AbstractCompilerMojoprotected List<String> createUsedUndeclaredDependencyWarning(org.apache.maven.artifact.Artifact dependency)
createUsedUndeclaredDependencyWarning in class AbstractCompilerMojoCopyright © 2002–2021 CoreMedia AG. All rights reserved.