public class GenerateTestStubsMojo extends AbstractGenerateStubsMojo
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
skip
Flag to allow test compilation to be skipped.
|
debug, MIN_GROOVY_VERSION, scriptExtensions, sourceEncoding, targetBytecode, tolerance, verbose, warningLevelstubsOutputDirectory, testStubsOutputDirectoryMAIN, sources, TEST, testSourcesGROOVY_SOURCES_PATTERN, JAVA_SOURCES_PATTERN, localRepository, pluginArtifacts, project, reactorProjects, session, settings| Constructor and Description |
|---|
GenerateTestStubsMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Executes this mojo.
|
doStubGeneration, groovyVersionSupportsAction, resetStubModifiedDatesgetStubs, getTestStubsgetFiles, getFilesets, getSourceRoots, getSourceRoots, getSources, getSources, getTestSourceRoots, getTestSourceRoots, getTestSources, getTestSources, setSources, setTestSourcesgetGroovyDependency, getGroovyVersion, getGroovyVersionString, getJavaVersion, getJavaVersionString, isGroovyArtifactId, isGroovyArtifactId, isGroovyGroupId, isGroovyGroupId, isGroovyIndy, isJavaSupportIndy, logGroovyVersionpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException - If an unexpected problem occurs. Throwing this exception causes a "BUILD ERROR" message to be displayedorg.apache.maven.plugin.MojoFailureException - If an expected problem (such as a compilation failure) occurs. Throwing this exception causes a "BUILD FAILURE" message to be displayedCopyright © 2011-2014. All Rights Reserved.