Seems to be ok now 👍

On Mon, May 26, 2025 at 7:37 PM Tamás Cservenák <ta...@cservenak.net> wrote:

> Sergey, I added another commit, you missed.
>
> T
>
> On Mon, May 26, 2025 at 7:33 PM Sergey Chernov <serega.mo...@gmail.com>
> wrote:
> >
> > I built a commit from your fork and tried the build with filtering. It's
> > still hanging (the problem is not addressed).
> > ```
> >
> > commit 5b37f4eacfa25e81545650f292c8ea0d00035512 (HEAD,
> > cstamas/maven-3.9.x-MNG-8396)
> >
> > Author: Tamas Cservenak <ta...@cservenak.net>
> >
> > Date:   Mon May 26 19:07:59 2025 +0200
> >
> >
> >     [MNG-8396] Backport: add cache layer to the filtered dep graph
> >
> >
> >
> >     Backport of 62f85a4233366064750079d50fd86ef25a97c6f3
> > ```
> >
> > mvn -DdistributionTargetDir="$HOME/Java/apache-maven-3.9.x-SNAPSHOT"
> clean
> > package -DskipTests=true
> >
> > ...
> >
> > # in the project
> >
> > /Users/username/Java/apache-maven-3.9.x-SNAPSHOT/bin/mvn clean install
> > -DskipTests=true -pl :API
> >
> >
> > [INFO] Error stacktraces are turned on.
> >
> > [INFO] Scanning for projects...
> >
> > (hangs)
> >
> >
> >
> >
> > On Mon, May 26, 2025 at 7:12 PM Tamás Cservenák <ta...@cservenak.net>
> wrote:
> >
> > > Created https://github.com/apache/maven/pull/2393
> > >
> > > @Slawomir Jaranowski @Guillaume Nodet pls eyeball
> > >
> > > On Mon, May 26, 2025 at 6:59 PM Tamás Cservenák <ta...@cservenak.net>
> > > wrote:
> > > >
> > > > Yup,
> > > > this went into master only:
> > > > https://issues.apache.org/jira/browse/MNG-8396
> > > >
> > >
> https://github.com/cstamas/maven/commit/62f85a4233366064750079d50fd86ef25a97c6f3
> > > >
> > > > On Mon, May 26, 2025 at 6:57 PM Tamás Cservenák <ta...@cservenak.net
> >
> > > wrote:
> > > > >
> > > > > 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
> > >
> > >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

Reply via email to