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
FieldsModifier and TypeFieldDescriptionbooleanString[]booleanString[]booleanThe directory where template files are locatedThe directory where compiled classes should be written tobooleanFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
sourceDirectory
The directory where template files are located -
targetDirectory
The directory where compiled classes should be written to -
compilePath
-
contentType
-
trimControlStructures
@Parameter public boolean trimControlStructures -
htmlTags
-
htmlPolicyClass
-
htmlCommentsPreserved
@Parameter public boolean htmlCommentsPreserved -
binaryStaticContent
@Parameter public boolean binaryStaticContent -
compileArgs
-
packageName
-
keepGeneratedSourceFiles
@Parameter public boolean keepGeneratedSourceFiles
-
-
Constructor Details
-
CompilerMojo
public CompilerMojo()
-
-
Method Details
-
execute
public void execute()
-