From efc5d4d8ea7d35a4ab224c04c103755e87e9d6e5 Mon Sep 17 00:00:00 2001 From: wuwen Date: Thu, 21 Dec 2023 23:55:31 +0800 Subject: [PATCH] chore(ci): add bytecode version verification plugin (#590) Co-authored-by: Jerry Lee --- pom.xml | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/pom.xml b/pom.xml index 9bba0d638..e1b0de78d 100644 --- a/pom.xml +++ b/pom.xml @@ -409,7 +409,7 @@ maven-enforcer-plugin - enforce-maven + enforces enforce @@ -830,7 +830,7 @@ - force-jdk11-when-release + enforce-when-release performRelease @@ -839,44 +839,43 @@ - maven-enforcer-plugin - enforce-jdk-versions + enforces enforce + 17 - - - - - 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.compiler.source} + - true + + + org.codehaus.mojo + extra-enforcer-rules + 1.7.0 + +