You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2019/01/11 15:30:00 UTC

[jira] [Comment Edited] (CXF-7907) Change jaxb-api to jakarta.xml.bind-api artifact dependency

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

Colm O hEigeartaigh edited comment on CXF-7907 at 1/11/19 3:29 PM:
-------------------------------------------------------------------

Hi Freeman,

Just some minor things:

a) In parent/pom.xml, in the Java9 profile we have:

<dependency>
                     <groupId>jakarta.xml.bind</groupId>
                     <artifactId>jakarta.xml.bind-api</artifactId>
                     <version>2.3.2</version>
                 </dependency>

Do we still need to define the JAXB API separately for Java 9 here? If yes it should use the version String instead of 2.3.2.

b) In distribution/src/main/release/samples/pom.xml we define:

<cxf.jaxb.version>2.3.0</cxf.jaxb.version>

Do we need the bind-api here as well?

 c) When building the jaxrs system tests I get:

 

[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.glassfish.jaxb:jaxb-runtime:jar -> version ${cxf.jaxb.impl.version} vs ${cxf.jaxb.core.version} @ org.apache.cxf:cxf-parent:[unknown-version], /home/coheig/src/apache/cxf/parent/pom.xml, line 2131, column 25

 


was (Author: coheigea):
Hi Freeman,

Just some minor things:

a) In parent/pom.xml, in the Java9 profile we have:

<dependency>
                    <groupId>jakarta.xml.bind</groupId>
                    <artifactId>jakarta.xml.bind-api</artifactId>
                    <version>2.3.2</version>
                </dependency>



Do we still need to define the JAXB API separately for Java 9 here? If yes it should use the version String instead of 2.3.2.

b) In distribution/src/main/release/samples/pom.xml we define:

<cxf.jaxb.version>2.3.0</cxf.jaxb.version>

Do we need the bind-api here as well?

 

 

> Change jaxb-api to jakarta.xml.bind-api artifact dependency
> -----------------------------------------------------------
>
>                 Key: CXF-7907
>                 URL: https://issues.apache.org/jira/browse/CXF-7907
>             Project: CXF
>          Issue Type: Task
>            Reporter: Dennis Kieselhorst
>            Assignee: Freeman Fang
>            Priority: Minor
>             Fix For: 3.3.0
>
>
> see [https://github.com/eclipse-ee4j/jaxb-api/pull/66]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)