Class KrpcMultiGeneratorMojo

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

@Mojo(name="generate-multi", defaultPhase=GENERATE_SOURCES) public class KrpcMultiGeneratorMojo extends org.apache.maven.plugin.AbstractMojo
A Maven plugin capable of generating java source from Apache Kafka message specifications definitions. The generator is invoked once per message specification. The Apache FreeMaker variable messageSpec is defined with the message specification being processed.
  • Constructor Details

    • KrpcMultiGeneratorMojo

      public KrpcMultiGeneratorMojo()
      Constructs a multi-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