You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "SebbASF (JIRA)" <ji...@codehaus.org> on 2012/01/21 13:03:02 UTC

[jira] (MNG-5178) Substitute environment variable M2_HOME by M3_HOME

    [ https://jira.codehaus.org/browse/MNG-5178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=289008#comment-289008 ] 

SebbASF commented on MNG-5178:
------------------------------

If this is done, it may break scripts etc that rely on M2_HOME variable.

So any such change should be well publicised as an incompatible change.

If it can be done in such a way that M2_HOME still works when using Maven 3, so much the better.
                
> Substitute environment variable M2_HOME by M3_HOME
> --------------------------------------------------
>
>                 Key: MNG-5178
>                 URL: https://jira.codehaus.org/browse/MNG-5178
>             Project: Maven 2 & 3
>          Issue Type: Wish
>          Components: Command Line
>            Reporter: Oliver B. Fischer
>            Priority: Minor
>
> Maven 3 uses the environment variable {{M2_HOME}} to point to it's installation directory. This variable should be replaced by {{M3_HOME}} to allow users to have parallel installations of Maven 2 and Maven 3 without any special handling of the environment variable {{M2_HOME}}.

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