You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2014/08/15 17:54:18 UTC

[jira] [Commented] (CXF-5955) Wrong JAXB version used in JDK 1.7 with Maven 3.2.x

    [ https://issues.apache.org/jira/browse/CXF-5955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14098692#comment-14098692 ] 

Daniel Kulp commented on CXF-5955:
----------------------------------


I'm not able to reproduce this.   With Maven 3.2.1 and Java7 and using a slightly modified samples/jax_rs (to put cxf-rt-core as a direct dependency, but even transitive is the same), I get:

{code}
org.apache.cxf.samples:jax_rs_basic:jar:2.7.13-SNAPSHOT
[INFO] +- org.apache.cxf:cxf-rt-core:jar:2.7.13-SNAPSHOT:compile
[INFO] |  +- org.apache.cxf:cxf-api:jar:2.7.13-SNAPSHOT:compile
[INFO] |  |  +- org.codehaus.woodstox:woodstox-core-asl:jar:4.4.0:compile
[INFO] |  |  |  \- org.codehaus.woodstox:stax2-api:jar:3.1.4:compile
[INFO] |  |  +- org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.7.1:compile
[INFO] |  |  \- wsdl4j:wsdl4j:jar:1.6.3:compile
[INFO] |  +- com.sun.xml.bind:jaxb-impl:jar:2.2.6:compile
[INFO] |  \- org.apache.ws.xmlschema:xmlschema-core:jar:2.1.0:compile
{code}

With Java8, I do indeed get JAXB 2.1.13, but CXF 2.7.x doesn't support Java8.


> Wrong JAXB version used in JDK 1.7 with Maven 3.2.x
> ---------------------------------------------------
>
>                 Key: CXF-5955
>                 URL: https://issues.apache.org/jira/browse/CXF-5955
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.7.12
>         Environment: OSX
> JDK 7u55, 7u60, 7u65
> Maven 3.0.5, 3.1.1, 3.2.1, 3.2.2
>            Reporter: Jason Klapste
>            Priority: Minor
>              Labels: maven
>
> Under Maven 3.0.5 and 3.1.1, the following JAXB dependency versions are pulled in under JDK 1.7:
> {noformat}
> [INFO] +- org.apache.cxf:cxf-rt-core:jar:2.7.12:compile
> [INFO] |  +- org.apache.cxf:cxf-api:jar:2.7.12:compile
> [INFO] |  |  +- org.codehaus.woodstox:woodstox-core-asl:jar:4.4.0:compile
> [INFO] |  |  |  \- org.codehaus.woodstox:stax2-api:jar:3.1.4:compile
> [INFO] |  |  \- wsdl4j:wsdl4j:jar:1.6.3:compile
> [INFO] |  +- com.sun.xml.bind:jaxb-impl:jar:2.2.6:compile
> {noformat}
> Under Maven 3.2.1 and 3.2.2, it seems the Maven profile "jdk17" is not being activated:
> {noformat}
> [INFO] +- org.apache.cxf:cxf-rt-core:jar:2.7.12:compile
> [INFO] |  +- org.apache.cxf:cxf-api:jar:2.7.12:compile
> [INFO] |  |  +- org.codehaus.woodstox:woodstox-core-asl:jar:4.4.0:compile
> [INFO] |  |  |  \- org.codehaus.woodstox:stax2-api:jar:3.1.4:compile
> [INFO] |  |  \- wsdl4j:wsdl4j:jar:1.6.3:compile
> [INFO] |  +- com.sun.xml.bind:jaxb-impl:jar:2.1.13:compile
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)