ScalaPB Maven Plugin

ScalaPB compiler plugin

License

License

Categories

Categories

Scala Languages Maven Build Tools
GroupId

GroupId

io.github.ttj4
ArtifactId

ArtifactId

scalapb-maven-plugin
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

ScalaPB Maven Plugin
ScalaPB compiler plugin
Project URL

Project URL

http://maven.apache.org
Source Code Management

Source Code Management

https://github.com/ttj4/scalapb-maven-plugin

Download scalapb-maven-plugin

How to add to project

<plugin>
    <groupId>io.github.ttj4</groupId>
    <artifactId>scalapb-maven-plugin</artifactId>
    <version>1.0.2</version>
</plugin>

Dependencies

compile (5)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.0
org.apache.maven : maven-plugin-api jar 3.6.3
org.apache.maven : maven-project jar 2.2.1
com.thesamet.scalapb : scalapbc_2.11 jar 0.9.6
org.apache.commons : commons-lang3 jar 3.9

provided (1)

Group / Artifact Type Version
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.6.0

Project Modules

There are no modules declared in this project.

scalapb-maven-plugin

A simple maven plugin for scalapb

Sample usage :

        <plugin>
            <groupId>io.github.ttj4</groupId>
            <artifactId>scalapb-maven-plugin</artifactId>
            <version>1.0.2</version>
            <configuration>
                <includeDirectories>/usr/local/include</includeDirectories>
                <grpc>true</grpc>
            </configuration>
            <executions>
                <execution>
                    <goals>
                        <goal>compile</goal>
                        <goal>testCompile</goal>
                    </goals>
                    <phase>generate-sources</phase>
                </execution>
            </executions>
        </plugin>

Supported parameters are :

- protocVersion
- includeDirectories
- outputDirectory
- javaOutputDirectory
- addProtoSources
- flatPackage
- grpc
- javaOutput
- javaConversions

Versions

Version
1.0.2
1.0.0