diff --git a/benchmark/pom.xml b/benchmark/pom.xml
index 4f8723e6836..0a460dd8537 100644
--- a/benchmark/pom.xml
+++ b/benchmark/pom.xml
@@ -63,7 +63,6 @@
org.apache.logging.log4j
log4j-core
- ${log4j2.version}
diff --git a/debugger/pom.xml b/debugger/pom.xml
index 533797105dd..9edfaa35014 100644
--- a/debugger/pom.xml
+++ b/debugger/pom.xml
@@ -57,12 +57,10 @@
org.apache.logging.log4j
log4j-api
- ${log4j2.version}
org.apache.logging.log4j
log4j-core
- ${log4j2.version}
org.apache.pdfbox
diff --git a/examples/pom.xml b/examples/pom.xml
index d84e986c3ce..8ec32dedaff 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -111,12 +111,10 @@
org.apache.logging.log4j
log4j-api
- ${log4j2.version}
org.apache.logging.log4j
log4j-core
- ${log4j2.version}
org.verapdf
diff --git a/io/pom.xml b/io/pom.xml
index 3b3bde4f4ca..4d955fc37cf 100644
--- a/io/pom.xml
+++ b/io/pom.xml
@@ -47,12 +47,10 @@
org.apache.logging.log4j
log4j-api
- ${log4j2.version}
org.apache.logging.log4j
log4j-core
- ${log4j2.version}
test
diff --git a/parent/pom.xml b/parent/pom.xml
index 0aa5cface74..b802be6ba80 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -56,7 +56,7 @@
UTF-8
1.79
- 2.24.1
+ 2.24.2
5.11.3
3.0.4
1.4.0
@@ -80,6 +80,13 @@
maven-plugin-annotations
3.15.1
+
+ org.apache.logging.log4j
+ log4j-bom
+ ${log4j2.version}
+ import
+ pom
+
diff --git a/pdfbox/pom.xml b/pdfbox/pom.xml
index f4791b6aff3..528f9d01966 100644
--- a/pdfbox/pom.xml
+++ b/pdfbox/pom.xml
@@ -113,12 +113,10 @@
org.apache.logging.log4j
log4j-api
- ${log4j2.version}
org.apache.logging.log4j
log4j-core
- ${log4j2.version}
test
diff --git a/xmpbox/pom.xml b/xmpbox/pom.xml
index 891df2bc9d0..32c448962a4 100644
--- a/xmpbox/pom.xml
+++ b/xmpbox/pom.xml
@@ -45,12 +45,10 @@
org.apache.logging.log4j
log4j-api
- ${log4j2.version}
org.apache.logging.log4j
log4j-core
- ${log4j2.version}
test