Analisys shows the following dependencies can be removed from org.jboss.as.ee module:
- 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.