Class AbstractGeneratorMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
    Direct Known Subclasses:
    HtmlGeneratorMojo, JavaGeneratorMojo, St4GeneratorMojo

    public abstract class AbstractGeneratorMojo
    extends org.apache.maven.plugin.AbstractMojo
    Base class for generator MOJOs.
    Author:
    Kostiantyn Shchepanovskyi
    • Field Detail

      • includes

        @Parameter
        protected List<String> includes
        A list of patterns to include, e.g. *.proto.
      • excludes

        @Parameter
        protected List<String> excludes
    • Constructor Detail

      • AbstractGeneratorMojo

        public AbstractGeneratorMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException