On Tue, Jan 27, 2015 at 1:16 PM, Dan Tran <[email protected]> wrote:
> Hi Benson,
>
> What is your  verdict?

I vote for removing it from the publically facing doc. is there also a
thought of removing it from the code? I guess if someone makes sure
that all our many tests pass without it, fine with me.

I should explain my passing reference to Aether.

I wrote a little OSGi utility that uses Aether to fetch some
dependencies, and I wanted it to get mirror definitions out of, well,
$M2_HOME/conf/settings.xml. That probably counts as acute sloth on my
part.


>
> Thanks
>
> -D
>
> On Tue, Jan 27, 2015 at 3:15 AM, Benson Margulies <[email protected]>
> wrote:
>
>> 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 <[email protected]> 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 <[email protected]>:
>> >
>> >> > 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" <[email protected]> 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: [email protected]
>> >> > For additional commands, e-mail: [email protected]
>> >> >
>> >> >
>> >>
>> >> --
>> >> Baptiste <Batmat> MATHUS - http://batmat.net
>> >> Sauvez un arbre,
>> >> Mangez un castor !
>> >> nbsp;!
>> >>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to