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

Guillaume Boué commented on MNG-6117:
-------------------------------------

Fixed in 
[dfb4a7b7f4225bc32385da139679e189a2aeb79a|https://git1-us-west.apache.org/repos/asf?p=maven.git;a=commit;h=dfb4a7b7f4225bc32385da139679e189a2aeb79a].

> ${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
>
> 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)

Reply via email to