From f897c46ffb9e308544ea2c97288c6d3a891345a9 Mon Sep 17 00:00:00 2001 From: "Jan N. Klug" Date: Thu, 2 Jun 2022 09:10:28 +0200 Subject: [PATCH] Raise source level to Java 17 (except for model classes) Signed-off-by: Jan N. Klug --- bundles/pom.xml | 5 +++++ pom.xml | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bundles/pom.xml b/bundles/pom.xml index 69fe3d29684..2bb9b9a69e4 100644 --- a/bundles/pom.xml +++ b/bundles/pom.xml @@ -191,6 +191,11 @@ model.profile-marker + + ${oh.model.java.version} + ${oh.model.java.version} + ${oh.model.java.version} + org.openhab.core.bom diff --git a/pom.xml b/pom.xml index 58dffbf005b..2c1970faad9 100644 --- a/pom.xml +++ b/pom.xml @@ -64,7 +64,8 @@ UTF-8 UTF-8 - 11 + 17 + 11 ${oh.java.version} ${oh.java.version} ${oh.java.version}