public abstract class AbstractAvroMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected String[] |
excludes
A set of Ant-like exclusion patterns used to prevent certain files from
being processed.
|
protected org.apache.maven.project.MavenProject |
project
The current Maven project.
|
protected String |
stringType
The Java type to use for Avro strings.
|
protected String |
templateDirectory
The directory (within the java classpath) that contains the velocity templates
to use for code generation.
|
protected String[] |
testExcludes
A set of Ant-like exclusion patterns used to prevent certain files from
being processed.
|
Constructor and Description |
---|
AbstractAvroMojo() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doCompile(String filename,
File sourceDirectory,
File outputDirectory) |
void |
execute() |
protected abstract String[] |
getIncludes() |
protected abstract String[] |
getTestIncludes() |
protected String[] excludes
protected String[] testExcludes
protected String stringType
protected String templateDirectory
protected org.apache.maven.project.MavenProject project
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected abstract void doCompile(String filename, File sourceDirectory, File outputDirectory) throws IOException
IOException
protected abstract String[] getIncludes()
protected abstract String[] getTestIncludes()
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.