Class KlassCompilerMojo

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

@Mojo(name="compile", defaultPhase=TEST, threadSafe=true, requiresDependencyResolution=TEST) public class KlassCompilerMojo 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

    • KlassCompilerMojo

      public KlassCompilerMojo()
  • Method Details

    • execute

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