You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2021/07/21 19:16:00 UTC

[jira] [Closed] (MNG-7153) Maven cmd does errors out when "MAVEN_OPTS=-V"

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

Michael Osipov closed MNG-7153.
-------------------------------
    Resolution: Invalid

Please see MNG-7193. It will solve your problem. I am intentionally closing this ticket because it cannot solved the way as reported.

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