Class AbstractGeneratorTask

    • Constructor Detail

      • AbstractGeneratorTask

        public AbstractGeneratorTask()
    • Method Detail

      • getGoalPrefix

        @Optional
        @Input
        public abstract Property<java.lang.String> getGoalPrefix()
        The goal prefix that will appear before the ":".
        See Also:
        AbstractGeneratorMojo.goalPrefix
      • execute

        public void execute()
                     throws org.apache.maven.tools.plugin.generator.GeneratorException,
                            java.io.IOException,
                            org.codehaus.plexus.util.xml.pull.XmlPullParserException,
                            org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException,
                            org.apache.maven.tools.plugin.extractor.ExtractionException
        Throws:
        org.apache.maven.tools.plugin.generator.GeneratorException
        java.io.IOException
        org.codehaus.plexus.util.xml.pull.XmlPullParserException
        org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
        org.apache.maven.tools.plugin.extractor.ExtractionException
        See Also:
        AbstractGeneratorMojo.execute()
      • generate

        protected abstract void generate()
                                  throws org.apache.maven.tools.plugin.extractor.ExtractionException,
                                         org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException,
                                         org.codehaus.plexus.util.xml.pull.XmlPullParserException,
                                         java.io.IOException,
                                         org.apache.maven.tools.plugin.generator.GeneratorException
        Throws:
        org.apache.maven.tools.plugin.extractor.ExtractionException
        org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
        org.codehaus.plexus.util.xml.pull.XmlPullParserException
        java.io.IOException
        org.apache.maven.tools.plugin.generator.GeneratorException