NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Maven Central
Maven Central
Maven 4 Executor, for executing Maven 3/4.
Last release 1 years ago
07 Nov 2025
Ships fairly regularly
a new release about every 3 months
Unknown
no stable releases
Nothing withdrawn
no release was ever pulled
2 years old
5 releases · first in 2024
Drag across the ruler to compare, or tap a release to open it.
Set Guice class loading to CHILD - avoid using terminally deprecated methods (#11002) @slawekjaranowski
<!-- Optional: add a release summary here -->
This new release candidate of Maven 4 is released to get feedback from users.
Maven 4 has a restrained a few things comparent to Maven 3, so make sure to run the mvnup tool before trying to project with Maven 4.
A bug has been found in the bean configuration system where field accessibility state is cached globally. This can cause plugin configuration injection to fail when the same configuration field is accessed multiple times or in different contexts during a build. This particularly affects the plugin unit tests.
This will be fixed by #11433 in the next release.
A concurrency issue has been found in the Maven 4 API (still in preview mode) and will be fixed by #11428 in the next release.
Another bug has been found in how BOM projects are processed. When a project uses BOM packaging, the consumer POM is not being properly converted to standard POM packaging, and dependency versions could be lost in some cases.
This will be fixed by #11427 in the next release.
On macOS (especially Apple Silicon), the first invocation of mvn may fail to load the JLine native terminal library with an error such as:
java.lang.UnsatisfiedLinkError: .../libjline-native/Mac/arm64/libjlinenative.jnilib: dlopen(...): code signature ... not valid for use in process: library load disallowed by system policy
This occurs when the binary distribution is downloaded via a web browser, which applies the com.apple.quarantine extended attribute.
xattr -r -d com.apple.quarantine /path/to/apache-maven-4.0.0-rc-5/lib/jline-native
Recommended download method (avoids the issue entirely):
curl -L -O https://archive.apache.org/dist/maven/maven-4/4.0.0-rc-5/binaries/apache-maven-4.0.0-rc-5-bin.tar.gz
tar -xzf apache-maven-4.0.0-rc-5-bin.tar.gz
This is a known issue #10747 and will be addressed in a future release.
module-info.class file in the META-INF/versions/ sub-directories of a JAR file. (#11153) (#11206) @gnodetDefaultSourceRoot. (#10912) (#10917) @gnodetYour coding agent can read these notes before it upgrades. Set up the MCP server →
[[MNG-8674]](https://issues.apache.org/jira/browse/MNG-8674) - Deprecate mergeId in the Maven 3 model and remove it in the new model (#2233) @gnodet
Maven 4.0.0-rc-4 aims at being the last release candidate before Maven 4.0.0 GA. We'll focus on fixing critical bugs raised before GA.
Worth mentioning is the new upgrade tool which can be used to fix your pom.xml files and make them usable in Maven 4.
outputStream destination; request instead of path in DefaultPluginXmlFactory#write (#2312) @Pankraz76try-with-resources statement in LookupWagonMojo (#2426) @Pankraz76Binding#getPriorityComparator (#2428) @Pankraz76Disabled to DisabledOnOs(WINDOWS) (#2423) @Pankraz76try-with-resources statement in CatchMojo (#2424) @Pankraz76Binding#getDisplayString (#2429) @Pankraz76@SuppressWarnings("checkstyle:UnusedLocalVariable") (#2369) @Pankraz76Objects.requireNonNull (#2290) @Pankraz76SourceRoot.matcher(boolean) method (#2236) @desruisseauxIntelliJ IDEA (#2283) @Pankraz76src/${scope}/${lang} as per documentation (#2180) @desruisseauxNullPointerException by a more explicit error message (#2160) @desruisseauxImportant note about breaking changes: Maven 4.0.0-rc-3 includes changes in the new API that will require updates in plugin targeting the new API, esp…
Maven has entered the release candidate phase and aims to be finally released in a few weeks. Please give it a try and report errors.
Maven 4 brings a tons of changes. We've tried hard to maximise compatibility with Maven 3.x, but in order to have your build work with Maven 4, you will need to upgrade some plugins (such as maven-enforcer-plugin, maven-remote-resources-plugin, maven-shade-plugin, etc...) to their most recent versions.
If your build is leveraging Maven extensions, you may very well expect some breakage. Some extensions may need to be updated:
os-maven-plugin extension has been replaced with at nisse extension.Contact the extensions' developers team to know their plans regarding supporting to Maven 4.
Important note about breaking changes: Maven 4.0.0-rc-3 includes changes in the new API that will require updates in plugin targeting the new API, especially relating to [MNG-8395] which adds a new <source> element to the model and redirects the <sourceDirectory> element. Plugin developers will need to update their code to work with these changes.
Full Changelog: https://github.com/apache/maven/compare/maven-4.0.0-rc-2...maven-4.0.0-rc-3
Maven has entered the release candidate phase and aims to be finally released in a few weeks. Please give it a try and report errors.
Maven has entered the release candidate phase and aims to be finally released in a few weeks. Please give it a try and report errors.
Maven 4 brings a tons of changes. We've tried hard to maximise compatibility with Maven 3.x, but in order to have your build work with Maven 4, you will need to upgrade some plugins (such as maven-enforcer-plugin, maven-remote-resources-plugin, maven-shade-plugin, etc...) to their most recent versions.
If your build is leveraging Maven extensions, you may very well expect some breakage. Some extensions may need to be updated:
os-maven-plugin extension has been forked and now maintained at os-detector-maven-pluginContact the extensions' developers team to know their plans regarding supporting to Maven 4.
mvnenc tool used to encrypt passwords in settings is brokenhttps://github.com/apache/maven/compare/maven-4.0.0-rc-1...maven-4.0.0-rc-2
[MNG-8348] Fix typos in deprecation warning message by @gnodet in https://github.com/apache/maven/pull/1844
Full Changelog: https://github.com/apache/maven/compare/maven-4.0.0-beta-5...maven-4.0.0-rc-1
One column per month.