Migrate to jdk 21 (#2295)

* docker containers using images with jre 21
* project is still building with target java 17 - so jar artifacts are java 17 compatible
* provided option to have different version for client libraries (e.g. ddi and management REST api)

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2025-03-27 09:28:28 +02:00
committed by GitHub
parent 21ec2e581a
commit 70949769de
10 changed files with 20 additions and 8 deletions

View File

@@ -37,6 +37,9 @@
<properties>
<revision>0-SNAPSHOT</revision>
<java.version>17</java.version>
<!-- java.version is used to build the hawkbit in general, however, some artifacts which could be used
as libraries in other projects might be compiled with a different, lower, java version. -->
<java.client.version>17</java.client.version>
<snapshotDependencyAllowed>true</snapshotDependencyAllowed>