Retain javax.xml.bind:jaxb-api when jjwt 0.9 or earlier is present

MSAL

The single io.jsonwebtoken:jjwt artifact up to 0.9.x encodes Base64 with javax.xml.bind.DatatypeConverter and fails at runtime with a NoClassDefFoundError on Java 11 or later when the JAXB API is missing. When migrating from javax.xml.bind to jakarta.xml.bind 3.0+, this recipe ensures javax.xml.bind:jaxb-api remains available as a runtime dependency as long as such a jjwt version is on the classpath.

org.openrewrite.java.migrate.jakarta.RetainJaxbApiForJjwt
mod run . --recipe=org.openrewrite.java.migrate.jakarta.RetainJaxbApiForJjwt

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.