skuzzle/restrict-imports-enforcer-rule

Sanity check: no base package should match any other base package

skuzzle opened this issue · 1 comments

For example, the following should be forbidden:

<basePackages>
    <basePackage>java.util.**</basePackage>
    <basePackage>java.util.text.**</basePackage>
</basePackages>

The same applies to <exclusions> and <bannedImports> and ``<allowedImports> where it is equally useless to have intersecting matches

Fixed in 0.16.0