Package org.jusecase.jte.maven
Class CompilerMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.jusecase.jte.maven.CompilerMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="precompile", defaultPhase=PROCESS_CLASSES, requiresDependencyResolution=COMPILE) public class CompilerMojo extends org.apache.maven.plugin.AbstractMojo
-
-
Field Summary
Fields Modifier and Type Field Description List<String>
compilePath
String
contentType
String[]
htmlAttributes
String[]
htmlTags
String
sourceDirectory
The directory where template files are locatedString
targetDirectory
The directory where compiled classes should be written to
-
Constructor Summary
Constructors Constructor Description CompilerMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-
-
-
Field Detail
-
sourceDirectory
@Parameter public String sourceDirectory
The directory where template files are located
-
targetDirectory
@Parameter public String targetDirectory
The directory where compiled classes should be written to
-
compilePath
@Parameter(defaultValue="${project.compileClasspathElements}", readonly=true, required=true) public List<String> compilePath
-
contentType
@Parameter(readonly=true, required=true) public String contentType
-
htmlTags
@Parameter(readonly=true) public String[] htmlTags
-
htmlAttributes
@Parameter(readonly=true) public String[] htmlAttributes
-
-