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

Michael Osipov commented on SUREFIRE-2223:
------------------------------------------

Which was the first broken version?

> Surefire evaluates parameter jvm before skip
> --------------------------------------------
>
>                 Key: SUREFIRE-2223
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-2223
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>            Reporter: shpelda
>            Priority: Minor
>
> Surefire 3.2.3 execution configured like the one bellow will fail if 
> JAVA_11_HOME is not set.
> It is a regression, 2.17 version did correctly resolved skip(Tests) and 
> later, if enabled, it evaluated jvm.
> {code:java}
> <execution>
>               <id>h2-java11</id>
>               <goals>
>                 <goal>test</goal>
>               </goals>
>               <configuration>
>                 <jvm>${JAVA_11_HOME}/bin/java</jvm>
>                 <skip>true</skip>
>               </configuration>
>             </execution> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to