Package gg.jte.maven

Class 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 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
    • Constructor Detail

      • CompilerMojo

        public CompilerMojo()
    • Method Detail

      • execute

        public void execute()