Skip to content

Releases

3.10.2

Choose a tag to compare

@cstamas cstamas released this 22 Nov 11:43

πŸ› Bug Fixes

πŸ“¦ Dependency updates

3.10.1

Choose a tag to compare

@github-actions github-actions released this 15 Nov 14:10

For more information read

https://maven.apache.org/docs/3.10.1/release-notes.html

πŸš€ New features and improvements

πŸ› Bug Fixes

πŸ“ Documentation updates

πŸ‘» Maintenance

πŸ”§ Build

πŸ“¦ Dependency updates

3.10.0

Choose a tag to compare

@github-actions github-actions released this 01 Oct 08:29

πŸš€ New features and improvements

πŸ› Bug Fixes

πŸ“ Documentation updates

πŸ‘» Maintenance

πŸ”§ Build

πŸ“¦ Dependency updates

Read more

Maven 4.0.0-rc-7

Maven 4.0.0-rc-7 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 24 Sep 22:50

This release candidate is expected to be the last before the Maven 4.0.0 GA release, which we aim to publish in the coming weeks, pending community feedback.

πŸš€ New features and improvements

πŸ”§ Maintenance

  • Externalize default lifecycle plugin versions to POM properties (#13137) @gnodet

πŸ› Bug Fixes

Read more

Maven 4.0.0-rc-6

Maven 4.0.0-rc-6 Pre-release
Pre-release

Choose a tag to compare

@gnodet gnodet released this 30 Jul 15:59

Notes

This new release candidate of Maven 4 is released to get feedback from users.
Maven 4 has restricted a few things compared to Maven 3, so make sure to run the mvnup tool before trying your project with Maven 4.

Issues fixed since RC-5

All known issues reported in the RC-5 release notes have been fixed:

  • Bean configuration bug β€” field accessibility state was cached globally, causing plugin configuration injection failures. Fixed in #11433.
  • Concurrency issue in the v4 API β€” a ConcurrentModificationException was fixed in #11429.
  • BOM packaging β€” consumer POM conversion for BOM projects now correctly preserves dependency versions. Fixed in #11464.
  • macOS Gatekeeper β€” the extracted JLine native binaries that triggered Gatekeeper have been removed from the distribution (#11997). The xattr workaround from RC-5 is no longer needed.

Known compatibility issues

The following are known compatibility issues when using Maven 4. Running
mvnup before building with
Maven 4 will fix many common plugin version issues automatically. The issues
below are those that require manual intervention or upstream fixes.

Stricter POM validation

Maven 4 enforces stricter validation than Maven 3. Projects may need to fix their POMs:

  • Duplicate XML elements β€” duplicate <artifactId>, <properties>, etc. are now rejected (Duplicated tag error). Fix the source POM.
  • Duplicate dependency declarations β€” same groupId:artifactId declared twice is now rejected (must be unique).
  • Uninterpolated expressions β€” ${...} expressions in repository URLs, distribution management IDs, and other fields that Maven 3 silently accepted are now rejected.
  • Invalid XML in transitive POMs β€” illegal processing instructions or undeclared namespace prefixes in transitive POMs cause Non-parseable POM errors.
  • Properties in <module> paths β€” Maven 4 no longer interpolates properties like ${spark.version} in <module> elements at POM reading time.
  • CI-friendly versions β€” projects using ${revision} without flatten-maven-plugin may hit missing dependency version errors.
  • Invalid Collect Request β€” transitive dependencies with uninterpolated ${...} version expressions are rejected.

Transitive dependency resolution changes

Maven 4's TransitiveDependencyManager applies dependencyManagement at all transitive depths (Maven 3 only applied it at the first level). This is intentional but can change resolved versions:

  • Dependencies previously on the classpath may disappear β€” add explicit declarations. See #12302.
  • maven-enforcer-plugin version rules may trigger due to downgraded transitive versions.
  • license-maven-plugin may report new transitive dependencies not in the allow-list.
  • Karaf feature verification may fail due to OSGi bundle version mismatches.

Plugin and extension compatibility

Some plugins and extensions require specific versions for Maven 4:

  • Quarkus β€” versions before 3.20 use ServiceLocator/RepositorySystem patterns incompatible with Maven 4's Sisu-based DI. Upgrade to Quarkus 3.20+.
  • Tycho β€” versions before 5.0 use Guice/Sisu injection patterns broken by Maven 4. Upgrade to Tycho 5.0.3+.
  • Develocity Maven extension β€” fails to initialize due to SLF4J classloading changes (ClassNotFoundException: SimpleLogger).
  • pgpverify-maven-plugin β€” versions before 1.20 hit a ClassCastException with Maven 4's resolver. See resolver#1957.
  • cyclonedx-maven-plugin β€” fails with Invalid Version Range Request when using ${revision} CI-friendly versions.
  • maven-site-plugin β€” Velocity template rendering may fail with incompatible site plugin versions.
  • maven-shade-plugin β€” dependency-reduced-pom.xml can cause The parents form a cycle error.
  • commons-release-plugin β€” clean-staging fails under Maven 4.

Classloading changes

  • Plugins relying on Maven 3's classrealm layout may encounter "foreign imports" errors (e.g., Quarkus, JAXB plugins).
  • Maven 4's prefix-based repository routing may block artifacts not matching /.meta/prefixes.txt.

Post-mvnup formatting

  • spotless-maven-plugin and sortpom-maven-plugin may report formatting violations after mvnup modifies POM files. Re-run the formatter after mvnup.

Other

  • Broken upstream POMs β€” e.g., hadoop-project 3.1.0–3.3.0 has invalid XML (<Xlint:-unchecked/>) causing parse errors. These need upstream fixes tracked in HADOOP-19923.
  • Enforcer POM element ordering β€” Maven 4's model builder reorders POM elements into a canonical order, which can break enforcer rules checking element ordering.
  • SNAPSHOT handling β€” SNAPSHOT artifacts may show as "present, but unavailable" under Maven 4's different resolver metadata handling.

πŸš€ New features and improvements

πŸ› Bug Fixes

Read more

3.10.0-rc-1

3.10.0-rc-1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 13 Jul 08:21

πŸ’₯ Breaking changes

πŸš€ New features and improvements

πŸ› Bug Fixes

πŸ“ Documentation updates

πŸ‘» Maintenance

πŸ“¦ Dependency updates

Read more

3.9.16

Choose a tag to compare

@github-actions github-actions released this 17 May 16:55
maven-3.9.16
2bdd9fd

πŸ› Bug Fixes

πŸ“¦ Dependency updates

3.9.15

Choose a tag to compare

@github-actions github-actions released this 17 Apr 09:19
maven-3.9.15
98b2cdb

πŸ“ Documentation updates

πŸ“¦ Dependency updates

3.9.14

Choose a tag to compare

@github-actions github-actions released this 12 Mar 11:53

πŸ› Bug Fixes

πŸ“¦ Dependency updates

3.9.13

Choose a tag to compare

@github-actions github-actions released this 06 Mar 12:39

πŸ› Bug Fixes

  • Bug: SecDispatcher is managed by legacy Plexus DI (#11711) @cstamas
  • [3.9.x] MavenPluginJavaPrerequisiteChecker: Handle 8/1.8 Java version in ranges as well (#11577) @cstamas

πŸ‘» Maintenance

πŸ“¦ Dependency updates