From 3fbc6386d826e1de54e46832bb6f9c63a515f426 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CHzjNeverStop=E2=80=9D?= <“441627022@qq.com”> Date: Fri, 24 Nov 2023 11:26:54 +0800 Subject: [PATCH] update maven compile in jdk profile --- pom.xml | 58 ++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 39 insertions(+), 19 deletions(-) diff --git a/pom.xml b/pom.xml index 7ce1a6d..0fd5991 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,6 @@ UTF-8 - 17 1.4.9 2.0.7 2.19.0 @@ -163,6 +162,7 @@ http://github.com/alipay/sofa-common-tools/tree/master + @@ -170,26 +170,10 @@ maven-compiler-plugin 3.11.0 - ${java.version} - ${java.version} + 17 + 17 UTF-8 - - - compile-java-21 - compile - - compile - - - 21 - - ${project.basedir}/src/main/java21 - - true - - - org.apache.maven.plugins @@ -290,6 +274,42 @@ + + + 21 + + jdk21 + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.11.0 + + 21 + 21 + UTF-8 + + + + compile-java-21 + compile + + compile + + + 21 + + ${project.basedir}/src/main/java21 + + true + + + + + + + release