Can confirm that   https://github.com/apache/maven/pull/628 is where my
issue starts to show up. I manage to test my build before and after that PR

The question - is it a bug/regression?

Thanks

-D

On Tue, Mar 15, 2022 at 5:12 PM Dan Tran <dant...@gmail.com> wrote:

> Hi
>
> I have a large multi modules java maven build where:
>
>   * basic build + unit tests  - 40 min
>   * sonar:sonar 20 min
>   * final packaging and basic smoke-test - 20 min
>
> To take advantage of Maven multi-threaded build , we spin another maven
> instance to run sonar:sonar right after the basic build is done.
>
> This means  sonar:sonar and final packaging + basic test running in
> parallel sharing same source tree, same local maven repo ( where
> sonar:sonar should have all needed dependencies to run its task)
>
> With maven-3.8.5,  the main maven instance which runs basic build and
> continues with the final packaging phase hangs waiting for my sonar:sonar
> mvn instant to complete
>
> is it possible that this https://github.com/apache/maven/pull/628 may
> cause the locking I am seeing?
>
> Thanks
>
> -D
>
>

Reply via email to