From 9c4afdc4c8acf026f17dcd95de4480642023d79f Mon Sep 17 00:00:00 2001 From: "Jan N. Klug" Date: Fri, 3 Jun 2022 00:29:41 +0200 Subject: [PATCH] upgrade spotless and add jvm options See https://github.com/diffplug/spotless/issues/834 Signed-off-by: Jan N. Klug --- .mvn/jvm.config | 1 + pom.xml | 13 +++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 .mvn/jvm.config diff --git a/.mvn/jvm.config b/.mvn/jvm.config new file mode 100644 index 00000000000..e2a50e08349 --- /dev/null +++ b/.mvn/jvm.config @@ -0,0 +1 @@ +--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \ No newline at end of file diff --git a/pom.xml b/pom.xml index 757e018b63d..8730de38756 100644 --- a/pom.xml +++ b/pom.xml @@ -78,7 +78,8 @@ 0.13.0 1.7.32 2.26.0 - 2.0.3 + 2.22.5 + 4.21.0 @@ -538,7 +539,7 @@ Import-Package: \\ openhab_codestyle.xml - 4.13.0 + ${spotless.eclipse.version} @@ -561,7 +562,7 @@ Import-Package: \\ openhab_wst_xml_files.prefs - 4.13.0 + ${spotless.eclipse.version} @@ -576,7 +577,7 @@ Import-Package: \\ openhab_wst_feature_file.prefs - 4.13.0 + 4.21.0 @@ -591,7 +592,7 @@ Import-Package: \\ openhab_wst_pom_file.prefs - 4.13.0 + ${spotless.eclipse.version} @@ -648,7 +649,7 @@ Import-Package: \\ - [11.0,18.0) + [17.0,18.0)