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

Java EE 8 to Jakarta EE9 - update pom.xml dependencies

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 5.2.1.Final
    • None
    • MTA CLI
    • None
    • False
    • False
    • Hide
      * *Why we missed the bug?*
       ** Pick to proper answer from drop-down field upper.
       +_Additional comments:_+


       * *What is required:*
       ** Pick to proper answer from drop-down field upper.
       +_Additional comments:_+
      Show
      * *Why we missed the bug?*  ** Pick to proper answer from drop-down field upper.  +_Additional comments:_+  * *What is required:*  ** Pick to proper answer from drop-down field upper.  +_Additional comments:_+
    • undefined
    • ---
    • ---
    • Sprint 207 AMM

    Description

      Update pom.xml file to use the Jakarta EE 9 provided dependency.
      For example:

      Before

      <dependency>
      <groupId>jakarta.platform</groupId>
      <artifactId>jakarta.jakartaee-api</artifactId>
      <version>8.0.0</version>
      <scope>provided</scope>
      </dependency>

      or

      <dependency>
      <groupId>javax</groupId>
      <artifactId>javaee-api</artifactId>
      <version>8.0</version>
      <scope>provided</scope>
      </dependency>

      After

      <dependency>
      <groupId>jakarta.platform</groupId>
      <artifactId>jakarta.jakartaee-api</artifactId>
      <version>9.0.0</version>
      <scope>provided</scope>
      </dependency>

      References
      The migration rules developed to support EAP 7.3 contains a rules to replace javax dependencies with the jakarta equivalents.
      Those rules use a targetTechnology id of jakarta-ee and versionRange [8]

      Jakarta platform profile maven (superset of web profile)
      Jakarta web profile maven

      Javax platform profile
      Javax web profile maven

      complete-duke tutorial

      Attachments

        Issue Links

          Activity

            People

              pcattana Philip Cattanach
              pcattana Philip Cattanach
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: