- 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 booleanbinaryStaticContentString[]compileArgsList<String>compilePathStringcontentTypeString[]htmlAttributesbooleanhtmlCommentsPreservedStringhtmlPolicyClassString[]htmlTagsbooleankeepGeneratedSourceFilesStringpackageNameStringsourceDirectoryThe 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
-
htmlCommentsPreserved
@Parameter(readonly=true) public boolean htmlCommentsPreserved
-
binaryStaticContent
@Parameter(readonly=true) public boolean binaryStaticContent
-
compileArgs
@Parameter(readonly=true) public String[] compileArgs
-
packageName
@Parameter(readonly=true) public String packageName
-
keepGeneratedSourceFiles
@Parameter(readonly=true) public boolean keepGeneratedSourceFiles
-
-