From a5bd3792d4477e7098b692739de51222991503c3 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..fb8b1509 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 + !true @@ -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 +