Skip to content

Releases: apache/maven

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

maven-4.0.0-beta-3

27 May 04:07
Compare
Choose a tag to compare
maven-4.0.0-beta-3 Pre-release
Pre-release

Release Notes - Maven - Version 4.0.0-beta-3

New Feature

Improvement

Bug

Dependency upgrade

Task

New Contributors

Full Changelog: maven-4.0.0-alpha-13...maven-4.0.0-beta-3

4.0.0-alpha-13

23 Mar 05:51
Compare
Choose a tag to compare
4.0.0-alpha-13 Pre-release
Pre-release

Release Notes - Maven - Version 4.0.0-alpha-13

Bug

  • [MNG-8005] - IDE WorkspaceReader is ignored in Maven 4
  • [MNG-8014] - Maven concurrent model builder deadlocks
  • [MNG-8017] - Maven fails at start with "Cannot run program "infocmp": error=2, No such file or directory"
  • [MNG-8021] - The user properties and system properties on session should be immutable
  • [MNG-8022] - 'mvn -version' results in NullPointerException
  • [MNG-8024] - Maven 3 models are not serializable, despite marked as such
  • [MNG-8039] - DefaultProjectBuilder should not change given artifact

New Feature

  • [MNG-5726] - Update OS Activation To Allow Wildcards In OS Version
  • [MNG-7954] - Provide a cleaner DI api
  • [MNG-8006] - Provide a SPI so that extension can interact with user properties at session creation time

Improvement

  • [MNG-7854] - Non directly managed imported and conflicting depMgt entries should warn
  • [MNG-8012] - Warn on BOM import within same reactor
  • [MNG-8015] - Control the type of path where each dependency can be placed
  • [MNG-8029] - improve documentation of mirror in settings
  • [MNG-8037] - Restrict project to the entity being built and make it immutable
  • [MNG-8045] - Use DependencyGraphDumper instead of own implementation
  • [MNG-8053] - Profile activation by packaging in the POM

Task

  • [MNG-7976] - Investigate MNG-6127 IT instability
  • [MNG-8013] - Integration testing process logs can be output github artifact
  • [MNG-8016] - Simplify ModelCache
  • [MNG-8023] - New method for project artifacts
  • [MNG-8026] - Maven should define from ground up scopes used with Resolver
  • [MNG-8043] - Dependency properties should be provided by Resolver consumer
  • [MNG-8046] - Upgrade github action version from v3 to v4
  • [MNG-8054] - Investigate possible solutions for build number diffs on deploy
  • [MNG-8059] - Move Resolver off java.io.File to NIO2 Paths
  • [MNG-8060] - Use String#isEmpty instead of length
  • [MNG-8061] - Upgrade Maven runtime requirement to Java 17
  • [MNG-8067] - Refer to latest schema for extensions.xml

Dependency upgrade

  • [MNG-8035] - Upgrade Resolver version to 2.0.0-alpha-7
  • [MNG-8036] - Upgrade to JLine 3.25.1
  • [MNG-8057] - Upgrade Modello to 2.3.0

What's Changed

New Contributors

Full Changelog: maven-4.0.0-alpha-12...maven-4.0.0-alpha-13

3.9.6

01 Dec 22:10
Compare
Choose a tag to compare

Release Notes - Maven - Version 3.9.6

Improvement

  • [MNG-7939] - Allow to exclude plugins from validation

Dependency upgrade

  • [MNG-7913] - Upgrade Sisu version to 0.9.0.M2
  • [MNG-7934] - Upgrade Resolver version to 1.9.18
  • [MNG-7942] - Upgrade to parent POM 41
  • [MNG-7943] - Upgrade default plugin bindings