Apache Gora Maven Plugin by Argonio

This Maven plugin helps to generate Java code from Apache Avro *.json files using Apache Gora compiler

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

com.argonio.gora
ArtifactId

ArtifactId

gora-maven-plugin
Last Version

Last Version

0.5
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

Apache Gora Maven Plugin by Argonio
This Maven plugin helps to generate Java code from Apache Avro *.json files using Apache Gora compiler
Project URL

Project URL

https://github.com/dobromyslov/gora-maven-plugin
Project Organization

Project Organization

Argonio ltd
Source Code Management

Source Code Management

https://github.com/dobromyslov/gora-maven-plugin

Download gora-maven-plugin

How to add to project

<plugin>
    <groupId>com.argonio.gora</groupId>
    <artifactId>gora-maven-plugin</artifactId>
    <version>0.5</version>
</plugin>

Dependencies

compile (6)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 3.2.3
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.3
org.apache.maven : maven-project jar 2.2.1
org.codehaus.plexus : plexus-utils jar 3.0.17
com.argonio.gora : gora-compiler jar 0.5
org.sonatype.plexus : plexus-build-api jar 0.0.7

runtime (1)

Group / Artifact Type Version
ch.qos.logback : logback-classic jar 1.1.2

test (1)

Group / Artifact Type Version
junit : junit jar 4.11

Project Modules

There are no modules declared in this project.

#Apache Gora Maven plugin by Argonio

The Gora Maven Plugin is used to generate Java sources from Apache Avro *.json schema descriptors. This plugin works with Apache Gora 0.5.

##Goals Overview

The Gora Maven Plugin has two goals:

  • gora:generate generates Java sources from Apache Avro schema descriptors,
  • gora:help shows usage help.

##Build plugin

To build and install plugin on the local machine just run:

mvn clean install

##Usage

Add to your pom.xml the following plugin:

<build>
    <plugins>
        <plugin>
            <groupId>com.argonio.gora</groupId>
            <artifactId>gora-maven-plugin</artifactId>
            <version>0.5</version>
            <configuration>
                <sourceDirectory>${basedir}/src/main/avro</sourceDirectory>
                <outputDirectory>${basedir}/src/main/java</outputDirectory>
            </configuration>
        </plugin>
    </plugins>
</build>

And then run:

mvn gora:generate

##Related links

###License

This work is provided under Apache License version 2.0. See LICENSE for more details.

Versions

Version
0.5
0.4