Uploaded image for project: 'WINDUPRULE - Red Hat Application Migration Toolkit rules'
  1. WINDUPRULE - Red Hat Application Migration Toolkit rules
  2. WINDUPRULE-396

JBoss EAP 7.3: Move to Jakarta EE Maven Artifacts

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 4.3.1.Final
    • None
    • EAP72 -> EAP73
    • None
    • MA Sprint 13, MA Sprint 14
    • None

      The maven coordinates of several specification APIs, and JBoss EAP BOMs as well, should be changed in user apps projects, as consequence of the move from Java EE to Jakarta EE, otherwise build/test/debug may fail or not work as expected:

      1. com.sun.mail:javax.mail -> com.sun.mail:jakarta.mail
      2. javax.activation:activation -> com.sun.activation:jakarta.activation
      3. javax.enterprise:cdi-api -> jakarta.enterprise:jakarta.enterprise.cdi-api
      4. javax.inject:javax.inject -> jakarta.inject:jakarta.inject-api
      5. javax.json:javax.json-api -> jakarta.json:jakarta.json-api
      6. javax.json.bind:javax.json.bind-api -> jakarta.json.bind:jakarta.json.bind-api
      7. javax.persistence:javax.persistence-api -> jakarta.persistence:jakarta.persistence-api
      8. javax.security.enterprise:javax.security.enterprise-api -> jakarta.security.enterprise:jakarta.security.enterprise-api
      9. javax.validation:validation-api -> jakarta.validation:jakarta.validation-api
      10. org.jboss.spec.javax.xml.soap:jboss-saaj-api_1.3_spec -> org.jboss.spec.javax.xml.soap:jboss-saaj-api_1.4_spec
      11. org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec -> org.jboss.spec.javax.transaction:jboss-transaction-api_1.3_spec
      12. org.jboss.bom:jboss-eap-javaee8 -> org.jboss.bom:jboss-eap-jakartaee8
      13. org.jboss.bom:jboss-eap-javaee8-with-spring4 -> org.jboss.bom:jboss-eap-jakartaee8-with-spring4
      14. org.jboss.bom:jboss-eap-javaee8-with-tools -> org.jboss.bom:jboss-eap-jakartaee8-with-tools
      15. org.jboss.spec:jboss-javaee-8.0 -> org.jboss.spec:jboss-jakartaee-8.0
      16. org.jboss.spec:jboss-javaee-web-8.0 -> org.jboss.spec:jboss-jakartaee-web-8.0
      17. org.jboss.spec:jboss-javaee-all-8.0 -> org.jboss.spec:jboss-jakartaee-all-8.0

      A new ruleset should be added containing a new rule for each artifact coordinates that changed, in the format WHERE "Maven project dependencies contains old coordinates" PERFORM "Hint user that new coordinates should be used instead with JBoss EAP uses, otherwise applications may fail to build, run or test."

        1. J2E_to_jakarta
          14 kB
          Shveta Sachdeva

              emartins@redhat.com Eduardo Martins
              emartins@redhat.com Eduardo Martins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: