Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to Jakarta EE 9 #407

Merged
merged 3 commits into from
Jul 3, 2021
Merged

Conversation

tamersaadeh
Copy link
Contributor

Jakarta EE 9 platform renames all the "old" namespaces from javax.xml.bind.* to jakarta.xml.bind.*. This pull request performs this migration so that when Jacakrta EE 9 is released in June 2020 it will be compatible.

I ran mvn test and travis builds, with a single failure that does not seem related to the changes.

Note 1: this is completely incompatible with the old namespace, so probably the major version of the library should be bumped.
Note 2: currently depends on pre-released versions of the JAXB specification (RC3). This can be updated when the final version is released.
Note 3: this PR is similar to my PR for FasterXML/jackson-modules-base#95

@cowtowncoder
Copy link
Member

Note for posterity: only changes test classes so should be safe. Also looks like 3.0.0 was just released.

@cowtowncoder
Copy link
Member

Ok: I think this makes sense now that Jackson 2.13 adds a new set of modules for new Jakarta XML Bind vs old Javax/JAXB.
Will have to massage PR a bit but should be able to make it work.

Thank you @tamersaadeh!

@cowtowncoder cowtowncoder merged commit 449c62a into FasterXML:master Jul 3, 2021
cowtowncoder pushed a commit that referenced this pull request Jul 3, 2021
Changes to use the new Jakarta XML Bind annotations over old javax/JAXB ones (for tests only)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants