You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@parquet.apache.org by ga...@apache.org on 2021/02/15 09:47:29 UTC

[parquet-mr] branch master updated: PARQUET-1966: Fix build with JDK11 for JDK8 (#858)

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

gabor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/parquet-mr.git


The following commit(s) were added to refs/heads/master by this push:
     new 646985d  PARQUET-1966: Fix build with JDK11 for JDK8 (#858)
646985d is described below

commit 646985d5fd28102e5638267415441cf4f43b480b
Author: Gabor Szadovszky <ga...@apache.org>
AuthorDate: Mon Feb 15 10:47:23 2021 +0100

    PARQUET-1966: Fix build with JDK11 for JDK8 (#858)
---
 pom.xml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/pom.xml b/pom.xml
index c076c76..12277d2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -393,6 +393,7 @@
         <!-- Override source and target from the ASF parent -->
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.8.1</version>
         <configuration>
           <argLine>-XX:MaxPermSize=256m</argLine>
           <source>${maven.compiler.source}</source>
@@ -625,5 +626,23 @@
       </properties>
     </profile>
 
+    <profile>
+      <id>jdk9+</id>
+      <activation>
+        <jdk>[1.9,)</jdk>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-compiler-plugin</artifactId>
+            <configuration>
+              <release>8</release>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+
   </profiles>
 </project>