Class KlassCompileResourcesMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
cool.klass.generator.plugin.AbstractGenerateMojo
cool.klass.compiler.plugin.KlassCompileResourcesMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="compile-resources", defaultPhase=TEST, threadSafe=true, requiresDependencyResolution=TEST) public class KlassCompileResourcesMojo extends AbstractGenerateMojo
This plugin doesn't emit anything. It just compiles the source code and emits compiler errors if applicable. The goal is to emit compiler errors in the module which contains the code being compiled, rather than a dependent module. This helps with rerunnability.
  • Constructor Details

    • KlassCompileResourcesMojo

      public KlassCompileResourcesMojo()
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException