dev@glassfish.java.net

Re: Work around for current build failures

From: Harsha Godugu <Harsha.Godugu_at_Sun.COM>
Date: Mon, 04 Aug 2008 14:23:11 -0700

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