@Mojo(name="addTestSources",
defaultPhase=INITIALIZE,
threadSafe=true)
public class AddTestSourcesMojo
extends AbstractGroovySourcesMojo
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.maven.shared.model.fileset.FileSet[] |
testSources
The Groovy test source files (relative paths).
|
MAIN, 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 |
|---|
AddTestSourcesMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addTestSourcePath(String path)
Adds the specified test source path to the project's test compile sources.
|
void |
execute()
Executes this mojo.
|
getFiles, getFilesets, getTestFiles, getTestFilesetsgetJavaVersion, getJavaVersionString, groovyAtLeast, groovyIs, groovyNewerThan, groovyOlderThan, groovyVersionSupportsAction, isGroovyIndy, isJavaSupportIndy, isJavaSupportParameters, isJavaSupportPreviewFeatures, logPluginClasspath, setupClassWrangler@Parameter protected org.apache.maven.shared.model.fileset.FileSet[] testSources
public void execute()
protected void addTestSourcePath(String path)
path - The test source path to add to the project's test compile sourcesCopyright © 2011–2025. All rights reserved.