You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Peter Wilkinson <pr...@gmail.com> on 2011/07/19 07:13:01 UTC

Why does maven 3 still use the M2_HOME variable?

Doing this stops maven 2 and maven 3 being able to run on the same machine.
It also makes no sense.

 

Cheers,

Peter


Re: Why does maven 3 still use the M2_HOME variable?

Posted by Lukas Theussl <lt...@apache.org>.
The maven installation instructions [1] explicitly mention the M2_HOME 
variable (and not MAVEN_HOME), is this obsolete?

-Lukas

[1] http://maven.apache.org/download.html#Installation


On 07/19/2011 08:26 AM, Stephen Connolly wrote:
> I run m2 and m3 on the same machine at the same time (but from different
> windows)... no issues at all for me.
>
> http://javaadventure.blogspot.com/2011/03/my-magic-maven-and-ant-version.html
>
> just don't use M2_HOME at all, use MAVEN_HOME both versions pick it up quite
> successfully the M2_HOME was only legacy when M1 was around.
>
> On 19 July 2011 06:13, Peter Wilkinson<pr...@gmail.com>  wrote:
>
>> Doing this stops maven 2 and maven 3 being able to run on the same machine.
>> It also makes no sense.
>>
>>
>>
>> Cheers,
>>
>> Peter
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Why does maven 3 still use the M2_HOME variable?

Posted by Stephen Connolly <st...@gmail.com>.
I run m2 and m3 on the same machine at the same time (but from different
windows)... no issues at all for me.

http://javaadventure.blogspot.com/2011/03/my-magic-maven-and-ant-version.html

just don't use M2_HOME at all, use MAVEN_HOME both versions pick it up quite
successfully the M2_HOME was only legacy when M1 was around.

On 19 July 2011 06:13, Peter Wilkinson <pr...@gmail.com> wrote:

> Doing this stops maven 2 and maven 3 being able to run on the same machine.
> It also makes no sense.
>
>
>
> Cheers,
>
> Peter
>
>