aboutsummaryrefslogtreecommitdiffstats
path: root/hosted-tenant-base
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2021-11-11 20:12:54 +0100
committergjoranv <gv@verizonmedia.com>2021-11-11 20:15:40 +0100
commit6dc071ecf05e81b6386afe102fed7037f1d8ce35 (patch)
treedd80e61bb4a702c5fc8ec849020eccb639769fbb /hosted-tenant-base
parente84c41cb9dc324f72dd2cf9d590c13ee890c8c9d (diff)
JDK 17: use release instead of source/target
.. for hosted tenant projects and sample apps.
Diffstat (limited to 'hosted-tenant-base')
-rw-r--r--hosted-tenant-base/pom.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/hosted-tenant-base/pom.xml b/hosted-tenant-base/pom.xml
index a5ca00659d6..66b8cb56443 100644
--- a/hosted-tenant-base/pom.xml
+++ b/hosted-tenant-base/pom.xml
@@ -357,8 +357,10 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
- <source>${target_jdk_version}</source>
- <target>${target_jdk_version}</target>
+ <jdkToolchain>
+ <version>${target_jdk_version}</version>
+ </jdkToolchain>
+ <release>${target_jdk_version}</release>
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>
<compilerArgs>