F43 Change Proposal: Maven 4 (system-wide)

Maven 4

This is a proposed Change for Fedora Linux.
This document represents a proposed Change. As part of the Changes process, proposals are publicly announced in order to receive community feedback. This proposal will only be implemented if approved by the Fedora Engineering Steering Committee.

wiki
Announced

:link: Summary

Add Apache Maven 4 to Fedora Linux 43 as parallel-installable alternative to Maven 3.

:link: Owner

:link: Detailed Description

Maven 4 is a new major version of Maven after 15 years of Maven 3. It brings many improvements, but also breaking changes.

Maven 4.0.0-rc-2 has been released in December 2024. Final 4.0.0 version is expected to be released in year 2025. In case the final version 4.0.0 is not released in time before Fedora Linux 43 change completion deadline, a release candidate version will be included in Fedora Linux 43 and may be updated to a newer version later in Fedora Linux 43 lifecycle.

The goal of this change is to package Maven 4 and make it available as alternative to Maven 3 in Fedora Linux 43.

It is not a goal to replace Maven 3, Maven 3 will continue to be available to users.

It is not a goal of this change to build Fedora packages with Maven 4 - XMvn, %mvn_build etc. will continue to use Maven 3. Switching Java packaging tools to use Maven 4 is planned in the future and a separate system-wide change proposal is expected be submitted for that effort, targeting a future Fedora Linux version newer than 43.

:link: Feedback

:link: Benefit to Fedora

Java software developers will be able to use the latest version of the most popular Java development tool.

Fedora packagers will be able to start packaging Maven 4 plugins and extensions in preparation for switching Fedora packages to be built with Maven 4 by default in the future.

:link: Scope

  • Proposal owners:

    • package maven4 and all of its dependencies and make them available in Fedora Linux 43
    • ensure that all maven tests are passing, including upstream integration tests (core ITs)
    • ensure that maven4 package works in parallel with maven
  • Other developers: N/A (not needed for this Change)

  • Release engineering: N/A (not needed for this Change)

  • Policies and guidelines: N/A (not needed for this Change)

  • Trademark approval: N/A (not needed for this Change)

  • Alignment with the Fedora Strategy: N/A (not needed for this Change)

:link: Upgrade/compatibility impact

Maven 4 will be added as a new package, parallel-installable with Maven 3. Existing users and systems with Maven 3 installed wonโ€™t be affected by this change.

:link: Early Testing (Optional)

:link: How To Test

:link: User Experience

:link: Dependencies

:link: Contingency Plan

  • Contingency mechanism: (What to do? Who will do it?) N/A (not a System Wide Change)
  • Contingency deadline: N/A (not a System Wide Change)
  • Blocks release? N/A (not a System Wide Change), Yes/No

:link: Documentation

N/A (not a System Wide Change)

:link: Release Notes

Last edited by @amoloney 2025-02-24T17:47:51Z

Last edited by @amoloney 2025-02-24T17:47:51Z

How do you feel about the proposal as written?

  • Strongly in favor
  • In favor, with reservations
  • Neutral
  • Opposed, but could be convinced
  • Strongly opposed
0 voters

If you are in favor but have reservations, or are opposed but something could change your mind, please explain in a reply.

We want everyone to be heard, but many posts repeating the same thing actually makes that harder. If you have something new to say, please say it. If, instead, you find someone has already covered what youโ€™d like to express, please simply give that post a :heart: instead of reiterating. You can even do this by email, by replying with the heart emoji or just โ€œ+1โ€. This will make long topics easier to follow.

Please note that this is an advisory โ€œstraw pollโ€ meant to gauge sentiment. It isnโ€™t a vote or a scientific survey. See About the Change Proposals category for more about the Change Process and moderation policy.

This change proposal has now been submitted to FESCo with ticket #3374 for voting.

To find out more, please visit our Changes Policy documentation.