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.-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
KrpcMultiGeneratorMojo
public KrpcMultiGeneratorMojo()Constructs a multi-generator.
-
-
Method Details
-
builder
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-