This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch MPOM-447
in repository https://gitbox.apache.org/repos/asf/maven-parent.git

commit 9def713f75e1cbbda6a8734e202d471511519bda
Author: Hervé Boutemy <hbout...@apache.org>
AuthorDate: Tue Nov 14 09:26:58 2023 +0100

    [MPOM-447] activate javac's release flag
---
 pom.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/pom.xml b/pom.xml
index e0ceb16..264e2c6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1318,6 +1318,9 @@ under the License.
       <activation>
         <jdk>[11,)</jdk>
       </activation>
+      <properties>
+        <maven.compiler.release>${javaVersion}</maven.compiler.release>
+      </properties>
       <build>
         <!--- newer versions of plugins requires JDK 11 -->
         <plugins>

Reply via email to