From 44d5666760810988e89a39bc310c682e8c69e73e Mon Sep 17 00:00:00 2001 From: Guillaume Nodet <gnodet@gmail.com> Date: Fri, 26 Jul 2024 10:24:39 +0200 Subject: [PATCH] Ensure the build requires Maven 3.9.x --- pom.xml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index c28bdbc83..cae0da783 100644 --- a/pom.xml +++ b/pom.xml @@ -81,7 +81,7 @@ <properties> <minimalJavaBuildVersion>17</minimalJavaBuildVersion> <surefireJdk>[${minimalJavaBuildVersion},)</surefireJdk> - <minimalMavenBuildVersion>3.9.8</minimalMavenBuildVersion> + <minimalMavenBuildVersion>3.9</minimalMavenBuildVersion> <format.impsort.action>sort</format.impsort.action> <format.formatter.action>format</format.formatter.action> @@ -104,7 +104,6 @@ <maven.compiler.target>${javac.target}</maven.compiler.target> <ant.build.javac.target>${javac.target}</ant.build.javac.target> - <min.required.maven.version>3.5.0</min.required.maven.version> <groovy.version>4.0.17</groovy.version> <bouncycastle.version>1.78.1</bouncycastle.version> <!-- NOTE: upgrading slf4j beyond this version causes @@ -1114,10 +1113,10 @@ <configuration> <rules> <requireMavenVersion> - <version>${min.required.maven.version}</version> + <version>${minimalMavenBuildVersion}</version> </requireMavenVersion> <requireJavaVersion> - <version>${required.java.version}</version> + <version>${minimalJavaBuildVersion}</version> </requireJavaVersion> <requireReleaseDeps> <onlyWhenRelease>true</onlyWhenRelease> @@ -1133,7 +1132,7 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> <executions> - <!-- Delete temporary serialized key files generated during tests run --> + <!-- Delete temporary serialized key files generated during tests run --> <execution> <id>auto-clean-key-files</id> <phase>initialize</phase>