Do not add transitive dependency to deployments for system dependencies or user dependencies Currently the ModuleSpecProcessor adds transitive dependencies to a deployment if the module spec is specified to add them (looks like only RAR's from what I can see). This includes transitive dependencies that are declared in a jboss-deployment-structure.xml or ones automatically added by the container. Change to only allow class-path entries to be transitive if the module spec defines they should be. System and user specified dependencies should not be transitive. Customer reported issue, where war excludes several implicit modules and then depends on another deployment which does not exclude any modules. The war is getting a transitive dependency back on the modules it excluded: https://na7.salesforce.com/500A000000CSLhp
Pull request https://github.com/jbossas/jboss-eap/pull/9
Updated PR https://github.com/jbossas/jboss-eap/pull/11
James Perkins <jperkins> made a comment on jira AS7-6580 Pull request merged.
Merged https://github.com/jbossas/jboss-eap/pull/11.
This got "unacked" -- perhaps due to a component change??? But it was previously 3-acked and the code is merged in jboss-eap on github.
Verified on EAP 6.1.0 ER4
Details inside vpn: https://post-office.corp.redhat.com/mailman/private/eap-pm-list/2013-July/msg00105.html