Package org.apache.avro.mojo
Class SchemaMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.avro.mojo.AbstractAvroMojo
org.apache.avro.mojo.SchemaMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
Generate Java classes from Avro schema files (.avsc)
-
Field Summary
Fields inherited from class org.apache.avro.mojo.AbstractAvroMojo
createNullSafeAnnotations, createOptionalGetters, createSetters, customConversions, customLogicalTypeFactories, enableDecimalLogicalType, excludes, gettersReturnOptional, imports, optionalGettersForNullableFieldsOnly, project, stringType, templateDirectory, testExcludes, velocityToolsClassesNames
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.avro.mojo.AbstractAvroMojo
createClassLoader, doCompile, doCompile, doCompile, execute, findClasspath, getFieldVisibility, instantiateAdditionalVelocityTools
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
SchemaMojo
public SchemaMojo()
-
-
Method Details
-
doCompile
protected void doCompile(String[] fileNames, File sourceDirectory, File outputDirectory) throws org.apache.maven.plugin.MojoExecutionException - Overrides:
doCompile
in classAbstractAvroMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getIncludes
- Specified by:
getIncludes
in classAbstractAvroMojo
-
getTestIncludes
- Specified by:
getTestIncludes
in classAbstractAvroMojo
-