Class AddStubSourcesMojo

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

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

    • stubsOutputDirectory

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

    • AddStubSourcesMojo

      public AddStubSourcesMojo()
  • Method Details

    • execute

      public void execute()
      Executes this mojo.