You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Guillaume Nodet <gn...@apache.org> on 2025/06/26 09:05:12 UTC

[ANN] Maven 4.0.0-rc-4 released !

Dear Maven Community,

The Apache Maven team is excited to announce the release of Maven
4.0.0-rc-4, now available for download.

Please find the HTML version of this email at
   https://maven.apache.org/docs/4.0.0-rc-4/release-notes.html

Maven 4.x is a major release that includes significant improvements
and changes. Please refer to the Maven 4.x documentation for detailed
information about new features and migration guidance.  This release
candidate is our last planned RC before going GA.

Important Notes

This is a release candidate version intended for testing and feedback
before the official release.
Please report any issues to GitHub: https://github.com/apache/maven/issues
For production use, consider the stability and compatibility
requirements of your project.

Upgrading from Maven 3

Maven 4 introduces significant changes to enhance functionality and
performance. While we’ve prioritized compatibility with Maven 3.x,
some POM files may require updates to build successfully with Maven 4.

To identify and resolve common issues, use the Maven upgrade tool:
  * Run mvnup check to detect potential problems in your project.
  * Run mvnup apply to automatically apply recommended fixes.

If your build relies on Maven extensions not supported by the upgrade
tool, contact the extension developers to confirm their plans for
Maven 4 compatibility.

If your build still fails, run it with the -e option to generate a
detailed stack trace. Then, file an issue including:
  * The full stack trace.
  * A link to the exact branch of your open-source project, or a
minimal reproducer for proprietary projects.

Upgrading from Maven 4.0.0-rc-3

No known incompatibilities since last RC.

Changelog

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

[MNG-8765] - Maven Upgrade Tool (#2407) @gnodet
Maven4 “legacy” mode and more (#2380) @cstamas
[MNG-8759] - Restore toString method in DefaultJavaToolchain (#2411)
@slawekjaranowski
[MNG-8572] - Support DI beans in build extensions (#2274) @gnodet
[MNG-8717] - Remove maven-plugin-plugin:addPluginArtifactMetadata from
default binding (#2294) @slawekjaranowski

Bug Fixes

Deduplicate filtered dependency graph (#2493) @alzimmermsft
User properties are not interpolated for paths (#2480) @cstamas
Move project mutation inside project lock (#2474) @cstamas
[MNG-8736 - Fix concurrency issue in model building with profile
activation (#2378) @gnodet
[MNG-8767] - Add suppressed exceptions to BatchRequestException in
AbstractRequestCache (#2431) @gnodet
[MNG-8746] - Preserve property insertion order in WrapperProperties
(#2404) @gnodet
[MNG-8764] - Sort injected lists by @Priority annotation (#2425) @gnodet
[MNG-8761] - Add Maven 3 MavenToolchainsXpp3Reader/Writer (#2412)
@slawekjaranowski
[MNG-8729] - Use correct outputStream destination; request instead of
path in DefaultPluginXmlFactory#write (#2312) @Pankraz76
[MNG-8720] - Fix for symlinked project directory (#2289) @cstamas
[MNG-8653] - Fix ‘all’ phase and add ‘each’ phase (#2191) @gnodet
[MNG-5668] - Execute after:* phases when build fails (#2195) @gnodet
[MNG-8629] - bugfix: If POM has parent and repository stanza, it is
used un-interpolated (#2192) @cstamas
[MNG-8645] - Fix dependency management section of consumer POM (#2183) @gnodet
[MNG-8624] - Fix dependency not being set correctly for unsupported
types (#2153) @gnodet
Fix ITs referencing rc-3-SNAPSHOT (#2164) @gnodet
[MNG-8620] - Fix links in SVG (#2152) @kwin

On behalf of the Apache Maven Team,
Guillaume Nodet

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [ANN] Maven 4.0.0-rc-4 released !

Posted by Arnaud Héritier <ah...@gmail.com>.
ok thus nothing new.
I usually don't manually download it (I use the wrapper or a tool like
mise/asdf/sdkman)

Arnaud Héritier
GitHub/ASF/... : aheritier


On Thu, Jun 26, 2025 at 9:02 PM Tamás Cservenák <ta...@cservenak.net> wrote:

> You need to "un quarantine" it, as every downloaded file is marked
> with an attribute....
>
> T
>
> On Thu, Jun 26, 2025 at 8:12 PM Arnaud Héritier <ah...@gmail.com>
> wrote:
> >
> > It's strange I have the same issue if I download the tar.gz, even if I
> > extract it outside of Downloads folder
> > But the version I get from maven-wrapper is ok
> >
> >
> > Arnaud Héritier
> > GitHub/ASF/... : aheritier
> >
> >
> > On Thu, Jun 26, 2025 at 12:37 PM Mark Derricutt <ma...@talios.com> wrote:
> >
> > >  On 26 Jun 2025 at 9:05:12 PM, Guillaume Nodet <gn...@apache.org>
> wrote:
> > >
> > > > The Apache Maven team is excited to announce the release of Maven
> > > > 4.0.0-rc-4, now available for download.
> > > >
> > >
> > > Interesting - after unzipping and running mvn on my machine (macOS), I
> got
> > > prompted with
> > >
> > > "libjlinenative.jnilib” Not Opened
> > > Apple could not verify “libjlinenative.jnilib” is free of malware that
> may
> > > harm your Mac or compromise your privacy.
> > >
> > > Do we have unsigned libs shipped?  Or is this something we’re just
> going to
> > > have to live with in macOs land?  If so, should it be mentioned in the
> > > release notes?
> > >
> > > Mark
> > >
> > > —
> > > "Great artists are extremely selfish and arrogant things" — Steven
> Wilson,
> > > Porcupine Tree
> > >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: [ANN] Maven 4.0.0-rc-4 released !

Posted by Tamás Cservenák <ta...@cservenak.net>.
You need to "un quarantine" it, as every downloaded file is marked
with an attribute....

T

On Thu, Jun 26, 2025 at 8:12 PM Arnaud Héritier <ah...@gmail.com> wrote:
>
> It's strange I have the same issue if I download the tar.gz, even if I
> extract it outside of Downloads folder
> But the version I get from maven-wrapper is ok
>
>
> Arnaud Héritier
> GitHub/ASF/... : aheritier
>
>
> On Thu, Jun 26, 2025 at 12:37 PM Mark Derricutt <ma...@talios.com> wrote:
>
> >  On 26 Jun 2025 at 9:05:12 PM, Guillaume Nodet <gn...@apache.org> wrote:
> >
> > > The Apache Maven team is excited to announce the release of Maven
> > > 4.0.0-rc-4, now available for download.
> > >
> >
> > Interesting - after unzipping and running mvn on my machine (macOS), I got
> > prompted with
> >
> > "libjlinenative.jnilib” Not Opened
> > Apple could not verify “libjlinenative.jnilib” is free of malware that may
> > harm your Mac or compromise your privacy.
> >
> > Do we have unsigned libs shipped?  Or is this something we’re just going to
> > have to live with in macOs land?  If so, should it be mentioned in the
> > release notes?
> >
> > Mark
> >
> > —
> > "Great artists are extremely selfish and arrogant things" — Steven Wilson,
> > Porcupine Tree
> >

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [ANN] Maven 4.0.0-rc-4 released !

Posted by Arnaud Héritier <ah...@gmail.com>.
It's strange I have the same issue if I download the tar.gz, even if I
extract it outside of Downloads folder
But the version I get from maven-wrapper is ok


Arnaud Héritier
GitHub/ASF/... : aheritier


On Thu, Jun 26, 2025 at 12:37 PM Mark Derricutt <ma...@talios.com> wrote:

>  On 26 Jun 2025 at 9:05:12 PM, Guillaume Nodet <gn...@apache.org> wrote:
>
> > The Apache Maven team is excited to announce the release of Maven
> > 4.0.0-rc-4, now available for download.
> >
>
> Interesting - after unzipping and running mvn on my machine (macOS), I got
> prompted with
>
> "libjlinenative.jnilib” Not Opened
> Apple could not verify “libjlinenative.jnilib” is free of malware that may
> harm your Mac or compromise your privacy.
>
> Do we have unsigned libs shipped?  Or is this something we’re just going to
> have to live with in macOs land?  If so, should it be mentioned in the
> release notes?
>
> Mark
>
> —
> "Great artists are extremely selfish and arrogant things" — Steven Wilson,
> Porcupine Tree
>

Re: [ANN] Maven 4.0.0-rc-4 released !

Posted by Mark Derricutt <ma...@talios.com>.
 On 26 Jun 2025 at 9:05:12 PM, Guillaume Nodet <gn...@apache.org> wrote:

> The Apache Maven team is excited to announce the release of Maven
> 4.0.0-rc-4, now available for download.
>

Interesting - after unzipping and running mvn on my machine (macOS), I got
prompted with

"libjlinenative.jnilib” Not Opened
Apple could not verify “libjlinenative.jnilib” is free of malware that may
harm your Mac or compromise your privacy.

Do we have unsigned libs shipped?  Or is this something we’re just going to
have to live with in macOs land?  If so, should it be mentioned in the
release notes?

Mark

—
"Great artists are extremely selfish and arrogant things" — Steven Wilson,
Porcupine Tree