Class SchemaGeneratorMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="generate",
          defaultPhase=COMPILE,
          requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
          requiresDependencyCollection=COMPILE_PLUS_RUNTIME,
          threadSafe=true)
    public class SchemaGeneratorMojo
    extends org.apache.maven.plugin.AbstractMojo
    Maven plugin for the victools/jsonschema-generator.
    • Constructor Detail

      • SchemaGeneratorMojo

        public SchemaGeneratorMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException
        Invoke the schema generator.
        Throws:
        org.apache.maven.plugin.MojoExecutionException - An exception in case of errors and unexpected behavior