maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <>
Subject Re: Installation Maven - Variable in the Systems Variables
Date Fri, 28 Jun 2013 13:38:44 GMT
Stephen Connolly wrote:

> MAVEN_HOME is for Maven.
> If M2_HOME is set, then that will be used by Maven 2+ and MAVEN_HOME will
> be ignored.

Well, then download M305 and have a look into the start scripts. MAVEN_HOME 
is nowhere found, while M2_HOME is anywhere used.
> When Maven 3 was being initially released we were going to drop M2_HOME
> completely, but decided to keep support for it.
> Going forward, I would just pick MAVEN_HOME and ensure M2_HOME is unset as
> we do not have M3_HOME nor will we have M4_HOME so we will be reclaiming
> MAVEN_HOME as the recommendation

Nevertheless, you still don't have to set it. It's done automatically in the 
start script.

- Jörg

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message