diff --git a/pmd-java/pom.xml b/pmd-java/pom.xml
index 98531b2948..cbe6c02d92 100644
--- a/pmd-java/pom.xml
+++ b/pmd-java/pom.xml
@@ -11,6 +11,10 @@
../
+
+ 2.15.0
+
+
@@ -216,13 +220,13 @@
org.apache.logging.log4j
log4j-api
- 2.13.3
+ ${log4j.version}
test
org.apache.logging.log4j
log4j-core
- 2.13.3
+ ${log4j.version}
test