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 2026/09/30 18:43:00 UTC
[jira] [Resolved] (CXF-8900) cxf-xjc-plugin: code generated is half javax.xml.bind.annotation, half jakarta.xml.bind.annotation
[ https://issues.apache.org/jira/browse/CXF-8900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colm O hEigeartaigh resolved CXF-8900.
--------------------------------------
Resolution: Cannot Reproduce
> cxf-xjc-plugin: code generated is half javax.xml.bind.annotation, half jakarta.xml.bind.annotation
> --------------------------------------------------------------------------------------------------
>
> Key: CXF-8900
> URL: https://issues.apache.org/jira/browse/CXF-8900
> Project: CXF
> Issue Type: Task
> Components: JAXB Databinding
> Environment: openjdk version "18.0.1.1" 2022-04-22
> OpenJDK Runtime Environment (build 18.0.1.1+2-6)
> OpenJDK 64-Bit Server VM (build 18.0.1.1+2-6, mixed mode, sharing)
> Reporter: Graham Leggett
> Priority: Major
>
> When upgrading an otherwise working project to cxf-xjc-plugin v4.0.0, which compiles a set of 17 XSD files into code, the resulting generated code has some XSD code using the javax.xml.bind namespace, and other XSD code using the jakarta.xml.bind namespace.
> I was expecting one namespace or the other, but to see both namespaces used apparently at random leaves me stuck.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)