maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Lamy (Jira)" <j...@apache.org>
Subject [jira] [Closed] (MENFORCER-336) Beanshell rule is not thread-safe
Date Tue, 26 May 2020 10:48:00 GMT

     [ https://issues.apache.org/jira/browse/MENFORCER-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Olivier Lamy closed MENFORCER-336.
----------------------------------
    Resolution: Fixed

pr merged thanks!

> Beanshell rule is not thread-safe
> ---------------------------------
>
>                 Key: MENFORCER-336
>                 URL: https://issues.apache.org/jira/browse/MENFORCER-336
>             Project: Maven Enforcer Plugin
>          Issue Type: Bug
>          Components: Standard Rules
>    Affects Versions: 3.0.0-M1, 3.0.0-M2
>            Reporter: Peter Verthez
>            Assignee: Olivier Lamy
>            Priority: Critical
>             Fix For: 3.0.0
>
>         Attachments: example.zip
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The attached project has a beanshell rule that should always succeed when you run maven
install.
> However, if you run it with multiple threads it sometimes fails.  This shows that the
evaluation of this beanshell rule is not thread-safe, although maven-enforcer-plugin claims
to be thread safe.
> Command to test it inside the base project (on a multi-core machine):
> while mvn -T 2C clean install ; do sleep 1; done
> This fails at some point sooner or later.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message