Class TemplateProcessorMojo

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

    @Mojo(name="template-processor",
          defaultPhase=GENERATE_SOURCES,
          threadSafe=true,
          requiresProject=true)
    public class TemplateProcessorMojo
    extends org.apache.maven.plugin.AbstractMojo
    Maven mojo applying preprocessor templates.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()  
      • Methods inherited from class org.apache.maven.plugin.AbstractMojo

        getLog, getPluginContext, setLog, setPluginContext
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • verbose

        @Parameter(defaultValue="false")
        public boolean verbose
      • incremental

        @Parameter(property="template.processor.incremental",
                   defaultValue="true")
        public boolean incremental
      • attachSources

        @Parameter(required=true)
        public java.lang.String attachSources
      • templatesDir

        @Parameter(required=true)
        public java.io.File templatesDir
      • outputDir

        @Parameter(required=true)
        public java.io.File outputDir
    • Constructor Detail

      • TemplateProcessorMojo

        public TemplateProcessorMojo()
    • Method Detail

      • execute

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