From ebe1b0156f3ea107557fe14b39d8a117f7192208 Mon Sep 17 00:00:00 2001 From: George Gastaldi Date: Tue, 10 Jan 2023 14:35:14 -0300 Subject: [PATCH] Introduce `minimum-java-version` and `recommended-java-version` - Fixes #28497 (cherry picked from commit 55edc25a6156ba32de83ad0a6ec39ffd3ecdfc90) --- build-parent/pom.xml | 4 ++++ .../src/main/resources/catalog-overrides.json | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/build-parent/pom.xml b/build-parent/pom.xml index 7d82508203de4..b5fc9a7e11ba5 100644 --- a/build-parent/pom.xml +++ b/build-parent/pom.xml @@ -53,6 +53,10 @@ jdt_apt + + ${maven.compiler.release} + 17 + diff --git a/devtools/bom-descriptor-json/src/main/resources/catalog-overrides.json b/devtools/bom-descriptor-json/src/main/resources/catalog-overrides.json index 9bee169af979f..c0553f850f90a 100644 --- a/devtools/bom-descriptor-json/src/main/resources/catalog-overrides.json +++ b/devtools/bom-descriptor-json/src/main/resources/catalog-overrides.json @@ -157,7 +157,9 @@ "supported-maven-versions": "${supported-maven-versions}", "proposed-maven-version": "${proposed-maven-version}", "maven-wrapper-version": "${maven-wrapper.version}", - "gradle-wrapper-version": "${gradle-wrapper.version}" + "gradle-wrapper-version": "${gradle-wrapper.version}", + "minimum-java-version": "${minimum-java-version}", + "recommended-java-version": "${recommended-java-version}" } }, "codestarts-artifacts": [