[jboss-jira] [JBoss JIRA] (AS7-6580) Do not add transitive dependency to deployments for system dependencies or user dependencies
RH Bugzilla Integration (JIRA)
jira-events at lists.jboss.org
Wed Feb 20 19:24:56 EST 2013
[ https://issues.jboss.org/browse/AS7-6580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12755567#comment-12755567 ]
RH Bugzilla Integration commented on AS7-6580:
----------------------------------------------
Brad Maxwell <bmaxwell at redhat.com> made a comment on [bug 913321|https://bugzilla.redhat.com/show_bug.cgi?id=913321]
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
> Do not add transitive dependency to deployments for system dependencies or user dependencies
> --------------------------------------------------------------------------------------------
>
> Key: AS7-6580
> URL: https://issues.jboss.org/browse/AS7-6580
> Project: Application Server 7
> Issue Type: Bug
> Components: Class Loading
> Reporter: James Perkins
> Assignee: James Perkins
> Fix For: 7.3.0.Alpha1
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list