Package org.apache.camel.maven.dsl.yaml
Class GenerateYamlSchemaMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.camel.maven.dsl.yaml.GenerateYamlSupportMojo
org.apache.camel.maven.dsl.yaml.GenerateYamlSchemaMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="generate-yaml-schema",
inheritByDefault=false,
defaultPhase=GENERATE_SOURCES,
requiresDependencyResolution=COMPILE,
threadSafe=true,
requiresProject=false)
public class GenerateYamlSchemaMojo
extends GenerateYamlSupportMojo
-
Field Summary
Fields inherited from class org.apache.camel.maven.dsl.yaml.GenerateYamlSupportMojo
additionalDefinitions, bannedDefinitions, CLASS_CLASS, CN_DESERIALIZATION_CONTEXT, CN_DESERIALIZER_BASE, CN_DESERIALIZER_RESOLVER, CN_DESERIALIZER_SUPPORT, CN_ENDPOINT_AWARE_DESERIALIZER_BASE, CN_EXPRESSION_DEFINITION, CN_MAPPING_NODE, CN_NODE, CN_NODE_TUPLE, CN_PROCESSOR_DEFINITION, CN_SEQUENCE_NODE, CN_YAML_IN, CN_YAML_PROPERTY, CN_YAML_PROPERTY_GROUP, CN_YAML_SUPPORT, CN_YAML_TYPE, DEPRECATED_ANNOTATION_CLASS, DSL_PROPERTY_ANNOTATION, ERROR_HANDLER_BUILDER_CLASS, ERROR_HANDLER_DEFINITION_CLASS, EXPRESSION_DEFINITION_CLASS, EXPRESSION_SUBELEMENT_DEFINITION_CLASS, HAS_EXPRESSION_TYPE_CLASS, ID_AWARE_CLASS, LIST_CLASS, METADATA_ANNOTATION_CLASS, OUTPUT_NODE_CLASS, PRIMITIVE_CLASSES, PROCESSOR_DEFINITION_CLASS, project, REF_ERROR_HANDLER_DEFINITION_CLASS, SEND_DEFINITION_CLASS, SET_CLASS, STRING_CLASS, TO_DYNAMIC_DEFINITION_CLASS, VERB_DEFINITION_CLASS, view, XML_ANY_ELEMENT_CLASS, XML_ATTRIBUTE_ANNOTATION_CLASS, XML_ELEMENT_ANNOTATION_CLASS, XML_ELEMENT_REF_ANNOTATION_CLASS, XML_ELEMENTS_ANNOTATION_CLASS, XML_ENUM_CLASS, XML_JAVA_TYPE_ADAPTER_CLASS, XML_ROOT_ELEMENT_ANNOTATION_CLASS, XML_TRANSIENT_CLASS, XML_TYPE_CLASS, XML_VALUE_ANNOTATION_CLASS, XML_VALUE_CLASS, YAML_IN_ANNOTATION, YAML_OUT_ANNOTATION, YAML_TYPE_ANNOTATIONFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.camel.maven.dsl.yaml.GenerateYamlSupportMojo
all, annotated, annotationValue, annotationValue, annotationValue, combine, definitions, definitions, elementsOf, execute, extendsType, extendsType, fieldName, fieldName, fields, firstPresent, getEnums, getJavaType, getYamlTypeOrder, hasAnnotation, hasAnnotation, hasAnnotationValue, implementors, implementsOrExtends, implementType, implementType, isBanned, isDeprecated, isEnum, isRequired, loadClass, loadClass, methods, models, yamlProperty, yamlProperty, yamlProperty, yamlPropertyWithFormat, yamlPropertyWithFormat, yamlPropertyWithSubtype, yamlPropertyWithSubtypeMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
GenerateYamlSchemaMojo
public GenerateYamlSchemaMojo()
-
-
Method Details
-
generate
protected void generate() throws org.apache.maven.plugin.MojoFailureException- Specified by:
generatein classGenerateYamlSupportMojo- Throws:
org.apache.maven.plugin.MojoFailureException
-