You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/01/15 14:37:00 UTC
[jira] [Commented] (MRESOLVER-264) Make file-lock the default locking
[ https://issues.apache.org/jira/browse/MRESOLVER-264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17806853#comment-17806853 ]
ASF GitHub Bot commented on MRESOLVER-264:
------------------------------------------
cstamas opened a new pull request, #405:
URL: https://github.com/apache/maven-resolver/pull/405
Make file lock factory and file-hgav mapper the default.
---
https://issues.apache.org/jira/browse/MRESOLVER-264
> Make file-lock the default locking
> ----------------------------------
>
> Key: MRESOLVER-264
> URL: https://issues.apache.org/jira/browse/MRESOLVER-264
> Project: Maven Resolver
> Issue Type: Task
> Components: Resolver
> Reporter: Tamas Cservenak
> Assignee: Tamas Cservenak
> Priority: Major
> Fix For: 2.0.0
>
>
> Default locking in Resolver is RW locks, that is only in-JVM (so covers the multi threaded case). Simply, if users use Maven concurrently from different terminal windows, they still can end up with corrupted local repository.
> Hence, IMHO the default should be {{{}file-lock{}}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)