Class RemoveTestStubsMojo

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

@Mojo(name="removeTestStubs", defaultPhase=TEST_COMPILE, threadSafe=true) public class RemoveTestStubsMojo extends AbstractGroovyStubSourcesMojo
This mojo removes Groovy test stubs from the project's sources.
Since:
1.0-beta-3
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

    • RemoveTestStubsMojo

      public RemoveTestStubsMojo()
  • Method Details

    • execute

      public void execute()
      Executes this mojo.