[ASTERIXDB-3279] Prepare for move to Java 17
Update plugins as needed for Java 17 class file format compat
Change-Id: I88d9357854c5c5807019fea7f818ec768e254748
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/17838
Reviewed-by: Michael Blow <mblow@apache.org>
Tested-by: Michael Blow <mblow@apache.org>
diff --git a/hyracks-fullstack/pom.xml b/hyracks-fullstack/pom.xml
index 0601b2f..fe00a34 100644
--- a/hyracks-fullstack/pom.xml
+++ b/hyracks-fullstack/pom.xml
@@ -49,8 +49,7 @@
<root.dir>${basedir}</root.dir>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<file.encoding>UTF-8</file.encoding>
- <source.jdk.version>11</source.jdk.version>
- <target.jdk.version>11</target.jdk.version>
+ <release.jdk.version>11</release.jdk.version>
<javac.xlint.value>all</javac.xlint.value>
<jvm.extraargs />
<sonar.jacoco.reportPath>${env.PWD}/target/jacoco-merged.exec</sonar.jacoco.reportPath>
@@ -566,8 +565,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <source>${source.jdk.version}</source>
- <target>${target.jdk.version}</target>
+ <release>${release.jdk.version}</release>
<compilerArgument>-Xlint:${javac.xlint.value}</compilerArgument>
</configuration>
</plugin>
@@ -677,7 +675,7 @@
<version>[3.3.9,)</version>
</requireMavenVersion>
<requireJavaVersion>
- <version>[11,)</version>
+ <version>[${release.jdk.version},)</version>
</requireJavaVersion>
</rules>
</configuration>
@@ -886,7 +884,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
- <version>3.1.2</version>
+ <version>3.6.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.doxia</groupId>