[
https://jira.codehaus.org/browse/MINVOKER-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312488#comment-312488
]
Robert Scholte commented on MINVOKER-106:
-----------------------------------------
One way to figure it out is by calling {java.home}/bin/java -version and parse
the output, but I'm not sure if this is vendor specific.
> invoker.java.version is always evaluated against current JVM instead of JVM
> running the builds
> ----------------------------------------------------------------------------------------------
>
> Key: MINVOKER-106
> URL: https://jira.codehaus.org/browse/MINVOKER-106
> Project: Maven 2.x Invoker Plugin
> Issue Type: Bug
> Affects Versions: 1.5
> Reporter: Benjamin Bentmann
> Priority: Minor
>
> The selector condition for the JVM version always looks at the current JVM,
> not the JVM that will be used to run the forked builds. This gets only
> obvious when using invoker.javaHome to point at a different JVM than the one
> running the Invoker Plugin.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira