diff --git a/log4j-ecs-layout/pom.xml b/log4j-ecs-layout/pom.xml
index 5f6729a1..df94377f 100644
--- a/log4j-ecs-layout/pom.xml
+++ b/log4j-ecs-layout/pom.xml
@@ -25,6 +25,7 @@
log4j
log4j
1.2.17
+ provided
${project.groupId}
diff --git a/log4j2-ecs-layout/pom.xml b/log4j2-ecs-layout/pom.xml
index 47f023a2..48a30862 100644
--- a/log4j2-ecs-layout/pom.xml
+++ b/log4j2-ecs-layout/pom.xml
@@ -50,6 +50,7 @@
org.apache.logging.log4j
log4j-core
2.12.0
+ provided
${project.groupId}
diff --git a/logback-ecs-encoder/pom.xml b/logback-ecs-encoder/pom.xml
index 2856d608..0928af88 100644
--- a/logback-ecs-encoder/pom.xml
+++ b/logback-ecs-encoder/pom.xml
@@ -25,6 +25,7 @@
ch.qos.logback
logback-classic
1.2.3
+ provided
${project.groupId}