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
    • Field Detail

      • testStubsOutputDirectory

        @Parameter(defaultValue="${project.build.directory}/generated-sources/groovy-stubs/test")
        protected java.io.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 Detail

      • RemoveTestStubsMojo

        public RemoveTestStubsMojo()
    • Method Detail

      • execute

        public void execute()
        Executes this mojo.