Class AddTestStubSourcesMojo

All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="addTestStubSources", threadSafe=true) public class AddTestStubSourcesMojo extends AbstractGroovyStubSourcesMojo
Adds Groovy test stubs directory back to Maven's list of test source directories. Normally, you won't need to use this mojo.
Since:
1.1
Author:
Keegan Witt
  • Field Details

    • testStubsOutputDirectory

      @Parameter(defaultValue="${project.build.directory}/generated-sources/groovy-stubs/test") protected File testStubsOutputDirectory
      The location for the compiled test classes.
    • skipTests

      @Parameter(property="maven.test.skip", defaultValue="false") protected boolean skipTests
      Flag to allow adding test sources to be skipped.
  • Constructor Details

    • AddTestStubSourcesMojo

      public AddTestStubSourcesMojo()
  • Method Details

    • execute

      public void execute()
      Executes this mojo.