Skip to content

Commit 9bb20a1

Browse files
committed
Require Maven 3.9.0 to build
minimalMavenBuildVersion goes from 3.6.3 to 3.9.0, so the enforce-maven-version rule now demands 3.9.0 for every build, not only for releases. This is build-side only. plexus is a POM parent, it declares no <prerequisites>, and requireMavenVersion is checked when a project is built, never when its artifacts are consumed - so the minimum Maven for anyone depending on a plexus component is unchanged. What changes is that a contributor on Maven 3.6.x can no longer build. The plexus-release profile already forced 3.9.0, so releases were built with 3.9.0 while everything else was allowed to build with 3.6.3. That override is now redundant and is removed; the two paths agree. Generated-by: Claude Opus 5 (1M context)
1 parent 1e8d71e commit 9bb20a1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎pom.xml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ limitations under the License.
337337

338338
<properties>
339339
<javaVersion>8</javaVersion>
340-
<minimalMavenBuildVersion>3.6.3</minimalMavenBuildVersion>
340+
<minimalMavenBuildVersion>3.9.0</minimalMavenBuildVersion>
341341
<minimalJavaBuildVersion>${javaVersion}</minimalJavaBuildVersion>
342342
<maven.compiler.source>${javaVersion}</maven.compiler.source>
343343
<maven.compiler.target>${javaVersion}</maven.compiler.target>
@@ -901,7 +901,6 @@ limitations under the License.
901901
<profile>
902902
<id>plexus-release</id>
903903
<properties>
904-
<minimalMavenBuildVersion>3.9.0</minimalMavenBuildVersion>
905904
<!-- use njord during release -->
906905
<njord.enabled>true</njord.enabled>
907906
</properties>

0 commit comments

Comments
 (0)