Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-4026

[Ruleset] javaee-to-jakarta-namespaces-00030 missing incident

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • MTA 7.2.1
    • MTA 7.1.1
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • None

      Description of problem:

      RuleID: javaee-to-jakarta-namespaces-00030
      Description: Replace the Java EE XSD with the Jakarta equivalent
      Message:

      Replace persistence_2_1.xsd with persistence_3_0.xsd and update the version attribute to "3.0"
      

      Version-Release number of selected component (if applicable):

      MTA 7.1.1 GA

      How reproducible:

      100%

      Steps to Reproduce:

      1. Start analysis using Git repository: https://github.com/konveyor-ecosystem/coolstore
      2. Analysis mode: Source code + dependencies
      3. Set targets: Containerization, Jakarta EE 9
      4. Submit analysis

      Actual results:

      ruleID: javaee-to-jakarta-namespaces-00030
      Affected file: /shared/source/coolstore/src/main/resources/META-INF/persistence.xml
      Line: 6

      http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
      

      Expected results:

      Line 2 in the same file should also be marked as an incident

      <persistence version="2.1"
      

      Attachments:

      analysis-report-app-cool.yaml

              rhn-engineering-dymurray Dylan Murray
              mguetta1 Maayan Hadasi
              Maayan Hadasi Maayan Hadasi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: