You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mnemonic.apache.org by yz...@apache.org on 2021/11/13 04:33:26 UTC

[mnemonic] branch master updated: MNEMONIC-693: Update project pom.xml to compile project in OpenJDK17

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

yzhao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mnemonic.git


The following commit(s) were added to refs/heads/master by this push:
     new a3f9d2e  MNEMONIC-693: Update project pom.xml to compile project in OpenJDK17
a3f9d2e is described below

commit a3f9d2ee7ddbf3d6cbf7ada425b358895f6708de
Author: Li Shen <li...@apache.org>
AuthorDate: Thu Nov 11 22:03:25 2021 -0800

    MNEMONIC-693: Update project pom.xml to compile project in OpenJDK17
    
    Signed-off-by: Li Shen <li...@apache.org>
---
 pom.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 0f362a1..1a35bae 100644
--- a/pom.xml
+++ b/pom.xml
@@ -96,7 +96,7 @@
   </modules>
 
   <properties>
-    <java.version>15</java.version>
+    <java.version>17</java.version>
     <maven.compiler.source>${java.version}</maven.compiler.source>
     <maven.compiler.target>${java.version}</maven.compiler.target>
     <maven.min-version>3.2.1</maven.min-version>
@@ -349,6 +349,7 @@
           <artifactId>maven-compiler-plugin</artifactId>
           <version>3.8.1</version>
           <configuration>
+            <release>${java.version}</release>
             <source>${java.version}</source>
             <target>${java.version}</target>
             <compilerArgs>