Open rtyley opened 4 months ago
Thanks @rtyley , we did briefly look at upgrading java but parked it, so your advice regarding jaxb is really helpful!
Ah, I've taken a look at this, and think I can help- alright if I raise a PR?
of course! We have a health ticket for it but you're more than welcome to contribute :)
See https://github.com/guardian/scala-steward-public-repos/pull/67 ... we're now running our Scala Steward workflow with Java 21 LTS, which means that all projects that want to have Scala Steward updates (like this one) need to be able to build under Java 21 (even if the projects are still running in production on Java 8).
An example of Scala Steward failing when trying to handle this repo is here:
https://github.com/guardian/scala-steward-public-repos/actions/runs/8814650168/job/24194965264#step:6:1970
Unfortunately the Scala Steward run failing affects everyone, see https://github.com/guardian/scala-steward-public-repos/issues/60 - so I've removed this repo from Scala Steward until this issue is fixed.
How to fix this issue?
For the buid to run under Java 21, a few things are easy, but some are a bit more involved:
sbt-cxf
plugin has not been updated in a long time and isn't compiled for that change. I think the best bet here may be to move to usingscalaxb
, which is maintained and can probably provide the WSDL/XML parsing that is required - it could be tricky though, let me know if you'd like to pair on it.cc @LAKSHMIRPILLAI @tomrf1