You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by tg...@apache.org on 2017/08/07 22:31:13 UTC
[2/2] beam git commit: Add GRPC to Compilation of the Runner API
Add GRPC to Compilation of the Runner API
Generates the JobService GRPC classes.
Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/7dbe906d
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/7dbe906d
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/7dbe906d
Branch: refs/heads/master
Commit: 7dbe906d463ac823c76e56239897f456cb8d53a1
Parents: 9781983
Author: Thomas Groh <tg...@google.com>
Authored: Fri Aug 4 09:51:02 2017 -0700
Committer: Thomas Groh <tg...@google.com>
Committed: Mon Aug 7 15:31:00 2017 -0700
----------------------------------------------------------------------
sdks/common/runner-api/pom.xml | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/beam/blob/7dbe906d/sdks/common/runner-api/pom.xml
----------------------------------------------------------------------
diff --git a/sdks/common/runner-api/pom.xml b/sdks/common/runner-api/pom.xml
index 8bc4123..e138ca8 100644
--- a/sdks/common/runner-api/pom.xml
+++ b/sdks/common/runner-api/pom.xml
@@ -65,11 +65,14 @@
<artifactId>protobuf-maven-plugin</artifactId>
<configuration>
<protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
+ <pluginId>grpc-java</pluginId>
+ <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
+ <goal>compile-custom</goal>
</goals>
</execution>
</executions>
@@ -82,5 +85,25 @@
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
</dependency>
+
+ <dependency>
+ <groupId>com.google.guava</groupId>
+ <artifactId>guava</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>io.grpc</groupId>
+ <artifactId>grpc-core</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>io.grpc</groupId>
+ <artifactId>grpc-protobuf</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>io.grpc</groupId>
+ <artifactId>grpc-stub</artifactId>
+ </dependency>
</dependencies>
</project>