diff options
author | cushon <cushon@google.com> | 2016-10-20 14:07:39 -0700 |
---|---|---|
committer | Liam Miller-Cushon <cushon@google.com> | 2016-10-20 17:52:49 -0700 |
commit | 667facf122e2c1433335e79f9c5c396f3c58777d (patch) | |
tree | f1afd0a38b8ec60bd9f3afed6f324019c9628c8b /pom.xml | |
parent | b622e5e85b83090ebec0aa9601c1348e91d20095 (diff) | |
download | turbine-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.xml | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -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> |