Add hamcrest dependency to Flink Runner Without it the RunnableOnService tests seem to not work
Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/1664c96d Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/1664c96d Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/1664c96d Branch: refs/heads/master Commit: 1664c96db5951d74b5ab9a5850def1dbef8adea6 Parents: af8e988 Author: Aljoscha Krettek <aljoscha.kret...@gmail.com> Authored: Fri May 6 09:38:55 2016 +0200 Committer: Aljoscha Krettek <aljoscha.kret...@gmail.com> Committed: Fri May 20 08:08:24 2016 +0200 ---------------------------------------------------------------------- runners/flink/runner/pom.xml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/1664c96d/runners/flink/runner/pom.xml ---------------------------------------------------------------------- diff --git a/runners/flink/runner/pom.xml b/runners/flink/runner/pom.xml index 7e8c5a9..fda27a8 100644 --- a/runners/flink/runner/pom.xml +++ b/runners/flink/runner/pom.xml @@ -88,6 +88,22 @@ <!-- Test scoped --> + <dependency> + <groupId>org.hamcrest</groupId> + <artifactId>hamcrest-all</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.mockito</groupId> + <artifactId>mockito-all</artifactId> + <scope>test</scope> + </dependency> + <!-- Depend on test jar to scan for RunnableOnService tests --> <dependency> <groupId>org.apache.beam</groupId> @@ -124,12 +140,6 @@ <groupId>org.apache.flink</groupId> <artifactId>flink-test-utils_2.10</artifactId> <version>${flink.version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.mockito</groupId> - <artifactId>mockito-all</artifactId> - <scope>test</scope> </dependency> <!-- Optional Pipeline Registration --> <dependency>