Class CompilerMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="precompile",
          defaultPhase=PROCESS_CLASSES,
          requiresDependencyResolution=COMPILE)
    public class CompilerMojo
    extends org.apache.maven.plugin.AbstractMojo
    • Field Detail

      • sourceDirectory

        @Parameter
        public String sourceDirectory
        The directory where template files are located
      • targetDirectory

        @Parameter
        public String targetDirectory
        The directory where compiled classes should be written to
      • compilePath

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

        @Parameter(readonly=true,
                   required=true)
        public String contentType
      • htmlTags

        @Parameter(readonly=true)
        public String[] htmlTags
      • htmlAttributes

        @Parameter(readonly=true)
        public String[] htmlAttributes
    • Constructor Detail

      • CompilerMojo

        public CompilerMojo()
    • Method Detail

      • execute

        public void execute()