@Mojo(name="avro-compile",
requiresDependencyResolution=COMPILE)
@Execute(phase=GENERATE_SOURCES)
public final class SchemaCompileMojo
extends SchemaMojoBase
| Modifier and Type | Field and Description |
|---|---|
static String |
SCHEMA_MANIFEST |
dependenciesDirectory, generatedAvscTarget, generatedJavaTarget, mavenProject, mavenSession, repoSystem, sourceDirectory, target| Constructor and Description |
|---|
SchemaCompileMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteGeneratedAvailableInDependencies() |
void |
deleteProtocolClasses() |
void |
deleteSchemasAvailableInDependencies(Path schTargetPath) |
protected void |
doCompileIDL(String filename) |
protected void |
doCompileProtocol(String filename) |
protected void |
doCompileSchemas(String[] filenames) |
void |
execute() |
String[] |
getSourceFiles(String pattern) |
String |
toString() |
getGeneratedAvscTarget, getMavenProject, getMavenSession, getRepoSystem, getTargetpublic static final String SCHEMA_MANIFEST
protected void doCompileIDL(String filename) throws IOException
IOExceptionprotected void doCompileSchemas(String[] filenames) throws IOException
IOExceptionprotected void doCompileProtocol(String filename) throws IOException
IOExceptionpublic void deleteGeneratedAvailableInDependencies()
throws IOException
IOExceptionpublic void deleteProtocolClasses()
throws IOException
IOExceptionpublic void deleteSchemasAvailableInDependencies(Path schTargetPath) throws IOException
IOExceptionpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2018 SPF4J. All rights reserved.