You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hervé Boutemy (JIRA)" <ji...@apache.org> on 2016/12/26 15:11:58 UTC

[jira] [Issue Comment Deleted] (MNG-6117) ${session.parallel} not correctly set

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

Hervé Boutemy updated MNG-6117:
-------------------------------
    Comment: was deleted

(was: SUCCESS: Integrated in Jenkins build maven-3.x Jigsaw #13 (See [https://builds.apache.org/job/maven-3.x%20Jigsaw/13/])
[MNG-6117] ${session.parallel} not correctly set (gboue: rev dfb4a7b7f4225bc32385da139679e189a2aeb79a)
* (edit) maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java
)

> ${session.parallel} not correctly set
> -------------------------------------
>
>                 Key: MNG-6117
>                 URL: https://issues.apache.org/jira/browse/MNG-6117
>             Project: Maven
>          Issue Type: Bug
>    Affects Versions: 3.3.9
>            Reporter: Richard Raumberger
>            Assignee: Guillaume Boué
>             Fix For: 3.4.0
>
>
> Running {{mvn help:evaluate -T 3}} and resolving the property  {{session.parallel}} returns {{true}} when run with Maven 3.0.5.
> When running it with 3.3.9, this property resolves to {{false}}.
> {code}
> mvn help:evaluate -T 3
> [INFO] Scanning for projects...
> [INFO]
> [INFO] Using the MultiThreadedBuilder implementation with a thread count of 3
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Maven Stub Project (No POM) 1
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-help-plugin:2.2:evaluate (default-cli) @ standalone-pom ---
> [INFO] No artifact parameter specified, using 'org.apache.maven:standalone-pom:pom:1' as project.
> [INFO] Enter the Maven expression i.e. ${project.groupId} or 0 to exit?:
> ${session.parallel}
> [INFO]
> false
> {code}
> E.g. Surefire [relies|https://github.com/apache/maven-surefire/blob/fb9b699e27dae905393a5bc4d5c6ae39606c3172/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java#L658] on this property, to check whether Maven is running in parallel mode, as mentioned in the comments of [SUREFIRE-1301|https://issues.apache.org/jira/browse/SUREFIRE-1301].



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)