maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Lörcher (Jira) <j...@apache.org>
Subject [jira] [Updated] (MNG-6984) maven concurrent builds ignore synchronized in mojo execute-method
Date Wed, 09 Sep 2020 12:07:00 GMT

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

Thomas Lörcher updated MNG-6984:
--------------------------------
    Priority: Critical  (was: Major)

> maven concurrent builds ignore synchronized in mojo execute-method
> ------------------------------------------------------------------
>
>                 Key: MNG-6984
>                 URL: https://issues.apache.org/jira/browse/MNG-6984
>             Project: Maven
>          Issue Type: Bug
>    Affects Versions: 3.6.0, 3.6.3
>            Reporter: Thomas Lörcher
>            Priority: Critical
>
> I have written a custom maven-Mojo. 
> Since libraries used in this mojo are not thread-safe, i followed the guide [https://cwiki.apache.org/confluence/display/MAVEN/Parallel+builds+in+Maven+3] to
avoid parallel executions of the code.
> Doesnt seem to work though.
> I tried to use other approaches like semaphors or synchronized functions, maven does
execute the code snippets in parallel. It seems to me that every mvn module will get build
in an own process.



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

Mime
View raw message