[jboss-jira] [JBoss JIRA] (DROOLS-936) Add and enable enforcer rule which bans duplicated classes

Petr Široký (JIRA) issues at jboss.org
Fri Oct 2 04:16:00 EDT 2015


Petr Široký created DROOLS-936:
----------------------------------

             Summary: Add and enable enforcer rule which bans duplicated classes
                 Key: DROOLS-936
                 URL: https://issues.jboss.org/browse/DROOLS-936
             Project: Drools
          Issue Type: Enhancement
            Reporter: Petr Široký
            Assignee: Petr Široký


Throughout the codebase there are modules which depend on artifacts which have duplicated classes (classes with same FQN). This is very much undesirable as at runtime one them just gets picked and there is no guarantee which one actually.

There is an enforcer rule which checks all the dependencies and fails the build in case there are duplicated classes, http://www.mojohaus.org/extra-enforcer-rules/banDuplicateClasses.html. We should add this one to the build. Either to default one, or to "full" profile in case the build time would be considerable slower.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jboss-jira mailing list