JSF 2.x to Jakarta Faces 3.x
MSALJakarta EE 9 uses Faces 3.0, a major upgrade to Jakarta packages and XML namespaces.
org. openrewrite. java. migrate. jakarta. Faces2xMigrationToJakartaFaces3xmod run . --recipe= org. openrewrite. java. migrate. jakarta. Faces2xMigrationToJakartaFaces3xInstall 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.
- Migrate deprecated
javax.facespackages tojakarta.faces - Faces XHTML migration for Jakarta EE 9
- Migrate JSF values inside ECMAScript files
- Migrate xmlns entries in
faces-config.xmlfiles - Migrate xmlns entries in
taglib.xmlfiles - Migrate xmlns entries in
web-fragment.xmlfiles - Migrate xmlns entries in
web.xmlfiles - Rename the
jsf/ClientSideSecretKeyandjsf/FlashSecretKeyJNDI names tofaces/* - Use
jakarta.elinstead ofjakarta.faces.elandjavax.faces.el - Replace
ResourceResolverwithResourceHandler - Replace deprecated
StateManagermethods - Replace
CURRENT_COMPONENTandCURRENT_COMPOSITE_COMPONENTwithgetCurrentComponent()andgetCurrentCompositeComponent() - Upgrade Faces open source libraries