From f8a3d5edc1253678c1bfdbf3edb83480cdc3f268 Mon Sep 17 00:00:00 2001 From: Christopher Tubbs Date: Fri, 13 Feb 2026 17:12:45 -0500 Subject: [PATCH] Set source and target in jdk9+ profile Use `javaVersion` to set `maven.compiler.source` and `maven.compiler.target`, in addition to `maven.compiler.release` in the `jdk9+` profile, because some plugins still use these properties, even when `maven.compiler.release` is set. So, it is still useful to have these set automatically by the single property, `javaVersion`. --- docs/src/site/apt/index.apt.vm | 2 ++ pom.xml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/docs/src/site/apt/index.apt.vm b/docs/src/site/apt/index.apt.vm index 0eabf80c..009ca98e 100644 --- a/docs/src/site/apt/index.apt.vm +++ b/docs/src/site/apt/index.apt.vm @@ -82,6 +82,8 @@ Apache Software Foundation Parent POM +------+ \${javaVersion} + \${javaVersion} + \${javaVersion} +------+ [] diff --git a/pom.xml b/pom.xml index c41bd840..2d9f94f0 100644 --- a/pom.xml +++ b/pom.xml @@ -545,6 +545,9 @@ under the License. ${javaVersion} + + ${javaVersion} + ${javaVersion}