cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Jones" <pjo...@progress.com>
Subject jaxp-api exclusion from parent/pom.xml
Date Wed, 15 Jul 2009 21:58:05 GMT

Hi there,

cxf includes the jaxp-ri as a dependency when needed in a couple of
places (only when running with the ibm jdk), but I notice that in
the parent/pom.xml, jaxp-api is specifically excluded:

    <dependency>
        <groupId>com.sun.xml.parsers</groupId>
        <artifactId>jaxp-ri</artifactId>
        <version>1.4.2</version>
        <exclusions>
            <exclusion>
                <groupId>javax.xml.parsers</groupId>
                <artifactId>jaxp-api</artifactId>
            </exclusion>
        </exclusions>
    </dependency> 

Is there a good reason to exclude it?  I'm seeing some test
failures in common/common when using the ibm jdk 
(StaxUtilsTest, W3CDOMStreamReaderTest, and XMLUtilsTest).  They
hit a NoClassDefFoundError for javax.xml.transform.stax.StAXResult.
If I don't exclude the jaxp-api, the tests run fine, and thus why
I am wondering if there is a good reason...

Regards,
Peter

----------------------------------------
Peter Jones
Progress Software
570 Newfoundland Drive
St. John's, NL, Canada  A1A 5B1
Tel: +1 (709) 738-3725  ext 321

Internal wiki: http://wiki.progress.com/display/PRODENG/Home



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message