Add explicit JAXB API dependencies and runtime
MSALThis recipe will add explicit dependencies for Jakarta EE 8 when a Java 8 application is using JAXB. Any existing dependencies will be upgraded to the latest version of Jakarta EE 8. The artifacts are moved to Jakarta EE 8 version 2.x which allows for the continued use of the javax.xml.bind namespace. Running a full javax to Jakarta migration using org.openrewrite.java.migrate.jakarta.JavaxMigrationToJakarta will update to versions greater than 3.x which necessitates the package change as well. Modern Jakarta JAXB APIs are preserved; known legacy JAXB consumers receive a separate javax JAXB API when needed.
org. openrewrite. java. migrate. javax. AddJaxbDependenciesWithRuntimemod run . --recipe= org. openrewrite. java. migrate. javax. AddJaxbDependenciesWithRuntimeInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.