Package io.micronaut.maven.jsonschema
Class JsonSchemaGeneratorMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.micronaut.maven.AbstractMicronautMojo
io.micronaut.maven.jsonschema.JsonSchemaGeneratorMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="generate-jsonschema",
defaultPhase=GENERATE_SOURCES)
public class JsonSchemaGeneratorMojo
extends AbstractMicronautMojo
Json Schema generator mojo provides the parameters for all generators and the invoker logic.
Expects single or multiple schema files as input via a URL, file, or directory; and generates all required source code representing the validation form in the targeted language.
-
Field Summary
FieldsFields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.micronaut.maven.AbstractMicronautMojo
setLog
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setPluginContext
-
Field Details
-
MOJO_NAME
- See Also:
-
-
Constructor Details
-
JsonSchemaGeneratorMojo
-
-
Method Details
-
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
-