Skip to content

Releases: apache/maven

4.0.0-rc-4

25 Jun 11:39
Compare
Choose a tag to compare
4.0.0-rc-4 Pre-release
Pre-release

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.

πŸš€ New features and improvements

πŸ› Bug Fixes

πŸ“ Documentation updates

πŸ‘» Maintenance

Read more

3.9.10

05 Jun 20:20
maven-3.9.10
5f519b9
Compare
Choose a tag to compare

Release Notes - Maven - Version 3.9.10

Bug

  • [MNG-8096] - Inconsistent dependency resolution behaviour for concurrent multi-module build can cause failures
  • [MNG-8169] - MINGW support requires --add-opens java.base/java.lang=ALL-UNNAMED
  • [MNG-8170] - Maven 3.9.8 contains weird native library for Jansi on Windows/arm64
  • [MNG-8211] - Maven should fail builds that use CI Friendly versions but have no values set
  • [MNG-8248] - WARNING: A restricted method in java.lang.System has been called
  • [MNG-8256] - ProjectDependencyGraph bug: in case of filtering, non-direct module links are lost
  • [MNG-8315] - Failure of mvn.cmd if a .mvn directory is located at drive root
  • [MNG-8396] - Maven takes forever to resume
  • [MNG-8711] - "Duplicate artifact" in LifecycleDependencyResolver

Improvement

  • [MNG-8370] - Introduce maven.repo.local.head
  • [MNG-8399] - JDK 24+ issues warning about usage of sun.misc.Unsafe
  • [MNG-8707] - Add methods to remove compile and test source roots
  • [MNG-8712] - improve dependency version explanation: it's a requirement, not always effective version
  • [MNG-8717] - Remove maven-plugin-plugin:addPluginArtifactMetadata from default binding
  • [MNG-8722] - Use a single standalone version of asm
  • [MNG-8731] - Use https for xsi:schemaLocation in generated descriptors
  • [MNG-8734] - Simplify scripting like "get project version" cases

Task

  • [MNG-8728] - Bump Eclipse Sisu from 0.9.0.M3 to 0.9.0.M4 and use Java 24 on CI

Dependency upgrade

  • [MNG-8289] - Update Plexus annotations to 2.2.0
  • [MNG-8443] - Bump com.google.guava:guava from 33.2.1-jre to 33.4.0-jre
  • [MNG-8531] - Bump org.codehaus.plexus:plexus-utils from 3.5.1 to 3.6.0
  • [MNG-8532] - Bump commons-io:commons-io from 2.16.1 to 2.18.0
  • [MNG-8534] - Bump org.codehaus.mojo:buildnumber-maven-plugin from 3.2.0 to 3.2.1
  • [MNG-8635] - Bump com.google.guava:failureaccess from 1.0.2 to 1.0.3
  • [MNG-8636] - Bump com.google.guava:guava from 33.4.0-jre to 33.4.5-jre
  • [MNG-8640] - Bump org.apache.maven:maven-parent from 43 to 44
  • [MNG-8661] - Bump com.google.guava:guava from 33.4.5-jre to 33.4.6-jre
  • [MNG-8701] - Bump org.codehaus.plexus:plexus-interpolation from 1.27 to 1.28
  • [MNG-8702] - Bump org.codehaus.plexus:plexus-classworlds from 2.8.0 to 2.9.0
  • [MNG-8703] - Bump commons-io:commons-io from 2.18.0 to 2.19.0
  • [MNG-8704] - Bump com.google.guava:guava from 33.4.6-jre to 33.4.8-jre
  • [MNG-8705] - Bump commons-jxpath:commons-jxpath from 1.3 to 1.4.0
  • [MNG-8706] - Bump commons-cli:commons-cli from 1.8.0 to 1.9.0
  • [MNG-8715] - Bump org.fusesource.jansi:jansi from 2.4.1 to 2.4.2
  • [MNG-8716] - Bump resolver to 1.9.23
  • [MNG-8745] - Bump xmlunitVersion from 2.10.0 to 2.10.2

What's Changed

Read more

Maven 4.0.0-rc-3

10 Mar 09:53
Compare
Choose a tag to compare
Maven 4.0.0-rc-3 Pre-release
Pre-release

Release notes

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:

  • the useful, but unmaintained, 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.

Upgrading from Maven 4.0.0-rc-2

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.

Change log

What's Changed

Read more

4.0.0-rc-2

16 Dec 23:15
Compare
Choose a tag to compare
4.0.0-rc-2 Pre-release
Pre-release

Release notes

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

maven-4.0.0-rc-1...maven-4.0.0-rc-2

maven-4.0.0-rc-1

29 Nov 20:13
Compare
Choose a tag to compare
maven-4.0.0-rc-1 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: https://github.com/apache/maven/compare...

Read more

4.0.0-beta-5

29 Nov 20:12
Compare
Choose a tag to compare
4.0.0-beta-5 Pre-release
Pre-release

What's Changed

Read more

4.0.0-beta-4

02 Sep 13:54
Compare
Choose a tag to compare
4.0.0-beta-4 Pre-release
Pre-release

What's Changed

Dependencies

Read more

3.9.9

18 Aug 07:33
Compare
Choose a tag to compare

Release Notes - Maven - Version 3.9.9

Bug

  • [MNG-8159] - Fix search for topDirectory when using -f / --file for Maven 3.9.x
  • [MNG-8165] - Maven does not find extensions for -f when current dir is root
  • [MNG-8177] - Warning "'dependencyManagement.dependencies.dependency.systemPath' for com.sun:tools:jar refers to a non-existing file C:\Temp\jdk-11.0.23\..\lib\tools.jar"
  • [MNG-8178] - Profile activation based on OS properties is broken for "mvn site"
  • [MNG-8180] - Resolver will blindly assume it is deploying a plugin by presence of META-INF/maven/plugins.xml in JAR
  • [MNG-8182] - Missing or mismatching Trusted Checksum for some artifacts is not properly reported
  • [MNG-8188] - [REGRESSION] Property not resolved in profile pluginManagement

Task

  • [MNG-8206] - Remove Maven 2.1 (v 2.0) compatibility bits

Dependency upgrade

What's Changed

New Contributors

Full Changelog: maven-3.9.8...maven-3.9.9

3.9.8

19 Jun 08:48
Compare
Choose a tag to compare

Release Notes - Maven - Version 3.9.8

Bug

  • [MNG-7758] - o.e.aether.resolution.ArtifactResolutionException incorrectly examined when multiple repositories are involved
  • [MNG-8066] - Maven hangs on self-referencing exceptions
  • [MNG-8116] - Plugin configuration can randomly fail in case of method overloading as it doesn't take into account implementation attribute
  • [MNG-8131] - Property replacement in dependency pom no longer works
  • [MNG-8135] - Profile activation based on OS properties is no longer case insensitive
  • [MNG-8142] - If JDK profile activator gets "invalid" JDK version for whatever reason, it chokes but does not tell why
  • [MNG-8147] - Profile interpolation broke their evaluation in case of duplicate IDs

Improvement

  • [MNG-7902] - Sort plugins in validation report
  • [MNG-8140] - When a model is discarded (by model builder) for whatever reason, show why it happened
  • [MNG-8141] - Model Builder should report if not sure about "fully correct" outcome
  • [MNG-8150] - Make SimplexTransferListener handle absent source/target files

Task

Dependency upgrade

  • [MNG-8136] - Update to Eclipse Sisu 0.9.0.M3
  • [MNG-8143] - Update to commons-cli 1.8.0
  • [MNG-8144] - Update to Guava 32.2.1-jre
  • [MNG-8154] - Upgrade default plugin bindings

What's Changed

Full Changelog: maven-3.9.7...maven-3.9.8

3.9.7

27 May 04:07
Compare
Choose a tag to compare

Release Notes - Maven - Version 3.9.7

Bug

  • [MNG-8106] - Maven Metadata corruption if repository directory role overlaps
  • [MNG-8121] - NullPointerException at org.apache.maven.artifact.repository.metadata.Metadata.merge (Metadata.java:293)

New Feature

  • [MNG-5726] - Update OS Activation To Allow Wildcards In OS Version
  • [MNG-8030] - Backport: Add ability to ignore dependency repositories: mvn -itr

Improvement

  • [MNG-8019] - Streamline update policy of pluginRepository/repository of Maven Central in Super POM
  • [MNG-8029] - improve documentation of mirror in settings
  • [MNG-8031] - Backport: Make Maven transfer listener used with Resolver more concurrent friendly
  • [MNG-8081] - default profile activation should consider available system and user properties
  • [MNG-8085] - swtich from png+imagemap to svg
  • [MNG-8117] - Improve prerequisite evaluation and plugin version selection logging

Task

  • [MNG-7309] - Remove redundant MojoDescriptor parameterMap
  • [MNG-8011] - Minimize and make generic the README.txt
  • [MNG-8055] - Investigate possible solutions for build number diffs on deploy

Dependency upgrade

  • [MNG-8094] - Resolver 1.9.19
  • [MNG-8100] - Upgrade default plugin bindings
  • [MNG-8101] - Upgrade Parent to 42
  • [MNG-8109] - Resolver 1.9.20
  • [MNG-8115] - Upgrade minimal set of dependencies
  • [MNG-8125] - (build) Bump buildhelper-maven-plugin to 3.6.0 (was 3.4.0)
  • [MNG-8126] - Bump logback classic to 1.2.13 (was 1.2.12)
  • [MNG-8127] - Bump guava to 33.2.0-jre

What's Changed

New Contributors

Full Changelog: maven-3.9.6...maven-3.9.7