Class KrpcSingleGeneratorMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.kroxylicious.krpccodegen.maven.KrpcSingleGeneratorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="generate-single", defaultPhase=GENERATE_SOURCES) public class KrpcSingleGeneratorMojo extends org.apache.maven.plugin.AbstractMojo
A Maven plugin capable of generating java source from Apache Kafka message specifications definitions. This generator is invoked once per execution. The Apache FreeMaker variable messageSpecs will be defined with a list containing all message specifications.
  • Constructor Details

    • KrpcSingleGeneratorMojo

      public KrpcSingleGeneratorMojo()
      Constructs a single-generator.
  • Method Details

    • builder

      protected KrpcGenerator.Builder builder()
    • execute

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