Seems related to this:
https://issues.apache.org/jira/browse/MNG-8256

Interestingly, this is not noticeable on master, we may have missed
some backport maybe?

Thanks
T

On Mon, May 26, 2025 at 5:45 PM Sergey Chernov <serega.mo...@gmail.com> wrote:
>
> 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/seregamorph/31165de31a498c5b009353ea6a70d0d1
>
> I tried to reproduce it on a smaller project (and even quarkus build), but
> could not do it fast. Let me know if you need a reproducing project (this
> will take some time).
>
> On the first sight it looks like it falls into a trap of infinite cycle
> around recursive applyFilter calls. This does not happen if there is no
> module filter in the maven command.
>
> On Mon, May 26, 2025 at 4:05 PM Slawomir Jaranowski <s.jaranow...@gmail.com>
> wrote:
>
> > Hi,
> >
> > For easy testing I have published latest version at:
> >
> > https://dist.apache.org/repos/dist/dev/maven/maven-3/3.9.10-SNAPSHOT/
> >
> > The same distribution will be done during releases.
> >
> >
> > On Mon, 26 May 2025 at 15:45, Tamás Cservenák <ta...@cservenak.net> wrote:
> >
> > > This is "CI build", which does NOT contain the version.
> > > Reason for it is this:
> > > https://github.com/apache/maven/blob/maven-3.9.x/Jenkinsfile#L56
> > > The `-PversionlessMavenDist`. By the way, master does not use this
> > > anymore as it just creates a mixup like this one...
> > >
> > > Thanks
> > > T
> > >
> > > On Mon, May 26, 2025 at 3:27 PM James Gao <gaoz...@gmail.com> wrote:
> > > >
> > > > I think we should not change the archive folder structure in a patch
> > > > release, and rollback to the previous name before GA.
> > > >
> > > > On Mon, May 26, 2025 at 9:09 PM James Gao <gaoz...@gmail.com> wrote:
> > > >
> > > > > @Sergey , the top folder name inside the zip file is different:
> > > > > 3.9.9: folder name is "apache-maven-3.9.9/"
> > > > > 3.9.10: folder name is "apache-maven/"
> > > > > so the script breaks since the folder pattern is changed.
> > > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> > > For additional commands, e-mail: dev-h...@maven.apache.org
> > >
> > >
> >
> > --
> > Sławomir Jaranowski
> >

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

Reply via email to