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 <[email protected]> Authored: Fri Aug 4 09:51:02 2017 -0700 Committer: Thomas Groh <[email protected]> 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>
