Re: Proposal: new default directory layout for modular project

2025-05-15 Thread Sergey Chernov
Is "src/${scope}-${module}/${lang}" a considerable option? This may preserve classic file layout back compatibility when the module part is undefined. Also it will be alphabetically sortable in the filesystem (inside of src/ dir). On Thu, May 15, 2025 at 7:40 PM Romain Manni-Bucau wrote: > I sti

Re: [HEADS UP] Maven 3.9.10 release

2025-05-26 Thread Sergey Chernov
I discovered a problem. If the maven command has a module filter (-pl), the build hangs in the very beginning. This is a reproducible problem on a private project (about 700 modules) and obviously related to switch from 3.9.9 to 3.9.10-SNAPSHOT. The gist with stack traces: https://gist.github.com/

Re: [HEADS UP] Maven 3.9.10 release

2025-05-26 Thread Sergey Chernov
3 > > > > On Mon, May 26, 2025 at 6:57 PM Tamás Cservenák > wrote: > > > > > > Seems related to this: > > > https://issues.apache.org/jira/browse/MNG-8256 > > > > > > Interestingly, this is not noticeable on master, we may have mi

Re: [HEADS UP] Maven 3.9.10 release

2025-05-26 Thread Sergey Chernov
Seems to be ok now 👍 On Mon, May 26, 2025 at 7:37 PM Tamás Cservenák wrote: > Sergey, I added another commit, you missed. > > T > > On Mon, May 26, 2025 at 7:33 PM Sergey Chernov > wrote: > > > > I built a commit from your fork and tried the build with filterin

Re: Maven 4.0.0 Release - Thoughts?

2025-05-26 Thread Sergey Chernov
Just tried the 4.0.0-rc-3 comparing with 3.9.9, it's 4x times slower (!) on a project of ~900 modules (700 of them are jar). Maven 3 builds it in 2m57s, while Maven 4 in 11m48s (reproducible, with all m2 caches). No build cache solutions enabled to compare pure build time. Project is nothing specia

Re: [HEADS UP] Maven 3.9.10 release

2025-05-26 Thread Sergey Chernov
nowski wrote: > Hi > > Snapshot build is avaliable at: > > > https://repository.apache.org/content/groups/snapshots/org/apache/maven/apache-maven/3.9.10-SNAPSHOT/ > > look up for the latest build > > > śr., 21 maj 2025, 17:39 użytkownik Sergey Chernov > napisał:

Re: https://github.com/seregamorph/maven-turbo-reactor

2025-05-27 Thread Sergey Chernov
Thanks for asking, I planned to raise this topic soon in the mailing list Here you can find a presentation board https://miro.com/app/board/uXjVLYUPRas=/ which also has a 5 minute video with explanation (click Play on the first slide, no auth is required). Long story short: standard Maven builder

Re: Maven 4.0.0 Release - Thoughts?

2025-05-27 Thread Sergey Chernov
That's interesting. I can try to inspect this with a profiler to find "hot" stack traces. On Tue, May 27, 2025 at 9:52 PM Martin Desruisseaux < martin.desruisse...@geomatys.com> wrote: > Hello > > Le 2025-05-26 à 22 h 55, Sergey Chernov a écrit : > > > J

Re: https://github.com/seregamorph/maven-turbo-reactor

2025-05-27 Thread Sergey Chernov
ing it against Maven 4’s > concurrent builder to compare performance and compatibility? I’ll take > a look at your code in the maven-turbo-builder subdirectory and try it > out on a sample project. > > Thanks for sharing, and I’m excited to continue this discussion! > > Cheers,

Re: [HEADS UP] Maven 3.9.10 release

2025-05-21 Thread Sergey Chernov
It would be great to have 3.9.10-rc-1 available at https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/ similar to what is available for 4.0.0 versions. WDYT? It’s much easier to use such dist instead of building own. > On 20 May 2025, at 22:00, Tamás Cservenák wrote: > > I crea

Re: [HEADS UP] Maven 3.9.10 release

2025-05-29 Thread Sergey Chernov
No problems with latest 3.9.10-SNAPSHOT (1da6ce512) on the company projects. On Tue, May 27, 2025 at 5:43 PM Filipe Roque wrote: > On Mon, 2025-05-26 at 21:22 +0200, Slawomir Jaranowski wrote: > > dev distribution updated: > > > > https://dist.apache.org/repos/dist/dev/maven/maven-3/3.9.10-SNAPS

Re: https://github.com/seregamorph/maven-turbo-reactor

2025-05-29 Thread Sergey Chernov
phases runs when, or is that up to this plugin to figure out? Thank you very much for this question! It's addressed now (and also mentioned in the readme), please try extension version 0.3 with the fix. On Tue, May 27, 2025 at 10:17 PM Sergey Chernov wrote: > Hey, Guillaume. >

Re: [VOTE] Release Apache Maven version 3.9.10

2025-06-01 Thread Sergey Chernov
+1 tested on company projects > On 1 Jun 2025, at 21:21, Slawomir Jaranowski wrote: > > Hi, > > We solved 36 issues: > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316922&version=12355010 > > There are still a couple of issues left in JIRA: > https://issues.apache.org/jir

Re: https://github.com/seregamorph/maven-turbo-reactor

2025-06-16 Thread Sergey Chernov
/maven.config, mvnd still uses the default "smart" builder. Is it by design or is it a bug? On Fri, May 30, 2025 at 2:32 PM Delany wrote: > I can confirm the buildplan plugin indicates the correct order with v0.3. > Thanks again! > Delany > > > On Thu, 29 May

Re: [VOTE] Release Apache Maven 4.0.0-rc-4

2025-06-20 Thread Sergey Chernov
+1 So far there are performance issues at scale of huge multi-module build, see https://github.com/apache/maven/issues/2481 But the build itself looks correct and reproducible (in comparison with Maven 3.x) On Fri, Jun 20, 2025 at 11:23 AM Cheng Pan wrote: > Hi Maven community, > > I’m trying

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

Re: [VOTE] Release Apache Maven version 3.8.9

2025-06-15 Thread Sergey Chernov
+1 (nb) Checked for huge private codebase On Sun, Jun 15, 2025 at 4:12 PM Tamás Cservenák wrote: > +1 > > On Sun, Jun 15, 2025, 00:10 Michael Osipov wrote: > > > Hi, > > > > NOTE: Expect this to be the *last* release on the 3.8.x line to close > > off the branch. > > > > We solved 6 issues: > >

Re: Maven 4.0.0 Release - Thoughts?

2025-05-28 Thread Sergey Chernov
gt; As the documentation says, the phases have been switched around. > But can you make it work with the buildplan-maven-plugin:list-phases goal > so I can actually see which phases runs when, or is that up to this plugin > to figure out? > > Kind regards, > Delany > > > On

Re: Maven 4.0.0 Release - Thoughts?

2025-05-28 Thread Sergey Chernov
Guillaume, that's awesome. It's good that there is no rush with it. Once I'll have insights, I'll share them. Xeno, the project I'm checking is private unfortunately. Also this can be quite challenging to find a good Maven multi-module project as a reference for performance testing and compatibili

Re: Maven 4.0.0 Release - Thoughts?

2025-06-10 Thread Sergey Chernov
ext (attach-version) @ > >>>> jetty-ee10-bom --- > >>>> [INFO] > >>>> [INFO] --- resources:3.3.1:copy-resources (copy-resources) @ > >>>> jetty-ee10-bom --- > >>>> [INFO] skip non existing resourceDirectory > >>>> > /home/x

Re: [HEADS UP] Maven 3.9.11 release

2025-07-09 Thread Sergey Chernov
3 and Maven 4 > "drifted" apart so much that the "simple backport" is not enough, and > Maven 3 needs more, much more. > > > Thanks > T > > On Wed, Jul 9, 2025 at 12:07 PM Sergey Chernov > wrote: > > > > I forgot to mention, that if thi

Re: [HEADS UP] Maven 3.9.11 release

2025-07-09 Thread Sergey Chernov
I forgot to mention, that if this commit is reverted https://github.com/apache/maven/commit/45201347c4 the problem is gone. So it’s obviously related. > On 9 Jul 2025, at 12:05, Sergey Chernov wrote: > > https://github.com/apache/maven/commit/45201347c4

Re: [HEADS UP] Maven 3.9.11 release

2025-07-09 Thread Sergey Chernov
-1 (nb) I’ve discovered an issue with module subset running (when we specify “-pl” with multiple modules) and running CLI style “surefire:test” instead of phase style). So my command looks like “mvn surefire:test -pl :module1,:module2,:module3,:module4" The problem appears since this commit h

Re: [HEADS UP] Maven 3.9.11 release

2025-07-09 Thread Sergey Chernov
am a bit confused: what did you test then? > Or you say that binaries staged by Slawek are affected? > > Thanks > T > > On Wed, Jul 9, 2025 at 2:19 PM Sergey Chernov > wrote: > > > > Just checked the latest master of Maven4 (66e96ffcbeec9), the problem is &

Re: [HEADS UP] Maven 3.9.11 release

2025-07-09 Thread Sergey Chernov
+1 :) On Wed, Jul 9, 2025 at 2:53 PM Tamás Cservenák wrote: > I think not, Sergey? > > T > > On Wed, Jul 9, 2025 at 2:41 PM Gary Gregory > wrote: > > > > I'm confused, does the -1 still stand? > > > > Gary > > > > On Wed, Jul 9, 202

Re: [VOTE] Release Apache Maven version 3.9.11

2025-07-12 Thread Sergey Chernov
+1 (nb) On Sat, Jul 12, 2025 at 10:07 PM Matthias Bünger wrote: > +1 (nb) > > Am 12.07.2025 um 20:58 schrieb Slawomir Jaranowski: > > Hi, > > > > We solved 14 issues: > > https://github.com/apache/maven/issues?q=milestone%3A3.9.11 > > > > Changes since the last release: > > https://github.com/ap

Re: [REVIEW REQUEST] Maven Wrapper JDK Auto-Download Enhancement

2025-07-24 Thread Sergey Chernov
Nice feature! I see it's possible to specify vendor, version or direct distribution URL. Is it possible to use an internal corporate registry (like Nexus or Artifactory) with JDK distributions supporting multiple platforms and CPU arch? How to configure this? On Wed, Jul 23, 2025 at 8:46 PM Guill