Package play.twirl.maven
Class AbstractTwirlCompileMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- play.twirl.maven.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
-
-
Constructor Summary
Constructors Constructor Description AbstractTwirlCompileMojo()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidexecute()protected abstract java.io.FilegetOutputDirectory()protected abstract java.io.FilegetSourceDirectory()
-
-
-
Field Detail
-
project
@Parameter(property="project", required=true, readonly=true) protected org.apache.maven.project.MavenProject projectThe 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>
-
-
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.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
-