maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Re: Remove M2_HOME setup from download page instructions
Date Tue, 27 Jan 2015 19:20:41 GMT
On Tue, Jan 27, 2015 at 2:10 PM, Dan Tran <dantran@gmail.com> wrote:
> Hi Benson
>
> By "many tests"  are you refer to the incident at release plugin 2.5.1, or
> maven-core IT

I'm guessing that the M-R-P integration tests are not the only plugin
integration tests that care. I'm pretty sure I've run into this
before.


>
> Thanks
>
> -D
>
> On Tue, Jan 27, 2015 at 10:28 AM, Benson Margulies <bimargulies@gmail.com>
> wrote:
>
>> On Tue, Jan 27, 2015 at 1:16 PM, Dan Tran <dantran@gmail.com> 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 <bimargulies@gmail.com
>> >
>> > 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 <ml@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 <anders@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" <dantran@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-unsubscribe@maven.apache.org
>> >> >> > For additional commands, e-mail: dev-help@maven.apache.org
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> --
>> >> >> Baptiste <Batmat> MATHUS - http://batmat.net
>> >> >> Sauvez un arbre,
>> >> >> Mangez un castor !
>> >> >> nbsp;!
>> >> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> >> For additional commands, e-mail: dev-help@maven.apache.org
>> >>
>> >>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>

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


Mime
View raw message