[ANN] Apache Software Foundation Parent POM Version 35 Released

2025-06-13 Thread Slawomir Jaranowski
The Apache Maven team is pleased to announce the release of the Apache
Software Foundation Parent POM Version, version 35

https://maven.apache.org/pom/asf/

You should specify the version in your project as parent like the following:


  org.apache
  apache
  35


You can download the appropriate sources etc. from the download page:

http://maven.apache.org/pom/asf/download.html

Release Notes

https://github.com/apache/maven-apache-parent/releases/tag/apache-35

Enjoy,

-The Apache Maven team

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



[RESULT] [VOTE] Release Apache Software Foundation Parent POM version 35

2025-06-13 Thread Slawomir Jaranowski
Hi,

The vote has passed with the following result:

+1: Sylwester Lachiewicz, Slawomir Jaranowski, Guillaume Nodet, Matthias Bünger

PMC quorum: reached

I will promote the source release zip file to the Apache distribution
area and the artifacts to the central repo.


-- 
Sławomir Jaranowski

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Investigate mvn4 large graph performance regression; was: Re: Maven 4.0.0 Release - Thoughts?

2025-06-13 Thread Michael Bien
excellent!

looks like the hash code paths were only part of the puzzle.

I added some screenshots to this issue 
https://github.com/apache/maven/issues/2481, since it is easier to share graphs 
there compared to mail attachments.

unfortunately the weather is nice so I am not sure how much time I can spend on 
this the next days, but this doesn't look to me like a showstopper for mvn4 in 
my opinion (as user) since it can be likely improved via regular updates.

best regards,
michael


On 6/13/25 11:18, Sergey Chernov wrote:
> I made a simple multi-module project generator which has some size
> parameters.
> Please see project description here
> https://github.com/maven-turbo-reactor/maven-multiproject-generator
>
> The good news is that it highlights the performance problem in comparison
> between Maven3 and Maven4.
> The generated project (which has 4k modules with default config, but zero
> java source classes) takes 30sec on Maven3 and 1m40s on Maven4.
>
> I'd like to point that it also declares usage of maven-enforcer-plugin with
> this config:
> ```
> 
> org.apache.maven.plugins
> maven-enforcer-plugin
> 3.3.0
> 
> 
> enforce
> 
> 
> 
> false
> 
> 
> 
> 
> enforce
> 
> 
> 
> 
> ```
> This plugin was my main suspect for the slowness, but it seems that any
> plugin that iterates the dependencies (including any compilation plugin)
> are affecting performance on Maven4. If enforcer plugin is removed, the
> build is still slow on Maven4 (2.5x slower than Maven3).
>
> On Thu, Jun 12, 2025 at 1:33 PM Martijn Dashorst 
> wrote:
>
>> On Thu, Jun 12, 2025 at 1:48 AM Michael Bien  wrote:
>>
>>> If there is a public project which hits this bottleneck I could take a
>>> look and play
>>> with some ideas to try to make this scale better. (I don't really want to
>>> spam this thread
>>> too much)
>>>
>> You could take a look at https://github.com/wicketstuff/core
>>
>> Lots and lots of projects..
>>
>> Martijn
>>


-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: Maven 4.0.0 Release - Thoughts?

2025-06-13 Thread Sergey Chernov
I made a simple multi-module project generator which has some size
parameters.
Please see project description here
https://github.com/maven-turbo-reactor/maven-multiproject-generator

The good news is that it highlights the performance problem in comparison
between Maven3 and Maven4.
The generated project (which has 4k modules with default config, but zero
java source classes) takes 30sec on Maven3 and 1m40s on Maven4.

I'd like to point that it also declares usage of maven-enforcer-plugin with
this config:
```

org.apache.maven.plugins
maven-enforcer-plugin
3.3.0


enforce



false




enforce




```
This plugin was my main suspect for the slowness, but it seems that any
plugin that iterates the dependencies (including any compilation plugin)
are affecting performance on Maven4. If enforcer plugin is removed, the
build is still slow on Maven4 (2.5x slower than Maven3).

On Thu, Jun 12, 2025 at 1:33 PM Martijn Dashorst 
wrote:

> On Thu, Jun 12, 2025 at 1:48 AM Michael Bien  wrote:
>
> > If there is a public project which hits this bottleneck I could take a
> > look and play
> > with some ideas to try to make this scale better. (I don't really want to
> > spam this thread
> > too much)
> >
>
> You could take a look at https://github.com/wicketstuff/core
>
> Lots and lots of projects..
>
> Martijn
>


Re: Maven 4.0.0 Release - Thoughts?

2025-06-13 Thread Tamás Cservenák
Coolio, kudos Sergey!

My numbers are (OS name: "linux", version: "6.14.9-300.fc42.x86_64",
arch: "amd64", family: "unix", Java version: 21.0.7, vendor: Eclipse
Adoptium):
mvn 3.9.10: 0:39
mvn4 master + R2.0.9: 1:36
mvn4 master + R2.0.10-SNAPSHOT: 1:42

The "R" is Resolver, and 2.0.10 contains this:
https://github.com/apache/maven-resolver/commit/93bd1cb084e756beb3e544d368afaf006082f557
https://github.com/apache/maven-resolver/commit/daff12619a5be961a5dad8c191a47edc4ec353c4

But it is not the culprit it seems.
Still, we now have a reproducer to work with, and MANY thanks for that!

Thanks
T

On Fri, Jun 13, 2025 at 11:19 AM Sergey Chernov  wrote:
>
> I made a simple multi-module project generator which has some size
> parameters.
> Please see project description here
> https://github.com/maven-turbo-reactor/maven-multiproject-generator
>
> The good news is that it highlights the performance problem in comparison
> between Maven3 and Maven4.
> The generated project (which has 4k modules with default config, but zero
> java source classes) takes 30sec on Maven3 and 1m40s on Maven4.
>
> I'd like to point that it also declares usage of maven-enforcer-plugin with
> this config:
> ```
> 
> org.apache.maven.plugins
> maven-enforcer-plugin
> 3.3.0
> 
> 
> enforce
> 
> 
> 
> false
> 
> 
> 
> 
> enforce
> 
> 
> 
> 
> ```
> This plugin was my main suspect for the slowness, but it seems that any
> plugin that iterates the dependencies (including any compilation plugin)
> are affecting performance on Maven4. If enforcer plugin is removed, the
> build is still slow on Maven4 (2.5x slower than Maven3).
>
> On Thu, Jun 12, 2025 at 1:33 PM Martijn Dashorst 
> wrote:
>
> > On Thu, Jun 12, 2025 at 1:48 AM Michael Bien  wrote:
> >
> > > If there is a public project which hits this bottleneck I could take a
> > > look and play
> > > with some ideas to try to make this scale better. (I don't really want to
> > > spam this thread
> > > too much)
> > >
> >
> > You could take a look at https://github.com/wicketstuff/core
> >
> > Lots and lots of projects..
> >
> > Martijn
> >

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: Investigate mvn4 large graph performance regression; was: Re: Maven 4.0.0 Release - Thoughts?

2025-06-13 Thread Xeno Amess
Weather here is bad in my city...just suffering from typhoon days.
I would give several pr about my investigations on Sergey Chernov's demo
repo this weekend.
Most of them be minor/medium level performance refinements.