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, threadSafe=true) public class CompilerMojo extends org.apache.maven.plugin.AbstractMojo
-
-
Field Summary
Fields Modifier and Type Field Description booleanbinaryStaticContentjava.lang.String[]compileArgsjava.util.List<java.lang.String>compilePathjava.lang.StringcontentTypejava.lang.String[]htmlAttributesbooleanhtmlCommentsPreservedjava.lang.StringhtmlPolicyClassjava.lang.String[]htmlTagsbooleankeepGeneratedSourceFilesjava.lang.StringpackageNamejava.lang.StringsourceDirectoryThe directory where template files are locatedjava.lang.StringtargetDirectoryThe 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(required=true) public java.lang.String sourceDirectory
The directory where template files are located
-
targetDirectory
@Parameter(required=true) public java.lang.String targetDirectory
The directory where compiled classes should be written to
-
compilePath
@Parameter(defaultValue="${project.compileClasspathElements}", required=true) public java.util.List<java.lang.String> compilePath
-
contentType
@Parameter(required=true) public java.lang.String contentType
-
trimControlStructures
@Parameter public boolean trimControlStructures
-
htmlTags
@Parameter public java.lang.String[] htmlTags
-
htmlAttributes
@Parameter public java.lang.String[] htmlAttributes
-
htmlPolicyClass
@Parameter public java.lang.String htmlPolicyClass
-
htmlCommentsPreserved
@Parameter public boolean htmlCommentsPreserved
-
binaryStaticContent
@Parameter public boolean binaryStaticContent
-
compileArgs
@Parameter public java.lang.String[] compileArgs
-
packageName
@Parameter public java.lang.String packageName
-
keepGeneratedSourceFiles
@Parameter public boolean keepGeneratedSourceFiles
-
-