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

Reworked SXC #1469

Merged
merged 13 commits into from
Sep 15, 2024
Merged

Reworked SXC #1469

merged 13 commits into from
Sep 15, 2024

Conversation

jungm
Copy link
Member

@jungm jungm commented Sep 2, 2024

SXC has not seen any changes for the past 11 years (https://github.com/dblevins/sxc) and only has been working in TomEE because of it being shaded. However the maven plugin is not really usable anymore in the jakarta world nowadays.

@rzo1 created a fork of SXC here that has been upgraded to work with Jakarta XML Binding 4.0. This PR integrates this fork into tomee, drops the sxc shade and includes some changes in the JAXB Models to fix SXC accessor generation

IMO there are 3 topics:

  • Switch to @rzo1's fork? Maybe we can merge with david's code and release that? (cc @dblevins)
  • I added @XmlAnyAttribute to JAXB models (SXC generated code was modified by hand before) as tests failed. We need to double check I did not miss anything
  • After this the generated SXC accessors 100% match the JAXB models. Should we drop openejb-jee-accessors and move them to somewhere like openejb-jee/target/generated-sources? Would remove a lot of code from the tomee repo (just look at the diff size 😉) and force future developers to not modify generated code but its source instead

@jungm jungm merged commit ac857da into apache:main Sep 15, 2024
1 check passed
@jungm jungm deleted the sxc-rework branch September 18, 2024 15:01
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.

1 participant