dev@glassfish.java.net

Re: build failure on Mac OS

From: Bill Shannon <bill.shannon_at_oracle.com>
Date: Thu, 23 Feb 2012 23:21:28 -0800

I build with a script that does a "mvn clean" and then builds with gfbuild.sh.

Tim Quinn wrote on 02/23/2012 10:55 PM:
> I ran
>
> mvn clean install
>
> from an updated workspace and it worked fine for me - same maven and Java
> versions that you reported, also on a Mac.
>
> Note that I did a clean and build; your log looks like it's from an install only.
>
> Maybe there's a problem with install-only in the acc-config module, or in
> something upstream from there that is exposed in the acc-config module step?
>
> - Tim
>
> On Feb 23, 2012, at 9:49 PM, Bill Shannon wrote:
>
>> I've been trying for days to get GlassFish (trunk) to build on my Mac.
>> First I ran into the "plexus.core" error so I removed my local maven
>> repository and built from scratch. Now it's failed twice in a row at
>> this point:
>>
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Building ACC Config Classes (JAXB)
>> [INFO] task-segment: [install]
>> [INFO] ------------------------------------------------------------------------
>> [INFO] artifact org.jvnet.jaxb2.maven2:maven-jaxb2-plugin: checking for
>> updates from glassfish-repo-archive
>> [INFO] artifact org.jvnet.jaxb2.maven2:maven-jaxb2-plugin: checking for
>> updates from central
>> [INFO] snapshot org.glassfish.deployment:dtds:4.0-SNAPSHOT: checking for
>> updates from glassfish-repo-archive
>> [INFO] [enforcer:enforce {execution: enforce-versions}]
>> [INFO] [osgiversion:compute-osgi-version {execution: compute-osgi-version}]
>> [INFO] [gf:echo {execution: echo}]
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Building in /Users/shannon/v3/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
>> /Users/shannon/v3/.m2/repository/org/glassfish/deployment/dtds/4.0-SNAPSHOT/dtds-4.0-SNAPSHOT.zip
>> to /Users/shannon/v3/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] ------------------------------------------------------------------------
>> Exception in thread "main"
>>
>> Maven hangs right there. I never get the exception details.
>>
>> Any idea what could be going wrong?
>>
>> (mvn 2.2.1, JDK 1.6.0_29)
>