beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject [1/2] incubator-beam git commit: Turn on failOnWarning and ignore unused runners modules in example.
Date Fri, 17 Jun 2016 22:27:04 GMT
Repository: incubator-beam
Updated Branches:
  refs/heads/master 8a9dcc71f -> 69a4141a5


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/95308fbb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/95308fbb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/95308fbb

Branch: refs/heads/master
Commit: 95308fbbfa3accc5a1be5c87db729bcc41255156
Parents: 8a9dcc7
Author: Pei He <peihe@google.com>
Authored: Thu Jun 16 15:50:21 2016 -0700
Committer: Davor Bonaci <davor@google.com>
Committed: Fri Jun 17 15:26:45 2016 -0700

----------------------------------------------------------------------
 examples/java/pom.xml | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/95308fbb/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>


Mime
View raw message