Release Notes – Maven 4.0.0-rc-2

The Apache Maven team would like to announce the release of Maven 4.0.0-rc-2.

Maven 4 release requires Java 17 for runtime.

This is release candidate release, is not suitable for production.

Maven 4.0.0-rc-2 is available for download.

Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting, and documentation from a central place.

The core release is independent of plugin releases. Further releases of plugins will be made separately. See the PluginList for more information.

If you have any questions, please consult:

Overview About the Changes

The full list of changes can be found in our issue management system.

Notable changes include:

  • requires Java 17 as “minimum runtime Java requirement”
  • brings the latest Maven Resolver 2.0.5
  • many bug fixes and enhancements since rc-1

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.

Upgrading from Maven 3

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:

Contact the extensions' developers team to know their plans regarding supporting to Maven 4.

Known issues

  • the mvnenc tool used to encrypt passwords in settings is broken
  • download rates appearing in the console display wrong values

Change log

Improvements

Bug fixes

Dependency upgrade

Full changelog

https://github.com/apache/maven/compare/maven-4.0.0-rc-1...maven-4.0.0-rc-2

See complete release notes for all versions