From 4830df01c422a530a80880896b3cb160e819b77c Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Wed, 3 May 2023 21:35:23 +0200 Subject: [PATCH] Sync enforcer configuration setup with ASF --- pom.xml | 53 +++++++++++------------------------------------------ 1 file changed, 11 insertions(+), 42 deletions(-) diff --git a/pom.xml b/pom.xml index e49d8fdad..d1e40e67e 100644 --- a/pom.xml +++ b/pom.xml @@ -546,9 +546,16 @@ limitations under the License. org.apache.maven.plugins maven-enforcer-plugin + + + org.codehaus.mojo + extra-enforcer-rules + 1.6.2 + + - enforce-maven + enforce-maven-and-java-bytecode enforce @@ -558,6 +565,9 @@ limitations under the License. 3.2.5 This project requires at least Maven 3.2.5 + + ${maven.compiler.target} + @@ -744,46 +754,5 @@ limitations under the License. - - pre-JEP_247 - - [7,8] - - - - - org.apache.maven.plugins - maven-enforcer-plugin - - - org.codehaus.mojo - animal-sniffer-enforcer-rule - 1.23 - - - - - check-signatures - test - - enforce - - - - - - org.codehaus.mojo.signature - java1${javaVersion} - 1.0 - - - - - - - - - -