Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8900

cxf-xjc-plugin: code generated is half javax.xml.bind.annotation, half jakarta.xml.bind.annotation

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • JAXB Databinding
    • None
    • 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)

    • Unknown

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            minfrin Graham Leggett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: