You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by ke...@apache.org on 2017/04/25 17:30:28 UTC

[33/50] [abbrv] beam git commit: Only compile HIFIO ITs when compiling with java 8.

Only compile HIFIO ITs when compiling with java 8.


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

Branch: refs/heads/jstorm-runner
Commit: 8330e15820cb1e2db64f4fd31f50450e782668d4
Parents: 4ff244d
Author: Stephen Sisk <si...@google.com>
Authored: Fri Apr 14 17:27:22 2017 -0700
Committer: Dan Halperin <dh...@google.com>
Committed: Mon Apr 17 17:40:50 2017 -0700

----------------------------------------------------------------------
 sdks/java/io/hadoop/pom.xml | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/8330e158/sdks/java/io/hadoop/pom.xml
----------------------------------------------------------------------
diff --git a/sdks/java/io/hadoop/pom.xml b/sdks/java/io/hadoop/pom.xml
index 1982c25..14a19bb 100644
--- a/sdks/java/io/hadoop/pom.xml
+++ b/sdks/java/io/hadoop/pom.xml
@@ -29,10 +29,20 @@
   <description>Parent for Beam SDK Hadoop IO which reads data from any source which implements Hadoop Input Format.</description>
 
   <modules>
-    <module>jdk1.8-tests</module>
     <module>input-format</module>
   </modules>
 
+  <profiles>
+    <profile>
+      <activation>
+        <jdk>[1.8,)</jdk>
+      </activation>
+      <modules>
+        <module>jdk1.8-tests</module>
+      </modules>
+    </profile>
+  </profiles>
+
   <dependencies>
     <dependency>
       <groupId>org.apache.beam</groupId>