You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/01/17 07:16:00 UTC

[camel] 02/20: CAMEL-18932: Upgrade to slf4j v2 and adjust log4j2

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 392f32bcf6fa1162744a23f524609df443ed8fb5
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Jan 16 16:17:57 2023 +0100

    CAMEL-18932: Upgrade to slf4j v2 and adjust log4j2
---
 components/camel-netty-http/pom.xml | 5 +++++
 components/camel-netty/pom.xml      | 5 +++++
 components/camel-tarfile/pom.xml    | 5 +++++
 3 files changed, 15 insertions(+)

diff --git a/components/camel-netty-http/pom.xml b/components/camel-netty-http/pom.xml
index fee1ae579b3..1ce9122824a 100644
--- a/components/camel-netty-http/pom.xml
+++ b/components/camel-netty-http/pom.xml
@@ -173,6 +173,11 @@
         </dependency>
 
         <!-- logging -->
+        <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-core</artifactId>
+            <scope>test</scope>
+        </dependency>
         <dependency>
             <groupId>org.apache.logging.log4j</groupId>
             <artifactId>log4j-slf4j2-impl</artifactId>
diff --git a/components/camel-netty/pom.xml b/components/camel-netty/pom.xml
index 9c87dc0e959..5b764b538a4 100644
--- a/components/camel-netty/pom.xml
+++ b/components/camel-netty/pom.xml
@@ -112,6 +112,11 @@
             <scope>test</scope>
         </dependency>
         <!-- logging -->
+        <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-core</artifactId>
+            <scope>test</scope>
+        </dependency>
         <dependency>
             <groupId>org.apache.logging.log4j</groupId>
             <artifactId>log4j-slf4j2-impl</artifactId>
diff --git a/components/camel-tarfile/pom.xml b/components/camel-tarfile/pom.xml
index 287c4a6fa17..af16d61a73e 100644
--- a/components/camel-tarfile/pom.xml
+++ b/components/camel-tarfile/pom.xml
@@ -61,6 +61,11 @@
             <artifactId>camel-test-spring-junit5</artifactId>
             <scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-core</artifactId>
+            <scope>test</scope>
+        </dependency>
         <dependency>
             <groupId>org.apache.logging.log4j</groupId>
             <artifactId>log4j-slf4j2-impl</artifactId>