Class TestLocalCompatibilityMojo

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

@Mojo(name="test-local-compatibility", configurator="custom-basic") public class TestLocalCompatibilityMojo extends org.apache.maven.plugin.AbstractMojo
  • Constructor Details

    • TestLocalCompatibilityMojo

      public TestLocalCompatibilityMojo()
  • Method Details

    • parseSchema

      protected Optional<ParsedSchema> parseSchema(String schemaType, String schemaString, List<SchemaReference> references, Map<String,SchemaProvider> providers) throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • loadSchema

      protected ParsedSchema loadSchema(File path, String schemaType, Map<String,SchemaProvider> schemaProviders) throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • getFiles

      protected ArrayList<File> getFiles(File previousSchemaPath)
    • testSchema

      protected void testSchema(String key, Map<String,SchemaProvider> schemaProviders) throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • execute

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