diff --git a/antlr4-maven-plugin/pom.xml b/antlr4-maven-plugin/pom.xml
index 544d5f433..86d8507d8 100644
--- a/antlr4-maven-plugin/pom.xml
+++ b/antlr4-maven-plugin/pom.xml
@@ -64,7 +64,7 @@
junit
junit
- 4.12
+ 4.13.1
test
diff --git a/antlr4-maven-plugin/src/test/projects/dependencyRemoved/pom.xml b/antlr4-maven-plugin/src/test/projects/dependencyRemoved/pom.xml
index 35be7219b..e778e9206 100644
--- a/antlr4-maven-plugin/src/test/projects/dependencyRemoved/pom.xml
+++ b/antlr4-maven-plugin/src/test/projects/dependencyRemoved/pom.xml
@@ -17,7 +17,7 @@
junit
junit
- 4.11
+ 4.13.1
test
diff --git a/antlr4-maven-plugin/src/test/projects/importTokens/pom.xml b/antlr4-maven-plugin/src/test/projects/importTokens/pom.xml
index 7f8c6570d..99c88cb09 100644
--- a/antlr4-maven-plugin/src/test/projects/importTokens/pom.xml
+++ b/antlr4-maven-plugin/src/test/projects/importTokens/pom.xml
@@ -17,7 +17,7 @@
junit
junit
- 4.11
+ 4.13.1
test
diff --git a/antlr4-maven-plugin/src/test/projects/importsCustom/pom.xml b/antlr4-maven-plugin/src/test/projects/importsCustom/pom.xml
index 4ab0de8f2..bd2a6d26a 100644
--- a/antlr4-maven-plugin/src/test/projects/importsCustom/pom.xml
+++ b/antlr4-maven-plugin/src/test/projects/importsCustom/pom.xml
@@ -17,7 +17,7 @@
junit
junit
- 4.11
+ 4.13.1
test
diff --git a/antlr4-maven-plugin/src/test/projects/importsStandard/pom.xml b/antlr4-maven-plugin/src/test/projects/importsStandard/pom.xml
index 77dcf0038..2a6efd252 100644
--- a/antlr4-maven-plugin/src/test/projects/importsStandard/pom.xml
+++ b/antlr4-maven-plugin/src/test/projects/importsStandard/pom.xml
@@ -17,7 +17,7 @@
junit
junit
- 4.11
+ 4.13.1
test
diff --git a/doc/java-target.md b/doc/java-target.md
index 60612a9fd..eb73a3d6f 100644
--- a/doc/java-target.md
+++ b/doc/java-target.md
@@ -139,7 +139,7 @@ Edit the pom.xml file. Now we need to extensively modify the pom.xml file. The f
junit
junit
- 3.8.1
+ 4.13.1
diff --git a/runtime-testsuite/pom.xml b/runtime-testsuite/pom.xml
index 337ae5b08..311e10c36 100644
--- a/runtime-testsuite/pom.xml
+++ b/runtime-testsuite/pom.xml
@@ -56,7 +56,7 @@
junit
junit
- 4.12
+ 4.13.1
test
diff --git a/tool-testsuite/pom.xml b/tool-testsuite/pom.xml
index 6d5fc6fcf..6f1c40b6d 100644
--- a/tool-testsuite/pom.xml
+++ b/tool-testsuite/pom.xml
@@ -45,8 +45,8 @@
junit
junit
- 4.12
- test
+ 4.13.1
+ test