I know of two cases where it comes up. 1: some of our own ITs. Those aren't a reason for comprehensive doc.
2: an application I wrote for Aether :-) On Tue, Jan 27, 2015 at 4:04 AM, Baptiste Mathus <m...@batmat.net> wrote: > -1 it's a problematic variable, removing it is a good idea IMO, and > changing mvn version is indeed just a matter of updating your path. > > I've been hit many a time by an updated PATH pointing to a different mvn > version than the one referenced by M2_HOME, which ends with > NoClassDefFoundError or something like that IIRC. > That's why I've personally been advising maven users I encounter to never > ever set that variable for years. > > Cheers > > 2015-01-27 7:19 GMT+01:00 Anders Hammar <and...@hammar.net>: > >> > I would still suggest to make sure its documented somewhere. I find it >> > incredibly useful to just change M2_HOME to simply switch Maven versions. >> > >> >> +1, very useful but I guess it doesn't require the name M2_HOME. >> >> /Anders >> >> > >> > manfred >> > >> > Mirko Friedenhagen wrote on 26.01.2015 21:40: >> > >> > > Dan, go ahead, I have not set this variable for years. >> > > >> > > Regards >> > > Mirko >> > > -- >> > > Sent from my mobile >> > > On Jan 27, 2015 5:52 AM, "Dan Tran" <dant...@gmail.com> wrote: >> > > >> > >> Hi, >> > >> >> > >> Any objection to remove the need to setup M2_HOME env variable at >> maven >> > >> download page? >> > >> >> > >> >> > >> Thanks >> > >> >> > >> -Dan >> > >> >> > >> https://jira.codehaus.org/browse/MNGSITE-223 >> > >> >> > > >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org >> > For additional commands, e-mail: dev-h...@maven.apache.org >> > >> > >> >> -- >> Baptiste <Batmat> MATHUS - http://batmat.net >> Sauvez un arbre, >> Mangez un castor ! >> nbsp;! >> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org