Package gg.jte.maven
Class CompilerMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- gg.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 String[]compileArgsList<String>compilePathStringcontentTypeString[]htmlAttributesStringhtmlPolicyClassString[]htmlTagsStringsourceDirectoryThe directory where template files are locatedStringtargetDirectoryThe directory where compiled classes should be written tobooleantrimControlStructures
-
Constructor Summary
Constructors Constructor Description CompilerMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()
-
-
-
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
-
trimControlStructures
@Parameter(readonly=true) public boolean trimControlStructures
-
htmlTags
@Parameter(readonly=true) public String[] htmlTags
-
htmlAttributes
@Parameter(readonly=true) public String[] htmlAttributes
-
htmlPolicyClass
@Parameter(readonly=true) public String htmlPolicyClass
-
compileArgs
@Parameter(readonly=true) public String[] compileArgs
-
-