Class AbstractTwirlCompileMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
    Direct Known Subclasses:
    TwirlCompileMojo, TwirlTestCompileMojo

    public abstract class AbstractTwirlCompileMojo
    extends org.apache.maven.plugin.AbstractMojo
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Set<java.lang.String> includes
      A set of inclusion filters for the Twirl compiler.
      protected org.apache.maven.project.MavenProject project
      The maven project.
      • Fields inherited from interface org.apache.maven.plugin.Mojo

        ROLE
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()  
      protected abstract java.io.File getOutputDirectory()  
      protected abstract java.io.File getSourceDirectory()  
      • 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

      • project

        @Parameter(property="project",
                   required=true,
                   readonly=true)
        protected org.apache.maven.project.MavenProject project
        The maven project.
      • includes

        @Parameter
        protected java.util.Set<java.lang.String> includes
        A set of inclusion filters for the Twirl compiler.

        Default: **/*.scala.*

        Example:

        
         <includes>
           <include>**/Include.scala.html</include>
         </includes>
         
    • Constructor Detail

      • AbstractTwirlCompileMojo

        public AbstractTwirlCompileMojo()
    • Method Detail

      • getSourceDirectory

        protected abstract java.io.File getSourceDirectory()
      • getOutputDirectory

        protected abstract java.io.File getOutputDirectory()
      • 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