From 09e118d094ee8540cdd48723c964ad9f30ea0c73 Mon Sep 17 00:00:00 2001 From: Jerry Lee Date: Tue, 6 Aug 2024 11:41:36 +0800 Subject: [PATCH] chore: update `extra-enforcer-rules` maven plugin config, and improve profile config --- pom.xml | 82 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 40 insertions(+), 42 deletions(-) diff --git a/pom.xml b/pom.xml index 9d315385..6072f0dc 100644 --- a/pom.xml +++ b/pom.xml @@ -489,7 +489,8 @@ default-logging-dependencies - !enableLog4j2LoggingDependencies + enableLog4j2LoggingDependencies + !true @@ -516,14 +517,10 @@ enableLog4j2LoggingDependencies + true - - org.slf4j - slf4j-api - true - org.apache.logging.log4j log4j-slf4j2-impl @@ -536,42 +533,12 @@ - - enable-test-jar-if-not-maven-skip-test - - - maven.test.skip - !true - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - - test-jar - - - - - - - enable-arch-unit-test - !skipDefaultProfileArchUnitTest + skipDefaultProfileArchUnitTest + false @@ -617,6 +584,37 @@ + + enable-test-jar-if-not-maven-skip-test + + + maven.test.skip + !true + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + + test-jar + + + + + + + disable-javac-options-warning-for-java21+ @@ -658,12 +656,12 @@ 21 - + ${maven.compiler.source} - - test - + + com.tngtech.archunit:archunit +