Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Upgrade to use newer JVMs without JAXB

45 views
Skip to first unread message

Eric Richardson

unread,
Aug 7, 2023, 7:52:33 PM8/7/23
to scalaxb
Hi,
I am attempting to update the plugin so we can add the old JAXB library dependencies as the first step to modernizing the framework for newer JVMs.

I using Java 17 on my work box and was able to use the following as a dependency to use the framework:
val jaxbApi = "javax.xml.bind" % "jaxb-api" % "2.3.1"

I can get the scalaxb API, plugin, and tests to compile with this dependency but can't get the integration tests to work via the conscript setup because it also needs this dependency and also perhaps a JAXB runtime. Not sure exactly how that works.

I don't think adding this will harm Java 8 where it is included because the included classes would be loaded first.

Would you also consider dropping older Scala and sbt versions?

Note: the newer JAXB infrastructure uses the jakarta.xml.bind namespace so that would require more changes.

Thanks,
Eric

eugene yokota

unread,
Dec 2, 2023, 11:45:39 AM12/2/23
to scalaxb
scalaxb 1.12.0 adds a switch to use jakarta. It might help?

Eric Richardson

unread,
Dec 2, 2023, 8:39:02 PM12/2/23
to sca...@googlegroups.com
Thanks, Eugene and the developers how contributed the changes. I will try it out.

--
You received this message because you are subscribed to the Google Groups "scalaxb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalaxb+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scalaxb/7e30fcf2-7aa7-4cc9-9a15-0c186f1e5323n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages