Class MustacheValidationMojo

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

    @Mojo(name="validate",
          defaultPhase=PROCESS_RESOURCES)
    public class MustacheValidationMojo
    extends org.apache.maven.plugin.AbstractMojo
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String extension  
      private boolean includeStale  
      private java.io.File outputDirectory  
      private java.io.File sourceDirectory  
      • Fields inherited from interface org.apache.maven.plugin.Mojo

        ROLE
    • 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

      • sourceDirectory

        @Parameter(defaultValue="src/main/resources")
        private java.io.File sourceDirectory
      • outputDirectory

        @Parameter(defaultValue="target/classes")
        private java.io.File outputDirectory
      • extension

        @Parameter(defaultValue="mustache")
        private java.lang.String extension
      • includeStale

        @Parameter(defaultValue="false")
        private boolean includeStale
    • Constructor Detail

      • MustacheValidationMojo

        public MustacheValidationMojo()
    • 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