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

Remove unused dependencies in org.jboss.as.ee

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 15.0.0.Final
    • None
    • None
    • None

      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.

              yborgess1@redhat.com Yeray Borges Santana
              yborgess1@redhat.com Yeray Borges Santana
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: