@Mojo(name="generateStubs",
defaultPhase=GENERATE_SOURCES,
requiresDependencyResolution=COMPILE,
threadSafe=true)
public class GenerateStubsMojo
extends AbstractGenerateStubsMojo
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.maven.shared.model.fileset.FileSet[] |
sources
The Groovy source files (relative paths).
|
protected File |
stubsOutputDirectory
The location for the compiled classes.
|
debug, GROOVY_1_8_2, GROOVY_1_8_3, GROOVY_1_9_0_BETA1, GROOVY_1_9_0_BETA3, GROOVY_2_1_3, GROOVY_2_3_3, GROOVY_2_5_3, GROOVY_2_5_7, GROOVY_2_6_0_ALPHA1, GROOVY_2_6_0_ALPHA4, GROOVY_3_0_0_ALPHA1, GROOVY_3_0_0_ALPHA2, GROOVY_3_0_0_ALPHA4, GROOVY_3_0_0_BETA1, GROOVY_3_0_0_BETA2, GROOVY_3_0_3, GROOVY_3_0_6, GROOVY_3_0_8, GROOVY_4_0_0_ALPHA1, GROOVY_4_0_0_ALPHA3, GROOVY_4_0_0_BETA1, GROOVY_4_0_11, GROOVY_4_0_16, GROOVY_4_0_2, GROOVY_4_0_21, GROOVY_4_0_24, GROOVY_4_0_27, GROOVY_4_0_6, GROOVY_5_0_0_ALPHA1, GROOVY_5_0_0_ALPHA11, GROOVY_5_0_0_ALPHA13, GROOVY_5_0_0_ALPHA3, GROOVY_5_0_0_ALPHA8, includeClasspath, skipBytecodeCheck, sourceEncoding, targetBytecode, tolerance, verbose, warningLevelMAIN, TESTclassWrangler, GROOVY_1_5_0, GROOVY_SOURCES_PATTERN, JAVA_1_7, JAVA_1_8, JAVA_12, JAVA_SOURCES_PATTERN, minGroovyVersion, mojoExecution, pluginArtifacts, project, session| Constructor and Description |
|---|
GenerateStubsMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Executes this mojo.
|
addGroovySources, doStubGeneration, logGeneratedStubs, resetStubModifiedDates, setupCompilerConfiguration, supportsSettingExtensions, translateJavacTargetToTargetBytecode, verifyGroovyVersionSupportsTargetBytecodegetStubs, removeSourceRootgetFiles, getFilesets, getTestFiles, getTestFilesetsgetJavaVersion, getJavaVersionString, groovyAtLeast, groovyIs, groovyNewerThan, groovyOlderThan, groovyVersionSupportsAction, isGroovyIndy, isJavaSupportIndy, isJavaSupportParameters, isJavaSupportPreviewFeatures, logPluginClasspath, setupClassWrangler@Parameter protected org.apache.maven.shared.model.fileset.FileSet[] sources
@Parameter(defaultValue="${project.build.directory}/generated-sources/groovy-stubs/main")
protected File stubsOutputDirectory
Copyright © 2011–2025. All rights reserved.