avro-schema:avro-dependencies

Full name:

org.spf4j:maven-avro-schema-plugin:8.9.3-SNAPSHOT:avro-dependencies

Description:

mojo that fetches all schema dependencies. All avro files will be made available at "dependenciesDirectory"

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: compile+runtime.
  • Invokes the execution of the lifecycle phase initialize prior to executing itself.

Optional Parameters

Name Type Since Description
<excludes> List - (no description)
<generatedAvscTarget> File - the destination for the generated avro schema json files (will be published along with the java code).
Default value is: ${project.build.directory}/generated-sources/avsc.
<generatedJavaTarget> File - the destination for the java generated files.
Default value is: ${project.build.directory}/generated-sources/avro.
<schemaArtifactClassifier> String - the schema artifact classifier.
Default value is: avsc.
<schemaArtifactExtension> String - the schema artifact extension.
Default value is: jar.
<sourceDirectory> File - The source directory of avro files. This directory is added to the classpath at schema compiling time. All files can therefore be referenced as classpath resources following the directory structure under the source directory.
Default value is: ${basedir}/src/main/avro.
<target> File - the target folder.
Default value is: ${project.build.directory}.
<useSchemaReferencesForAvsc> boolean - This option will use schema references when writing schemas that depend of schemas from other projects, instead of baking them in. by default (false) all schema references will be inlined.
Default value is: false.

Parameter Details

<excludes>

(no description)
  • Type: java.util.List
  • Required: No

<generatedAvscTarget>

the destination for the generated avro schema json files (will be published along with the java code).
  • Type: java.io.File
  • Required: No
  • Default: ${project.build.directory}/generated-sources/avsc

<generatedJavaTarget>

the destination for the java generated files.
  • Type: java.io.File
  • Required: No
  • Default: ${project.build.directory}/generated-sources/avro

<schemaArtifactClassifier>

the schema artifact classifier.
  • Type: java.lang.String
  • Required: No
  • Default: avsc

<schemaArtifactExtension>

the schema artifact extension.
  • Type: java.lang.String
  • Required: No
  • Default: jar

<sourceDirectory>

The source directory of avro files. This directory is added to the classpath at schema compiling time. All files can therefore be referenced as classpath resources following the directory structure under the source directory.
  • Type: java.io.File
  • Required: No
  • Default: ${basedir}/src/main/avro

<target>

the target folder.
  • Type: java.io.File
  • Required: No
  • Default: ${project.build.directory}

<useSchemaReferencesForAvsc>

This option will use schema references when writing schemas that depend of schemas from other projects, instead of baking them in. by default (false) all schema references will be inlined.
  • Type: boolean
  • Required: No
  • Default: false