diff --git a/pom.xml b/pom.xml
index d49e27de5a..39cda88c61 100644
--- a/pom.xml
+++ b/pom.xml
@@ -310,6 +310,13 @@
maven-enforcer-plugin
+
+
+ de.skuzzle.enforcer
+ restrict-imports-enforcer-rule
+ 3.0.0
+
+
enforce-banned-dependencies
@@ -328,6 +335,34 @@
true
+
+ enforce-banned-junit4-imports
+ process-test-sources
+
+ enforce
+
+
+
+
+ Use JUnit 5 (org.junit.jupiter.*) and AssertJ instead of JUnit 4
+ true
+
+ org.junit.**
+ junit.framework.**
+
+
+ org.junit.jupiter.**
+ org.junit.platform.**
+
+
+
+ org.apache.parquet.column.values.**.benchmark.**
+
+
+
+ true
+
+