Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-6309

Use maven enforcer to ban imports

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.0.0, 4.15.0
    • 5.1.0, 4.16.0
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            vjasani Viraj Jasani
            vjasani Viraj Jasani
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: