dev@glassfish.java.net

Re: Build error

From: Yamini K B <yamini.k.b_at_oracle.com>
Date: Wed, 22 Feb 2012 10:42:48 +0530

> Which version of Maven are you using?
> I'm able to build with Maven 3.0.4 and Hudson is using Maven 2.2.1 and
> there no build issues.
> http://gf-hudson.us.oracle.com/hudson/job/gf-trunk-build-continuous/
>
> Can you try building to a clean local maven repo?
Thanks Jane, that did it. I removed .m2 and ran the build.

-Yamini
>
>
> On 2/21/12 10:19 AM, Yamini K B wrote:
>> Hi,
>>
>> My build is failing with this error:
>>
>> [INFO] [gf:echo {execution: echo}]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building in /space/bg/main/appserver/appclient/client/acc-config
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [dependency:unpack {execution: unpack-dtd}]
>> [INFO] Configured Artifact:
>> org.glassfish.deployment:dtds:4.0-SNAPSHOT:zip
>> [INFO] Unpacking
>> /home/yamini/.m2/repository/org/glassfish/deployment/dtds/4.0-SNAPSHOT/dtds-4.0-SNAPSHOT.zip
>> to /space/bg/main/appserver/appclient/client/acc-config/temp with
>> includes **/*-application-client-container*.dtd and excludes
>> [INFO] [jaxb2:generate {execution: JAXB-gen-for-glassfish-acc}]
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] FATAL ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> org.codehaus.classworlds.NoSuchRealmException: plexus.core
>> at org.codehaus.classworlds.ClassWorld.getRealm(ClassWorld.java:128)
>> at
>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:434)
>> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>
>> If I change to /space/bg/main/appserver/appclient/client/acc-config,
>> 'mvn clean install' succeeds.
>>
>> But building from top level 'main' fails in the same module. Any idea
>> why?
>>
>> Thanks,
>> -Yamini
>