dev@glassfish.java.net

Re: V3: NPE on start-domain

From: Sahoo <Sahoo_at_Sun.COM>
Date: Sat, 01 Mar 2008 08:19:43 +0530

Jeanfrancois Arcand wrote:
>
>
> Kedar Mhaswade wrote:
>> Jeanfrancois Arcand wrote:
>>> Delete ~/.m2/repository/com/sun/grizzly
>>>
>>> and rebuild. We re-promoted a jar yesterday that fixed this problem.
>>>
>>> Thanks
>>>
>>> -- Jeanfrancois
>>>
>>> Marina Vatkina wrote:
>>>> After complete rebuild (minus removed config test), I'm getting
>>>> this NPE:
>>
>>
>>
>> JF,
>>
>> but assuming this was "mvn install", shouldn't the latest
>> stable binaries get downloaded as part of build?
>
> No, because we re-released an official version and Maven would not
> pick it up if it already downloaded 1.7.2. Yes, this is a bad practice
> from us :-)
>
There can not be any good reason to do this, IMO. This is the second
time in last one month I am seeing we are re-releasing a non-SNAPSHOT
version. This practice must stop in order to reproduce older builds. We
can't expect people to clean their local maven repo from time to time.

Sahoo