Migrate from JavaX to Jakarta EE 9.1 Namespaces
Recipe ID
com.oracle.weblogic.rewrite.jakarta.JakartaEeNamespaces9_1Artifactorg.openrewrite.recipe:rewrite-third-partyThese recipes help with Migration From JavaX to Jakarta EE 9.1 Namespaces.
Composite recipeweblogicmigrationjakartajakartaeenamespacesApache 2.0
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe com.oracle.weblogic.rewrite.jakarta.JakartaEeNamespaces9_1If the recipe isn’t available locally, install it with:
mod config recipes jar install org.openrewrite.recipe:rewrite-third-party:RELEASEDefinition
This recipe runs the following recipes in order.
- Migrate xmlns entries in
handler.xmlfiles.com.oracle.weblogic.rewrite.jakarta.JavaxWebHandlerXmlToJakarta9HandlerXml - Migrate xmlns entries in
batch.xmlfiles.com.oracle.weblogic.rewrite.jakarta.JavaxBatchXmlToJakarta9BatchXml - Migrate xmlns entries in
beans.xmlfiles for Beans 3.0.com.oracle.weblogic.rewrite.jakarta.JavaxBeansXmlToJakarta9BeansXml - Migrate xmlns entries in
**/batch-jobs/*.xmlfiles.com.oracle.weblogic.rewrite.jakarta.JavaxBatchJobsXmlsToJakarta9BatchJobsXmls - Migrate xmlns entries in
application.xmlfiles.com.oracle.weblogic.rewrite.jakarta.JavaxApplicationXmlToJakarta9ApplicationXml - Migrate xmlns entries in
application-client.xmlfiles.com.oracle.weblogic.rewrite.jakarta.JavaxApplicationClientXmlToJakarta9ApplicationClientXml - Migrate xmlns entries in
ra.xmlfiles (Connectors).com.oracle.weblogic.rewrite.jakarta.JavaxRaXmlToJakarta9RaXml - Migrate xmlns entries in
ejb-jar.xmlfiles.com.oracle.weblogic.rewrite.jakarta.JavaxEjbJarXmlToJakarta9EjbJarXml - Migrate xmlns entries in
webservices.xmlfiles.com.oracle.weblogic.rewrite.jakarta.JavaxWebServicesXmlToJakarta9WebServicesXml - Migrate xmlns entries in
permissions.xmlfiles.com.oracle.weblogic.rewrite.jakarta.JavaxPermissionsXmlToJakarta9PermissionsXml - Migrate xmlns entries in
*.tldfiles.com.oracle.weblogic.rewrite.jakarta.JavaxWebJspTagLibraryTldsToJakarta9WebJspTagLibraryTlds - Migrate xmlns entries in
*.xjbfiles.com.oracle.weblogic.rewrite.jakarta.JavaxBindingsSchemaXjbsToJakarta9BindingsSchemaXjbs - Migrate xmlns entries in
**/validation/*.xmlfiles.com.oracle.weblogic.rewrite.jakarta.JavaxValidationMappingXmlsToJakarta9ValidationMappingXmls - Migrate xmlns entries and javax. packages in
validation.xmlfilesorg.openrewrite.java.migrate.jakarta.JavaxBeanValidationXmlToJakartaBeanValidationXml - Migrate xmlns entries in
test-*.xmlfiles for Jakarta EE 9.1 using test interfacescom.oracle.weblogic.rewrite.jakarta.JavaxTestXmlsToJakartaTestsXmls
Data tables
Structured output this recipe can produce.
- Source files that had resultsSource files that were modified by the recipe run.
org.openrewrite.table.SourcesFileResults - Source files that had search resultsSearch results that were found during the recipe run.
org.openrewrite.table.SearchResults - Source files that errored on a recipeThe details of all errors produced by a recipe run.
org.openrewrite.table.SourcesFileErrors - Recipe performanceStatistics used in analyzing the performance of recipes.
org.openrewrite.table.RecipeRunStats