aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorcushon <cushon@google.com>2016-10-20 14:07:39 -0700
committerLiam Miller-Cushon <cushon@google.com>2016-10-20 17:52:49 -0700
commit667facf122e2c1433335e79f9c5c396f3c58777d (patch)
treef1afd0a38b8ec60bd9f3afed6f324019c9628c8b /pom.xml
parentb622e5e85b83090ebec0aa9601c1348e91d20095 (diff)
downloadturbine-667facf122e2c1433335e79f9c5c396f3c58777d.tar.gz
Import deps proto into turbine
in preparation for emitting jdeps. MOE_MIGRATED_REVID=136757494
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index e7edf35..5d7b19f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -31,6 +31,11 @@
<version>2.0.12</version>
</dependency>
<dependency>
+ <groupId>com.google.protobuf</groupId>
+ <artifactId>protobuf-java</artifactId>
+ <version>3.0.2</version>
+ </dependency>
+ <dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>5.0.3</version>
@@ -79,6 +84,13 @@
</includes>
</testResource>
</testResources>
+ <extensions>
+ <extension>
+ <groupId>kr.motd.maven</groupId>
+ <artifactId>os-maven-plugin</artifactId>
+ <version>1.4.1.Final</version>
+ </extension>
+ </extensions>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -90,6 +102,25 @@
<encoding>UTF-8</encoding>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.xolstice.maven.plugins</groupId>
+ <artifactId>protobuf-maven-plugin</artifactId>
+ <version>0.5.0</version>
+ <configuration>
+ <protoSourceRoot>proto</protoSourceRoot>
+ <protocArtifact>com.google.protobuf:protoc:3.0.2:exe:${os.detected.classifier}</protocArtifact>
+ <pluginId>grpc-java</pluginId>
+ <pluginArtifact>io.grpc:protoc-gen-grpc-java:1.0.1:exe:${os.detected.classifier}</pluginArtifact>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>compile</goal>
+ <goal>compile-custom</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>