Viraj Jasani created PHOENIX-6309:
-------------------------------------

             Summary: Use maven enforcer to ban imports
                 Key: PHOENIX-6309
                 URL: https://issues.apache.org/jira/browse/PHOENIX-6309
             Project: Phoenix
          Issue Type: Task
    Affects Versions: 4.15.0, 5.0.0
            Reporter: Viraj Jasani
            Assignee: Viraj Jasani
             Fix For: 5.1.0, 4.16.0


We are already using mvn enforcer plugin for hbase version evaluations. We can 
extend it's usage to restrict-imports-enforcer-rule enforcer and ban imports 
from illegal packages (as per our project guidelines)

e.g restrict usage of org.apache.commons.logging, com.google.common (in the 
presence of phoenix-thirdparty in Phoenix 5.x) etc.

While doing backports from 4.x to master and vice-versa, it's quite common for 
these branch specific imports rules to get ignored by devs.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to