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

Application dependencies may also be specified in jboss-deployment-structure.xml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.4.1
    • None
    • EAP6 -> EAP7
    • None

      WINDUPRULE-60 says that application can depend on modules using the MANIFEST.MF file. That's correct, but application can also depend on modules using the jboss-deployment-structure.xml file – see https://docs.jboss.org/author/display/AS7/Class+Loading+in+AS7

      This should be added to the rule(s).

      Also, I think we shouldn't warn when the files aren't used for adding dependencies.

      • MANIFEST.MF only adds dependencies when it has a Dependencies: ... line
      • jboss-deployment-structure.xml only adds dependencies when it has a <dependencies>...</dependencies> XML element

      Can we test for that?

              mbriskar_jira Matej Briskar (Inactive)
              lthon@redhat.com Ladislav Thon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: