[
https://issues.apache.org/jira/browse/MNG-7153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17343461#comment-17343461
]
Gary D. Gregory commented on MNG-7153:
--------------------------------------
Well, that's a pain (for me), it feels like the env var is misnamed but it's
too late to change.
It would be nice to have a MAVEN_OPTS and MAVEN_JVM_OPTS, but maybe we could
add instead a MAVEN_CLI_OPTS?
> Maven cmd does errors out when "MAVEN_OPTS=-V"
> ----------------------------------------------
>
> Key: MNG-7153
> URL: https://issues.apache.org/jira/browse/MNG-7153
> Project: Maven
> Issue Type: Bug
> Reporter: Gary D. Gregory
> Priority: Major
> Fix For: waiting-for-feedback, wontfix-candidate
>
>
> As a user, I want to see the Maven version banner every time, so on Windows,
> I "set MAVEN_OPTS=-V" which fails Maven on the next invocation with this
> error:
> {noformat}
> Unrecognized option: -V
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit. {noformat}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)