Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-11405

Remove unused dependencies in org.jboss.as.ee

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 15.0.0.Final
    • Component/s: None
    • Labels:
      None

      Description

      Analisys shows the following dependencies can be removed from org.jboss.as.ee module:

      <module name="javax.transaction.api"/>
      <module name="javax.xml.ws.api" optional="true"/>
      
      • There are no direct dependencies to any class managed by those modules from wildfly-ee resource.
      • Those modules are not exporting services that can be loaded by any other class.
      • Although there are some getClassLoader().loadClass calls in some classes in wildfly-ee.jar, those loadClass calls are done using the Deployment Unit module class loader, where the removed modules are added by other deployment processors in previous phases.

      One motivation to create this issue is that, in general, be able to remove any unused dependency marked as optional="true" is good for Galleon, because we will be sure that the provision is correct without including those optional dependencies.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                yersan Yeray Borges Santana
                Reporter:
                yersan Yeray Borges Santana
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: