maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MNG-5965) Parallel build multiplies work if multiple goals are given
Date Tue, 04 Dec 2018 10:32:00 GMT

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

ASF GitHub Bot commented on MNG-5965:
-------------------------------------

FrzMe commented on issue #125: [MNG-5965] Parallel build multiplies work if multiple goals
are given
URL: https://github.com/apache/maven/pull/125#issuecomment-444052143
 
 
   This PR is pretty old but it would be nice to get the referenced bugs fixed. 
   @rfscholte @michael-o  it seems that you have worked with the relevant code before, could
you review/merge?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Parallel build multiplies work if multiple goals are given
> ----------------------------------------------------------
>
>                 Key: MNG-5965
>                 URL: https://issues.apache.org/jira/browse/MNG-5965
>             Project: Maven
>          Issue Type: Bug
>          Components: Bootstrap &amp; Build
>    Affects Versions: 3.3.9
>         Environment: Windows 7 64bit
>            Reporter: Matthias Schmalz
>            Priority: Major
>         Attachments: parallel.test.zip
>
>
> When I run a parallel build which invokes multiple goals Maven multiplies the work e.g.
when I run
> install sonar:sonar
> Every phase is executed once as expected. However when I run
> install sonar:sonar -T 4
> Every phase is executed twice.
> The problem can be reproduced with a single simple Java project (of course parallel builds
are useless with a single module). Debugging showed that every Mojo is really called twice
per project.
> Find attached a simple project and two build outputs, where you can see that the parallel
build is doing everything twice (you can ignore that Sonar fails in the end, due to no server
is up).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message