Package gg.jte.maven
Class GeneratorMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
gg.jte.maven.GeneratorMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="generate",
defaultPhase=GENERATE_SOURCES,
threadSafe=true)
public class GeneratorMojo
extends org.apache.maven.plugin.AbstractMojo
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanbooleanString[]org.apache.maven.project.MavenProjectThe directory where template files are located.Destination directory to store generated templates.booleanFields 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
-
project
@Parameter(defaultValue="${project}") public org.apache.maven.project.MavenProject project -
sourceDirectory
The directory where template files are located. -
targetDirectory
@Parameter(defaultValue="${project.build.directory}/generated-sources/jte") public String targetDirectoryDestination directory to store generated templates. Defaults to 'target/generated-sources/jte'. -
contentType
-
trimControlStructures
@Parameter public boolean trimControlStructures -
htmlTags
-
htmlCommentsPreserved
@Parameter public boolean htmlCommentsPreserved -
binaryStaticContent
@Parameter public boolean binaryStaticContent -
packageName
-
targetResourceDirectory
-
generateNativeImageResources
@Parameter(defaultValue="false") public boolean generateNativeImageResources
-
-
Constructor Details
-
GeneratorMojo
public GeneratorMojo()
-
-
Method Details
-
execute
public void execute()
-