You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2022/04/24 08:10:00 UTC

[jira] [Commented] (MNG-7285) [Regression] MavenProject.getArtifacts() not returning correct value across multiple threads

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

Hudson commented on MNG-7285:
-----------------------------

Build failed in Jenkins: Maven » Maven TLP » maven » MNG-7457 #2

See https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven/job/MNG-7457/2/

> [Regression] MavenProject.getArtifacts() not returning correct value across multiple threads
> --------------------------------------------------------------------------------------------
>
>                 Key: MNG-7285
>                 URL: https://issues.apache.org/jira/browse/MNG-7285
>             Project: Maven
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.8.2, 3.8.3, 4.0.0-alpha-1
>            Reporter: Mickael Istria
>            Assignee: Michael Osipov
>            Priority: Critical
>             Fix For: 3.8.4, 4.0.0-alpha-1, 4.0.0
>
>
> Patch for MNG-6843 seems to cause that when trying to use MavenProject.getArtifacts() across different threads, some of them get an incorrect result.
> This cause an issue in m2e where we schedule a lot of work and don't have much control over which thread will do the work (there is a thread pool); we've faced several regressions because of this issue when trying to adopt 3.8.3 from 3.8.1. More details at [https://github.com/eclipse-m2e/m2e-core/pull/346|https://github.com/eclipse-m2e/m2e-core/pull/350] , [https://github.com/eclipse-m2e/m2e-core/pull/347|https://github.com/eclipse-m2e/m2e-core/pull/350] and [https://github.com/eclipse-m2e/m2e-core/pull/350] .
> I'll try to capture it in a test case for maven repo in the next days.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)