From 6216388315b86b06cd4f6d88f0b954afc8a3629f Mon Sep 17 00:00:00 2001 From: Jerry Lee Date: Thu, 8 Feb 2024 03:03:14 +0800 Subject: [PATCH] =?UTF-8?q?build/ci:=20add=20bytecode=20version=20verifica?= =?UTF-8?q?tion=20plugin=20=E2=9C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 71 +++++++++++++++++++++++++-------------------------------- 1 file changed, 31 insertions(+), 40 deletions(-) diff --git a/pom.xml b/pom.xml index 00e3b5f8..923a565d 100644 --- a/pom.xml +++ b/pom.xml @@ -157,9 +157,8 @@ com.github.spotbugs spotbugs-annotations @@ -210,9 +209,7 @@ 3.0.5 - + io.kotest @@ -297,51 +294,31 @@ - org.apache.maven.plugins maven-enforcer-plugin - enforce-require-version + enforces enforce - - 19 - + 3.3.9 + + + 19 + - - enforce-property - - enforce - - - - - - project.version - ^\d\.\d+\.\d+(-(Alpha|Beta|RC)\d+)?$|^\d(\.\d+)?\.(\d+|x)-SNAPSHOT$ - "Project version(${project.version}) format is invalid!" - - - maven.multiModuleProjectDirectory - - - true - - @@ -535,7 +512,7 @@ - enforce-jdk-21-when-release + enforce-when-release performRelease @@ -549,19 +526,33 @@ maven-enforcer-plugin - enforce-require-version - - enforce - + enforces 21 + + + project.version + ^\d\.\d+\.\d+(-(Alpha|Beta|RC)\d+)?$|^\d(\.\d+)?\.(\d+|x)-SNAPSHOT$ + "Project version(${project.version}) format is invalid!" + + + + ${maven.compiler.source} + + + + org.codehaus.mojo + extra-enforcer-rules + 1.7.0 + +