[jboss-jira] [JBoss JIRA] (WFCORE-3528) Detect conflicting packages in deployments

David Lloyd (JIRA) issues at jboss.org
Fri Jan 19 12:12:00 EST 2018


David Lloyd created WFCORE-3528:
-----------------------------------

             Summary: Detect conflicting packages in deployments
                 Key: WFCORE-3528
                 URL: https://issues.jboss.org/browse/WFCORE-3528
             Project: WildFly Core
          Issue Type: Enhancement
            Reporter: David Lloyd


We should have a deployment processor which detects package conflicts within deployments.  It should ensure that no deployment package is exported by any module provided by the application server (the {{ModuleSpecification#getSystemDependencies}} set) (excluding {{META-INF/**}} and the empty package from consideration, and maybe one or two others).  The processor could either raise an error, or it could introduce a PathFilter to block the offending packages and print a warning to that effect.

We could also add other checks - like warning if the same package is present in more than one archive within the deployment that have visibility to each other, for example - but it's somewhat harder to establish hard rules about these cases that are always correct.




--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list