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 Details

    • sourceDirectory

      @Parameter(required=true) public String sourceDirectory
      The directory where template files are located
    • targetDirectory

      @Parameter(required=true) public String targetDirectory
      The directory where compiled classes should be written to
    • compilePath

      @Parameter(defaultValue="${project.compileClasspathElements}", required=true) public List<String> compilePath
    • contentType

      @Parameter(required=true) public String contentType
    • trimControlStructures

      @Parameter public boolean trimControlStructures
    • htmlTags

      @Parameter public String[] htmlTags
    • htmlPolicyClass

      @Parameter public String htmlPolicyClass
    • htmlCommentsPreserved

      @Parameter public boolean htmlCommentsPreserved
    • binaryStaticContent

      @Parameter public boolean binaryStaticContent
    • compileArgs

      @Parameter public String[] compileArgs
    • packageName

      @Parameter public String packageName
    • keepGeneratedSourceFiles

      @Parameter public boolean keepGeneratedSourceFiles
  • Constructor Details

    • CompilerMojo

      public CompilerMojo()
  • Method Details

    • execute

      public void execute()