diff --git a/pom.xml b/pom.xml
index 51c897b4452f..296450231870 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2450,7 +2450,14 @@
Use junit5 instead
junit.framework.**
+ org.junit.**
+ static org.junit.Assert.**
+ static org.junit.Assume.**
+
+ org.junit.jupiter.**
+ org.junit.platform.**
+