dev@glassfish.java.net

Re: wrong BV jar in weekly and promoted builds

From: Snjezana Sevo-Zenzerovic <Snjezana.Sevo-Zenzerovic_at_Sun.COM>
Date: Thu, 30 Apr 2009 16:13:19 -0700

FWIW, I will fix glassfish-scripting package build today to exclude jar
inherited from hk2 since that has to be done regardless of whole
versioning issue. This should implicitly "fix" your problem in a sense
that glassfish-nucleus version of the bean-validator.jar will be the
last one installed so IPS distribution will have the same jar version as
non-IPS. But , in the end, we still need to remove that duplicate
bean-validator.jar from glassfish-nucleus and rely on the jar which
comes from glassfish-hk2 to be one that is of correct version...

Thanks,

Snjezana

Nandini Ektare wrote:

> Hi Jane,
>
> Jane Young wrote:
>
>> Thanks to Snjezana for looking in to this and explaining what's going
>> on.
>>
>> The reason why bean-validator, version 4.0.0.Alpha3 is getting
>> included is because of hk2 dependency.
>> The hk2 artifact has a dependency on the older version of
>> bean-validator therefore the artfiact is included in the following
>> packages: glassfish-hk2 and glassfish-scripting (transitive
>> dependency). The package glassfish-nucleus includes the correct
>> bean-validator version, 3.0-JBoss-4.0.0.Alpha3-b01. The non-IPS
>> distribution uses "unzip" to extract the packages. The first package
>> that gets unzip takes precedences and that happens to be
>> glassfish-nucleus.
>> On the other hand, the IPS distribution uses pkg tool to install the
>> packages. The last package, glassfish-scripting take precedences
>> thus overriding the correct version of bean-validator artifact.
>>
>> The fix is to correct the version for bean-validator in hk2.
>> Nandini, can you fix this?
>
> I have committed the hk2/config/pom.xml with the new version.
> Unfortunately this means, the original problem still prevails.
>
> I had tried the 'RELEASE' string you had suggested to enable the
> automatic syncup. That did not succeed and you already
> have that error stack I had sent to you yesterday morning. As
> decided, I will wait for you to fix the issue and then make
> that string change in the hk2/config/pom.xml
>
> Thanks for your help in fixing this.
> Nandini
>
>> Thanks,
>> Jane
>>
>>
>>
>> Ed Burns wrote:
>>
>>> Jane Young and I are working this issue. Nandini Extare brought to my
>>> attention that the weekly and promoted builds are including the wrong
>>> version of bean-validator.jar. The version they are including is
>>> <http://download.java.net/maven/2/org/glassfish/extras/bean-validator/4.0.0.Alpha3/bean-validator-4.0.0.Alpha3.jar>.
>>>
>>> The version they should be including is
>>> <http://download.java.net/maven/2/org/glassfish/bean-validator/3.0-JBoss-4.0.0.Alpha3-b01/bean-validator-3.0-JBoss-4.0.0.Alpha3-b01.jar>.
>>>
>>>
>>> To get around this, replace the modules/bean-validator.jar that you get
>>> in the promoted build with the correct one.
>>>
>>> Thanks, and we apologize for the inconvenience.
>>>
>>> Ed
>>>
>>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>