maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Boué (JIRA) <j...@apache.org>
Subject [jira] [Closed] (MNG-6117) ${session.parallel} not correctly set
Date Sun, 13 Nov 2016 22:16:59 GMT

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

Guillaume Boué closed MNG-6117.
-------------------------------
       Resolution: Fixed
         Assignee: Guillaume Boué
    Fix Version/s: 3.4.0

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

Mime
View raw message