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

      • stubsOutputDirectory

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

      • AddStubSourcesMojo

        public AddStubSourcesMojo()
    • Method Detail

      • execute

        public void execute()
        Executes this mojo.