MNG-2802 said : "access to local Maven repository is not concurrent-safe
that is multiple Mavens running in parallel may damage contents" so not
with -T parameter.
I'm using maven with -T8 on Windows 10 and never failed on local repository
lock

Arnaud

Le ven. 2 déc. 2022, 17:07, John Lilley
<john.lil...@redpointglobal.com.invalid> a écrit :

> Arnaud, are you saying that MNG-2802 only applies to independent maven
> commands, and doesn't affect -T ?
>
> Greg, this was marked as fixed in 3.8.2, and I am on 3.8.6, so it doesn't
> seem like it could be my issue, unless... Windows is special?
>
> Thanks
> john
>
>
> [image: rg] <https://www.redpointglobal.com/>
>
> John Lilley
>
> Data Management Chief Architect, Redpoint Global Inc.
>
> 888 Worcester Street, Suite 200 Wellesley, MA 02482
>
> *M: *+1 7209385761 <+1%207209385761> | john.lil...@redpointglobal.com
>
> -----Original Message-----
> From: Arnaud bourree <arnaud.bour...@gmail.com>
> Sent: Thursday, December 1, 2022 11:44 PM
> To: Maven Users List <users@maven.apache.org>
> Subject: Re: Maven build hanging -- how to collect diagnostics?
>
> *** [Caution] This email is from an external source. Please use caution
> responding, opening attachments or clicking embedded links. ***
>
> Multi-tread maven run with -T2 is not the same as concurent maven build
> with 2 maven commands running simultaneously.
>
> Le ven. 2 déc. 2022, 04:41, Greg Chabala <greg.chab...@gmail.com> a écrit
> :
>
> > There's also https://issues.apache.org/jira/browse/MNG-2802 regarding
> > concurrent access to the local repository. It looks resolved now, but
> > I don't recall if one needs to set up a special locking mechanism to
> > avoid issues.
> >
> > Concurrently installing artifacts in the local repo has historically
> > been risky, the Windows file locking scheme might even exacerbate such
> issues.
> >
> PLEASE NOTE: This e-mail from Redpoint Global Inc. (“Redpoint”) is
> confidential and is intended solely for the use of the individual(s) to
> whom it is addressed. If you believe you received this e-mail in error,
> please notify the sender immediately, delete the e-mail from your computer
> and do not copy, print or disclose it to anyone else. If you properly
> received this e-mail as a customer, partner or vendor of Redpoint, you
> should maintain its contents in confidence subject to the terms and
> conditions of your agreement(s) with Redpoint.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to