You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2019/04/24 14:03:36 UTC

[jena] 01/01: JENA-1707: Skip building modules unless java8

This is an automated email from the ASF dual-hosted git repository.

andy pushed a commit to branch java8-elephas
in repository https://gitbox.apache.org/repos/asf/jena.git

commit 9a4315feb3be46812bb9390ff2f696cfe105ef0f
Author: Andy Seaborne <an...@apache.org>
AuthorDate: Wed Apr 24 15:03:13 2019 +0100

    JENA-1707: Skip building modules unless java8
---
 jena-elephas/pom.xml | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/jena-elephas/pom.xml b/jena-elephas/pom.xml
index 64dac58..c0592d1 100644
--- a/jena-elephas/pom.xml
+++ b/jena-elephas/pom.xml
@@ -30,13 +30,6 @@ limitations under the License.
   <name>Apache Jena - Elephas</name>
   <description>A collection of tools for working with RDF on the Hadoop platform</description>
 
-  <modules>
-    <module>jena-elephas-io</module>
-    <module>jena-elephas-common</module>
-    <module>jena-elephas-mapreduce</module>
-    <module>jena-elephas-stats</module>
-  </modules>
-
   <!-- Properties common across all profiles -->
   <properties>
     <plugin.compiler.version>2.6.0</plugin.compiler.version>
@@ -48,14 +41,21 @@ limitations under the License.
   <!-- Profiles to allow building for different Hadoop versions -->
   <profiles>
     <!-- Hadoop 2.x Latest -->
+    <!-- Java8 only -->
     <profile>
       <id>hadoop_2x</id>
       <activation>
-        <activeByDefault>true</activeByDefault>
+        <jdk>1.8</jdk>
       </activation>
       <properties>
         <hadoop.version>2.6.0</hadoop.version>
       </properties>
+      <modules>
+        <module>jena-elephas-io</module>
+        <module>jena-elephas-common</module>
+        <module>jena-elephas-mapreduce</module>
+        <module>jena-elephas-stats</module>
+      </modules>
     </profile>
   </profiles>