Class DeriveSchemaMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.confluent.kafka.schemaregistry.maven.DeriveSchemaMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="derive-schema", configurator="custom-basic") public class DeriveSchemaMojo extends org.apache.maven.plugin.AbstractMojo
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final com.fasterxml.jackson.databind.ObjectMapper
     

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    static List<com.fasterxml.jackson.databind.JsonNode>
     
    static void
    writeOutput(File outputPath, com.fasterxml.jackson.databind.JsonNode schemaInformation)
     

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • mapper

      protected static final com.fasterxml.jackson.databind.ObjectMapper mapper
  • Constructor Details

    • DeriveSchemaMojo

      public DeriveSchemaMojo()
  • Method Details

    • writeOutput

      public static void writeOutput(File outputPath, com.fasterxml.jackson.databind.JsonNode schemaInformation) throws IOException
      Throws:
      IOException
    • readLinesOfMessages

      public static List<com.fasterxml.jackson.databind.JsonNode> readLinesOfMessages(File messagePath) throws IOException
      Throws:
      IOException
    • execute

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