summaryrefslogtreecommitdiffstats
path: root/hosted-tenant-base
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2022-06-14 10:17:34 +0200
committergjoranv <gv@verizonmedia.com>2022-06-14 10:17:34 +0200
commit5a976e6bc493bf55ea08b98b35db3f4614cb79d6 (patch)
tree0fbd05cb6aee282225c686104da7914e83518e63 /hosted-tenant-base
parente0e3ff465fcec5bb6a7253da2cd6df82f9701066 (diff)
Compile hosted projects for JDK 17.
+ Remove unused jdk toolchain config.
Diffstat (limited to 'hosted-tenant-base')
-rw-r--r--hosted-tenant-base/pom.xml5
1 files changed, 1 insertions, 4 deletions
diff --git a/hosted-tenant-base/pom.xml b/hosted-tenant-base/pom.xml
index 93ab2e1a032..39b555ea105 100644
--- a/hosted-tenant-base/pom.xml
+++ b/hosted-tenant-base/pom.xml
@@ -33,7 +33,7 @@
<properties>
<vespaversion>${project.version}</vespaversion>
- <target_jdk_version>11</target_jdk_version>
+ <target_jdk_version>17</target_jdk_version>
<maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
<junit.version>5.8.1</junit.version> <!-- NOTE: this must be in sync with junit version specified in 'tenant-cd-api' -->
@@ -433,9 +433,6 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
- <jdkToolchain>
- <version>${target_jdk_version}</version>
- </jdkToolchain>
<release>${target_jdk_version}</release>
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>