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 a3c94d60d90e52480138fcce520e2bfe3a905753
Author: Andrea Cosentino <[email protected]>
AuthorDate: Mon Jan 16 18:24:35 2023 +0100

    CAMEL-18936 - components - Add log4j-core so logging to logfile works
    
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 components/camel-jolt/pom.xml           |  7 -------
 components/camel-jooq/pom.xml           |  5 -----
 components/camel-joor/pom.xml           |  7 +------
 components/camel-jpa/pom.xml            |  5 -----
 components/camel-jq/pom.xml             |  7 +------
 components/camel-jsch/pom.xml           |  5 -----
 components/camel-jslt/pom.xml           |  7 -------
 components/camel-json-patch/pom.xml     |  5 -----
 components/camel-json-validator/pom.xml |  5 -----
 components/camel-jsonapi/pom.xml        |  5 -----
 components/camel-jsonata/pom.xml        |  7 -------
 components/camel-jsonb/pom.xml          |  5 -----
 components/camel-jsonpath/pom.xml       |  5 -----
 components/camel-jt400/pom.xml          |  5 -----
 components/camel-kafka/pom.xml          | 10 ----------
 components/camel-kamelet/pom.xml        |  5 -----
 components/camel-kubernetes/pom.xml     |  6 ------
 components/camel-kudu/pom.xml           |  5 -----
 components/camel-ldap/pom.xml           | 10 ----------
 components/camel-ldif/pom.xml           |  6 ------
 components/camel-leveldb/pom.xml        |  5 -----
 components/camel-lra/pom.xml            |  5 -----
 components/camel-lucene/pom.xml         |  5 -----
 components/camel-lumberjack/pom.xml     |  5 -----
 components/camel-lzf/pom.xml            |  5 -----
 components/camel-mail/pom.xml           |  5 -----
 26 files changed, 2 insertions(+), 150 deletions(-)

diff --git a/components/camel-jolt/pom.xml b/components/camel-jolt/pom.xml
index 6ea72544035..dd3e0d7195e 100644
--- a/components/camel-jolt/pom.xml
+++ b/components/camel-jolt/pom.xml
@@ -61,13 +61,6 @@
             <version>${jolt-version}</version>
         </dependency>
 
-        <!-- logging -->
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
-
         <!-- testing -->
         <dependency>
             <groupId>org.apache.camel</groupId>
diff --git a/components/camel-jooq/pom.xml b/components/camel-jooq/pom.xml
index 7023d3b92eb..7deb9f51abe 100644
--- a/components/camel-jooq/pom.xml
+++ b/components/camel-jooq/pom.xml
@@ -80,11 +80,6 @@
             <artifactId>junit-jupiter</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.springframework</groupId>
             <artifactId>spring-context</artifactId>
diff --git a/components/camel-joor/pom.xml b/components/camel-joor/pom.xml
index 24db93ae962..35c28496b35 100644
--- a/components/camel-joor/pom.xml
+++ b/components/camel-joor/pom.xml
@@ -66,11 +66,6 @@
             <artifactId>camel-test-junit5</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.apache.camel</groupId>
             <artifactId>camel-core</artifactId>
@@ -84,4 +79,4 @@
         </dependency>
     </dependencies>
 
-</project>
\ No newline at end of file
+</project>
diff --git a/components/camel-jpa/pom.xml b/components/camel-jpa/pom.xml
index d841e39cb9e..0d44f842244 100644
--- a/components/camel-jpa/pom.xml
+++ b/components/camel-jpa/pom.xml
@@ -83,11 +83,6 @@
             <artifactId>derby</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter</artifactId>
diff --git a/components/camel-jq/pom.xml b/components/camel-jq/pom.xml
index 5bec3229a5e..d86c257656b 100644
--- a/components/camel-jq/pom.xml
+++ b/components/camel-jq/pom.xml
@@ -75,11 +75,6 @@
             <artifactId>camel-test-junit5</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.apache.camel</groupId>
             <artifactId>camel-core</artifactId>
@@ -93,4 +88,4 @@
         </dependency>
     </dependencies>
 
-</project>
\ No newline at end of file
+</project>
diff --git a/components/camel-jsch/pom.xml b/components/camel-jsch/pom.xml
index 9e811bf9dd7..0d77f1420e6 100644
--- a/components/camel-jsch/pom.xml
+++ b/components/camel-jsch/pom.xml
@@ -56,11 +56,6 @@
             <artifactId>camel-ssh</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.apache.sshd</groupId>
             <artifactId>sshd-scp</artifactId>
diff --git a/components/camel-jslt/pom.xml b/components/camel-jslt/pom.xml
index a6ab326a76f..bbb6163a73e 100644
--- a/components/camel-jslt/pom.xml
+++ b/components/camel-jslt/pom.xml
@@ -47,13 +47,6 @@
             <version>${jslt-version}</version>
         </dependency>
 
-        <!-- logging -->
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
-
         <!-- testing -->
         <dependency>
             <groupId>org.apache.camel</groupId>
diff --git a/components/camel-json-patch/pom.xml 
b/components/camel-json-patch/pom.xml
index 7cf3facbd39..a468719de1a 100644
--- a/components/camel-json-patch/pom.xml
+++ b/components/camel-json-patch/pom.xml
@@ -55,11 +55,6 @@
       <artifactId>camel-test-junit5</artifactId>
       <scope>test</scope>
     </dependency>
-    <dependency>
-      <groupId>org.apache.logging.log4j</groupId>
-      <artifactId>log4j-slf4j2-impl</artifactId>
-      <scope>test</scope>
-    </dependency>
     <dependency>
       <groupId>org.junit.jupiter</groupId>
       <artifactId>junit-jupiter</artifactId>
diff --git a/components/camel-json-validator/pom.xml 
b/components/camel-json-validator/pom.xml
index 47746e25099..b1718046048 100644
--- a/components/camel-json-validator/pom.xml
+++ b/components/camel-json-validator/pom.xml
@@ -57,11 +57,6 @@
             <artifactId>camel-test-junit5</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
 
     </dependencies>
 
diff --git a/components/camel-jsonapi/pom.xml b/components/camel-jsonapi/pom.xml
index 42992300bde..977af013f34 100644
--- a/components/camel-jsonapi/pom.xml
+++ b/components/camel-jsonapi/pom.xml
@@ -64,11 +64,6 @@
             <artifactId>junit-jupiter</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
 
 </project>
diff --git a/components/camel-jsonata/pom.xml b/components/camel-jsonata/pom.xml
index a74f373cc45..bd0f357ee33 100644
--- a/components/camel-jsonata/pom.xml
+++ b/components/camel-jsonata/pom.xml
@@ -56,13 +56,6 @@
             <version>${jsonata4java-version}</version>
         </dependency>
 
-        <!-- logging -->
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
-
         <!-- testing -->
         <dependency>
             <groupId>org.apache.camel</groupId>
diff --git a/components/camel-jsonb/pom.xml b/components/camel-jsonb/pom.xml
index db44c89d4ed..fd59c61f0a8 100644
--- a/components/camel-jsonb/pom.xml
+++ b/components/camel-jsonb/pom.xml
@@ -65,10 +65,5 @@
             <artifactId>camel-test-spring-junit5</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
 </project>
diff --git a/components/camel-jsonpath/pom.xml 
b/components/camel-jsonpath/pom.xml
index 66e24b8ffef..c32ca9852b6 100644
--- a/components/camel-jsonpath/pom.xml
+++ b/components/camel-jsonpath/pom.xml
@@ -78,11 +78,6 @@
             <artifactId>camel-platform-http-vertx</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>io.rest-assured</groupId>
             <artifactId>rest-assured</artifactId>
diff --git a/components/camel-jt400/pom.xml b/components/camel-jt400/pom.xml
index 337aaadf3f5..b65ffbcfb10 100644
--- a/components/camel-jt400/pom.xml
+++ b/components/camel-jt400/pom.xml
@@ -61,11 +61,6 @@
             <artifactId>junit-jupiter</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
 
 </project>
diff --git a/components/camel-kafka/pom.xml b/components/camel-kafka/pom.xml
index 3620334239e..9404f7b857d 100644
--- a/components/camel-kafka/pom.xml
+++ b/components/camel-kafka/pom.xml
@@ -115,16 +115,6 @@
             <artifactId>mockito-junit-jupiter</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-1.2-api</artifactId>
-            <scope>test</scope>
-        </dependency>
 
         <dependency>
             <groupId>org.apache.commons</groupId>
diff --git a/components/camel-kamelet/pom.xml b/components/camel-kamelet/pom.xml
index c95d2ad4b5c..e00dcea411b 100644
--- a/components/camel-kamelet/pom.xml
+++ b/components/camel-kamelet/pom.xml
@@ -99,11 +99,6 @@
             <artifactId>assertj-core</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
 
     </dependencies>
 
diff --git a/components/camel-kubernetes/pom.xml 
b/components/camel-kubernetes/pom.xml
index 1bc066aeb07..1a28ef08703 100644
--- a/components/camel-kubernetes/pom.xml
+++ b/components/camel-kubernetes/pom.xml
@@ -133,12 +133,6 @@
             <artifactId>awaitility</artifactId>
             <scope>test</scope>
         </dependency>
-        <!-- logging -->
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <!-- forcing okhttp v3.x related to 
https://issues.apache.org/jira/browse/CAMEL-16336 -->
         <dependency>
             <groupId>com.squareup.okhttp3</groupId>
diff --git a/components/camel-kudu/pom.xml b/components/camel-kudu/pom.xml
index 788b7c4cab3..0dede8c2e95 100644
--- a/components/camel-kudu/pom.xml
+++ b/components/camel-kudu/pom.xml
@@ -101,11 +101,6 @@
             <artifactId>camel-test-junit5</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
 
         <!-- Spin a kudu cluster to run integration tests -->
         <!-- as described in
diff --git a/components/camel-ldap/pom.xml b/components/camel-ldap/pom.xml
index b77a1beb317..04956ee01a2 100644
--- a/components/camel-ldap/pom.xml
+++ b/components/camel-ldap/pom.xml
@@ -76,15 +76,5 @@
             <artifactId>mina-core</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-1.2-api</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
 </project>
diff --git a/components/camel-ldif/pom.xml b/components/camel-ldif/pom.xml
index 22ec8fc4d7e..be41a788ab4 100644
--- a/components/camel-ldif/pom.xml
+++ b/components/camel-ldif/pom.xml
@@ -91,11 +91,5 @@
             <scope>test</scope>
         </dependency>
 
-        <!-- logging -->
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
 </project>
diff --git a/components/camel-leveldb/pom.xml b/components/camel-leveldb/pom.xml
index ebc531c8e93..a99379cded7 100644
--- a/components/camel-leveldb/pom.xml
+++ b/components/camel-leveldb/pom.xml
@@ -77,11 +77,6 @@
             <artifactId>camel-test-spring-junit5</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter</artifactId>
diff --git a/components/camel-lra/pom.xml b/components/camel-lra/pom.xml
index 022efe05df4..9033fff1351 100644
--- a/components/camel-lra/pom.xml
+++ b/components/camel-lra/pom.xml
@@ -76,11 +76,6 @@
             <artifactId>awaitility</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.apache.camel</groupId>
             <artifactId>camel-test-infra-microprofile-lra</artifactId>
diff --git a/components/camel-lucene/pom.xml b/components/camel-lucene/pom.xml
index fd97cf7c42b..9d35428c34f 100644
--- a/components/camel-lucene/pom.xml
+++ b/components/camel-lucene/pom.xml
@@ -66,11 +66,6 @@
             <artifactId>junit-jupiter</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
 
     <build>
diff --git a/components/camel-lumberjack/pom.xml 
b/components/camel-lumberjack/pom.xml
index cd78cc94d78..8f7e7370d40 100644
--- a/components/camel-lumberjack/pom.xml
+++ b/components/camel-lumberjack/pom.xml
@@ -64,11 +64,6 @@
             <artifactId>camel-test-junit5</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.awaitility</groupId>
             <artifactId>awaitility</artifactId>
diff --git a/components/camel-lzf/pom.xml b/components/camel-lzf/pom.xml
index d2f9093b588..a1a8383da62 100644
--- a/components/camel-lzf/pom.xml
+++ b/components/camel-lzf/pom.xml
@@ -61,10 +61,5 @@
             <artifactId>camel-test-spring-junit5</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
 </project>
diff --git a/components/camel-mail/pom.xml b/components/camel-mail/pom.xml
index 063c980885a..4cc39160f5d 100644
--- a/components/camel-mail/pom.xml
+++ b/components/camel-mail/pom.xml
@@ -95,11 +95,6 @@
             <artifactId>junit-jupiter</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.mockito</groupId>
             <artifactId>mockito-core</artifactId>

Reply via email to