maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <>
Subject [jira] [Comment Edited] (MNG-5965) Parallel build multiplies work if multiple goals are given
Date Thu, 27 Dec 2018 13:18:00 GMT


Michael Osipov edited comment on MNG-5965 at 12/27/18 1:17 PM:

Fixed with [c6bdafed23f152d83d766c1ed3db8c1c4b723eb3|;a=commit;h=c6bdafed23f152d83d766c1ed3db8c1c4b723eb3]
and [d3d6ea3a6345a51a08e8dd41a0254e8cb0f2692f|;a=commit;h=d3d6ea3a6345a51a08e8dd41a0254e8cb0f2692f]..

was (Author: michael-o):
Fixed with [c6bdafed23f152d83d766c1ed3db8c1c4b723eb3|;a=commit;h=c6bdafed23f152d83d766c1ed3db8c1c4b723eb3].

> Parallel build multiplies work if multiple goals are given
> ----------------------------------------------------------
>                 Key: MNG-5965
>                 URL:
>             Project: Maven
>          Issue Type: Bug
>          Components: Bootstrap &amp; Build
>    Affects Versions: 3.3.9
>         Environment: Windows 7 64bit
>            Reporter: Matthias Schmalz
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: 3.6.1
>         Attachments:
>          Time Spent: 20m
>  Remaining Estimate: 0h
> 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

View raw message