Turn on failOnWarning and ignore unused runners modules in example.
Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/c9550101 Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/c9550101 Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/c9550101 Branch: refs/heads/python-sdk Commit: c9550101373c399c15c722e995bdbaf429eabf30 Parents: 6d028ac Author: Pei He <[email protected]> Authored: Thu Jun 16 15:50:21 2016 -0700 Committer: Davor Bonaci <[email protected]> Committed: Mon Jun 20 15:14:31 2016 -0700 ---------------------------------------------------------------------- examples/java/pom.xml | 9 +++++++++ 1 file changed, 9 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/c9550101/examples/java/pom.xml ---------------------------------------------------------------------- diff --git a/examples/java/pom.xml b/examples/java/pom.xml index 9458962..5167810 100644 --- a/examples/java/pom.xml +++ b/examples/java/pom.xml @@ -59,6 +59,14 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <goals><goal>analyze-only</goal></goals> + <configuration> + <failOnWarning>true</failOnWarning> + </configuration> + </execution> + </executions> </plugin> <plugin> @@ -216,6 +224,7 @@ <groupId>org.apache.beam</groupId> <artifactId>beam-runners-direct-java</artifactId> <version>${project.version}</version> + <scope>runtime</scope> </dependency> <dependency>
