reproto

Maven Plugin for ReProto

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

se.tedro.maven.plugins
ArtifactId

ArtifactId

reproto-maven-plugin
Last Version

Last Version

0.3.2
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

reproto
Maven Plugin for ReProto
Project URL

Project URL

https://github.com/reproto/reproto
Source Code Management

Source Code Management

https://github.com/reproto/reproto-maven-plugin

Download reproto-maven-plugin

How to add to project

<plugin>
    <groupId>se.tedro.maven.plugins</groupId>
    <artifactId>reproto-maven-plugin</artifactId>
    <version>0.3.2</version>
</plugin>

Dependencies

compile (10)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 3.0
org.apache.maven : maven-core jar 3.0
org.apache.maven : maven-project jar 3.0-alpha-2
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.4
org.apache.commons : commons-compress jar 1.14
org.sonatype.plexus : plexus-build-api jar 0.0.7
org.projectlombok : lombok jar 1.16.6
com.fasterxml.jackson.core : jackson-core jar 2.8.9
com.fasterxml.jackson.core : jackson-databind jar 2.8.9
com.fasterxml.jackson.core : jackson-annotations jar 2.8.9

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

reproto-maven-plugin

This is a maven plugin intended to make it simple to integrate reproto into the lifecycle of a Maven project.

You can run examples with the provided run-examples.sh script.

Usage

Create a reproto.toml manifest in your project with the following settings:

language = "java"
presets = ["maven"]

[modules.jackson]
[modules.builder]

[packages]
"myapi" = "*"

Now enable this project in your pom.xml, since this is a Maven plugin, it is installed as an extension like this:

<project>
  ...
  <build>
    <plugins>
      <plugin>
        <groupId>se.tedro.maven.plugins</groupId>
        <artifactId>reproto-maven-plugin</artifactId>
        <version>0.3.2</version>
        <extensions>true</extensions>
      </plugin>
      ...
    </plugins>
    ...
  </build>
  ...
</project>

Compiling your project will now also build your .reproto specifications under src/main/reproto.

$> mvn compile
se.tedro.maven.plugins

reproto

Versions

Version
0.3.2
0.3.1
0.3.0
0.1.3
0.1.2
0.1.1
0.1.0
0.0.1