we are facing the same issue at work (300+ modules), classpath
empty randomly empty

Love to see some resolution, will help to test it

Thanks

-D

On Fri, Jan 15, 2021 at 1:51 PM Falko Modler <f.mod...@gmx.net> wrote:

> Hi everyone,
>
> I'd like to raise awareness for the MavenProject concurrency problem
> that is causing MNG-6843 "Parallel build fails due to missing JAR
> artifacts in compilePath" [1] and probably others [2] [3] [4].
>
> Almost a month ago, I created a ThreadLocal-based fix for this [5]
> (after another, older cloning-based approach had raised some concerns by
> Robert Scholte [6]).
>
> Michael Osipov was the only one so far having a look (thanks!) and he
> suggested that more Maven team members should review this.
>
> So, before I take a stab at the not so trivial integration test that
> Michael proposed [7], I'd like to get an approval for the general
> aproach (or a declination in case someone has a better idea).
>
> Thanks for your attention and feedback!
>
> Cheers,
>
> Falko
>
>
> [1] https://issues.apache.org/jira/browse/MNG-6843
>
> [2] https://issues.apache.org/jira/browse/MNG-4996
>
> [3] https://issues.apache.org/jira/browse/MNG-5750
>
> [4] https://issues.apache.org/jira/browse/MNG-5960
>
> [5] https://github.com/apache/maven/pull/413
>
> [6] https://github.com/apache/maven/pull/310#issuecomment-571317501
>
> [7] https://github.com/apache/maven/pull/413#issuecomment-754661032
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

Reply via email to