Oops, you got the answer here.

BTW, you can not pass all the tests even if you endorse the jaxws 2.1 and jaxb 2.1, probably caused by the assertFiles()?

You're welcomed to contribute some patches.

Thanks,
James

JDK 1.6.0 is definitely the issue. We haven't investigated everything needed to get things to build or run with 1.6.

Dan



On Tuesday 02 October 2007, Shane Blake wrote:
Sorry for the double:

Additional info:

Windows XP SP2, JDK 1.6.0

Shane Blake wrote:
I have completed a checkout from
http://svn.apache.org/repos/asf/incubator/cxf/trunk

Downloaded and installed Maven 2.0.7.

Went to execute:

mvn install -Pfastinstall -Psetup.eclipse

from the trunk directory and are getting the following error:

[INFO] Building Apache CXF API
[INFO]    task-segment: [install]
[INFO]
--------------------------------------------------------------------
-------- [INFO] [dependency:unpack {execution: unpack-schemas}]
[INFO] Configured Artifact:
org.apache.cxf:cxf-common-schemas:2.1-incubator-SNAPSHOT:jar
[INFO] Expanding: C:\Documents and
Settings\shaneb\.m2\repository\org\apache\cxf\cxf-common-schemas\2.1
-incubator-SNAPSHOT\cx f-common-schemas-2.1-incubator-SNAPSHOT.jar
into
C:\dev\apache\cxf\trunk\api\target\schemas
[INFO] [cxf-common-xsd:xsdtojava {execution: generate-sources}]
[INFO]
--------------------------------------------------------------------
---- [ERROR] FATAL ERROR
[INFO]
--------------------------------------------------------------------
---- [INFO] JAXB 2.0 API is being loaded from the bootstrap
classloader, but this RI (from jar:file:/C:/Documents and
Settings/sha
neb/.m2/repository/com/sun/xml/bind/jaxb-impl/2.1.4/jaxb-impl-2.1.4.
jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) n
eeds 2.1 API. Use the endorsed directory mechanism to place
jaxb-api.jar in the bootstrap classloader. (See http://java.sun.c
om/j2se/1.5.0/docs/guide/standards/)
[INFO]
--------------------------------------------------------------------
---- [INFO] Trace
java.lang.LinkageError: JAXB 2.0 API is being loaded from the
bootstrap classloader, but this RI (from jar:file:/C:/Documents and
Settings/shaneb/.m2/repository/com/sun/xml/bind/jaxb-impl/2.1.4/jaxb
-impl-2.1.4.jar!/com/sun/xml/bind/v2/model/impl/Mode lBuilder.class)
needs 2.1 API. Use the endorsed directory mechanism to place
jaxb-api.jar in the bootstrap classloader. (See
http://java.sun.com/j2se/1.5.0/docs/guide/standards/)

Where is maven picking up the original JAXB classes from?



Reply via email to