dev@glassfish.java.net

Re: Work around for current build failures

From: Stephen Connolly <stephen.alan.connolly_at_gmail.com>
Date: Mon, 4 Aug 2008 22:17:46 +0100

afaik forkMode only applies to junit tests

On Mon, Aug 4, 2008 at 10:23 PM, Harsha Godugu <Harsha.Godugu_at_sun.com>wrote:

> Harsha Godugu wrote:
>
>> Shing Wai Chan wrote:
>>
>>> Jan.Luehe_at_Sun.COM wrote:
>>>
>>>>
>>>> Is anybody else getting the attached error during "mvn install"?
>>>>
>>> This is a known issue.
>>> Just run mvn install "again". Then the error will be gone.
>>>
>> A possible workaround is, to do an incremental build. Means, goto
>> sub-dirs and do mvn isntall at that level. Then come back to the top level
>> and give mvn install.
>> A bug in maven-bundle plug-in is causing this failure.
>>
> Just realized that maven has something called forkMode that will fork the
> vm process. Based on the nature of the bug here, I'm pretty sure that, we
> will get away with this bug
> by turning on the forMode in the pom at every level or at the parent / top
> level.
>
>
> -hg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>