beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dhalp...@apache.org
Subject [2/2] incubator-beam git commit: Add test dependency on direct runner
Date Mon, 11 Jul 2016 16:37:13 GMT
Add test dependency on direct runner

The testing of the examples themselves is done
via the direct runner, so this change adds
a straightforward test scoped dependency.


Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/d395a7c2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/d395a7c2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/d395a7c2

Branch: refs/heads/master
Commit: d395a7c2cfe1ef0accfdf2cc9b54054f75313159
Parents: 8db73fe
Author: Kenneth Knowles <klk@google.com>
Authored: Fri Jul 8 12:28:33 2016 -0700
Committer: Dan Halperin <dhalperi@google.com>
Committed: Mon Jul 11 09:37:08 2016 -0700

----------------------------------------------------------------------
 examples/java8/pom.xml | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/d395a7c2/examples/java8/pom.xml
----------------------------------------------------------------------
diff --git a/examples/java8/pom.xml b/examples/java8/pom.xml
index 3cd1787..cf6b545 100644
--- a/examples/java8/pom.xml
+++ b/examples/java8/pom.xml
@@ -211,5 +211,18 @@
       <groupId>com.google.api-client</groupId>
       <artifactId>google-api-client</artifactId>
     </dependency>
+
+    <!-- Test dependencies -->
+
+    <!--
+      For testing the example itself, use the direct runner. This is separate from
+      the use of RunnableOnService tests for testing a particular runner.
+    -->
+    <dependency>
+      <groupId>org.apache.beam</groupId>
+      <artifactId>beam-runners-direct-java</artifactId>
+      <version>${project.version}</version>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 </project>


Mime
View raw message