dev@glassfish.java.net

Build error

From: Yamini K B <yamini.k.b_at_oracle.com>
Date: Tue, 21 Feb 2012 23:49:23 +0530

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