[
https://issues.apache.org/jira/browse/MNG-5965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16074453#comment-16074453
]
ASF GitHub Bot commented on MNG-5965:
-------------------------------------
GitHub user dbmeneses opened a pull request:
https://github.com/apache/maven-integration-testing/pull/22
[MNG-5965] Parallel build multiplies work if multiple goals are given
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dbmeneses/maven-integration-testing mng-5965
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/maven-integration-testing/pull/22.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #22
----
commit e0bc13d8992d6a80f043179bc6ec85f83c08a3bd
Author: Duarte Meneses <[email protected]>
Date: 2017-07-05T08:59:49Z
[MNG-5965] Parallel build multiplies work if multiple goals are given
----
> 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 & Build
> Affects Versions: 3.3.9
> Environment: Windows 7 64bit
> Reporter: Matthias Schmalz
> 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
(v6.4.14#64029)