You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2019/07/25 18:03:24 UTC

[accumulo] branch 1.9 updated: Support builds with JDK9 and later

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

ctubbsii pushed a commit to branch 1.9
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/1.9 by this push:
     new 48c6b2c  Support builds with JDK9 and later
48c6b2c is described below

commit 48c6b2ca4e68c38040095234fd81dae4803be1dd
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Thu Jul 25 14:02:41 2019 -0400

    Support builds with JDK9 and later
---
 pom.xml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/pom.xml b/pom.xml
index 9b0f9e3..2240d84 100644
--- a/pom.xml
+++ b/pom.xml
@@ -627,6 +627,7 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-compiler-plugin</artifactId>
+          <version>3.8.1</version>
           <configuration>
             <optimize>true</optimize>
             <showDeprecation>true</showDeprecation>
@@ -1423,5 +1424,14 @@
         <hadoop.version>3.0.0</hadoop.version>
       </properties>
     </profile>
+    <profile>
+      <id>jdk-release-flag</id>
+      <activation>
+        <jdk>[9,)</jdk>
+      </activation>
+      <properties>
+        <maven.compiler.release>7</maven.compiler.release>
+      </properties>
+    </profile>
   </profiles>
 </project>