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

2011-07-19 Thread Stephen Connolly
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 proggerp...@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




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

2011-07-19 Thread Lukas Theussl


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 Wilkinsonproggerp...@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-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



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

2011-07-19 Thread Jörg Schaible
Hi Peter,

Peter Wilkinson wrote:

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

Don't set it. The Maven start scripts will set it locally themselves. I can 
run any Maven version side-by-side just by some symbolic links without any 
environment setting:

/usr/bin $ ls -og mvn*
lrwxrwxrwx 1  7 Jan 25 08:42 mvn - mvn-3.0
lrwxrwxrwx 1 32 Mar 23  2010 mvn-2.0 - /usr/share/maven-bin-2.0/bin/mvn
lrwxrwxrwx 1 32 Sep 17  2009 mvn-2.2 - /usr/share/maven-bin-2.2/bin/mvn
lrwxrwxrwx 1 32 Mar 11 08:28 mvn-3.0 - /usr/share/maven-bin-3.0/bin/mvn

- Jörg


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



Why does maven 3 still use the M2_HOME variable?

2011-07-18 Thread Peter Wilkinson
Doing this stops maven 2 and maven 3 being able to run on the same machine.
It also makes no sense.

 

Cheers,

Peter