[ 
https://issues.apache.org/jira/browse/MNG-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16656635#comment-16656635
 ] 

ASF GitHub Bot commented on MNG-2802:
-------------------------------------

erikhakansson commented on issue #49: [MNG-2802] Concurrent-safe access to 
local Maven repository
URL: https://github.com/apache/maven-wagon/pull/49#issuecomment-431325340
 
 
   Can someone have a new look at this after my comments regarding System.exit?
   
   To reiterate, the System.exit isn't run in anything manaded by Surefire and 
thus shouldn't affect/be affected by surefire behaviour. 
LazyLockableFileOutputStreamTestDriver is never run by Surefire
   
   The test (LazyLockableFileOutputStreamIntegrationTest) launches two separate 
JVMs to be able to properly isolate file locking behaviour and not having 
different processes in the same JVM affect each other. I.e, simulating real 
world behaviour with different instances of Maven accessing the same file.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Concurrent-safe access to local Maven repository
> ------------------------------------------------
>
>                 Key: MNG-2802
>                 URL: https://issues.apache.org/jira/browse/MNG-2802
>             Project: Maven
>          Issue Type: Improvement
>          Components: Artifacts and Repositories
>            Reporter: Stepan Roh
>            Assignee: John Casey
>            Priority: Major
>             Fix For: Issues to be reviewed for 3.x
>
>
> It seems that access to local Maven repository is not concurrent-safe that is 
> multiple Mavens running in parallel may damage contents of local Maven 
> repository. It would be a nice improvement, because sharing of local 
> repository will lower the need for contacting any other repository. I know 
> that Maven proxy can be used, but that adds another layer which may 
> unnecessarily stress the machine it runs on.
> *NOTE:* 
> http://takari.io/book/30-team-maven.html#concurrent-safe-local-repository is 
> a Takari Extension for Apache Maven that introduces a concurrent-safe 
> local-repository.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to