diff --git a/pom.xml b/pom.xml index 61056131..a4b42880 100644 --- a/pom.xml +++ b/pom.xml @@ -298,6 +298,7 @@ 1.5.0 0.7.0 3.5.0 + 2.4.0 1.0.1 4.8.2.0 2.41.1 @@ -644,12 +645,22 @@ import org.apache.commons.codec.digest.*; - org.apache.maven.plugins maven-enforcer-plugin + + + de.skuzzle.enforcer + restrict-imports-enforcer-rule + ${restrict-imports-enforcer-rule.version} + + + enforce-upper-bound-deps @@ -661,6 +672,24 @@ import org.apache.commons.codec.digest.*; + + + ban-wildcard-imports + + enforce + + + + + Expand all wildcard imports + **.'*' + + + + diff --git a/src/changelog/.10.x.x/ban_wildcard_imports.xml b/src/changelog/.10.x.x/ban_wildcard_imports.xml new file mode 100644 index 00000000..80b573d0 --- /dev/null +++ b/src/changelog/.10.x.x/ban_wildcard_imports.xml @@ -0,0 +1,9 @@ + + + + Add enforcer rule to ban wildcard imports. +All imports must be expanded to provide better comparison of branches. +