[
https://issues.apache.org/jira/browse/CAMEL-18582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17612893#comment-17612893
]
Nicolas Filotto commented on CAMEL-18582:
-----------------------------------------
Since we upgraded mvnd to 0.8, the locking of the artifacts is now made by
default with a file locking
([apache/maven-mvnd#508|https://github.com/apache/maven-mvnd/pull/508]) which
causes regular build failures due to write lock issues, as workaround I
proposed in this PR [https://github.com/apache/camel/pull/8481] to change of
named lock factory for something equivalent to what we had with mvnd 0.7
> Prevent build failures due to write lock issues
> -----------------------------------------------
>
> Key: CAMEL-18582
> URL: https://issues.apache.org/jira/browse/CAMEL-18582
> Project: Camel
> Issue Type: Task
> Components: build system
> Reporter: Nicolas Filotto
> Assignee: Nicolas Filotto
> Priority: Major
>
> The build regularly fails with an error of type:
>
> {{2022-10-04T08:27:32.6309180Z [ERROR] Could not acquire write lock for
> '/home/runner/.m2/repository/.locks/jakarta.activation~jakarta.activation-api~1.2.2.resolverlock'
> 2022-10-04T08:27:32.6313534Z [ERROR] Camel :: Management: Could not acquire
> write lock for
> '/home/runner/.m2/repository/.locks/jakarta.activation~jakarta.activation-api~1.2.2.resolverlock'}}
>
> The goal of this task is to investigate the issue and find a way to fix it or
> at least find a workaround.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)