Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-3128

MTA - javax to jakarta package renaming (Openrewrite)

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • Sprint 205 AMM, Sprint 206 AMM, Sprint 207 AMM, AMM Sprint 208, Sprint 209 AMM, Sprint 210 AMM, Sprint 211 AMM
    • None

      WINDUP needs to satisfy the Java EE to Jakarta EE 9 transformation providing automated transformation of source files. Transforming binaries is not under consideration for WINDUP.

      We need to evaluate and ideally leverage the Openrewrite tool and develop a proof of concept to cover the first one of the several transformations necessary, specifically to replace all references to javax.* packges to jakarata.*

      The solution must cater for wildcard import statements as well as fully qualified names.

      The objective is to create an Openrewrite recipe that can be executed as part of a mvn build (with the appropriate goal and parameters) that will transform all of the javax references to jakarata. What is implemented must include a corresponding test.

      These two working documents have some relevant links
      MTA to OpenRewrite feature comparison
      Java EE to Jakarta Discussion document

        1. rewrite.patch
          5 kB
        2. org.baeldung.java.zip
          12 kB
        3. jaxws-ejb.zip
          23 kB

              mbrophy Mark Brophy
              pcattana Philip Cattanach
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: