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 d3b5f19fe8c96d34d8d38722f8bd5c925122134d
Author: Andrea Cosentino <[email protected]>
AuthorDate: Tue Jan 17 07:20:47 2023 +0100

    CAMEL-18936 - components - Add log4j-core so logging to logfile works
    
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 catalog/camel-catalog-console/pom.xml      | 5 +++++
 catalog/camel-catalog-lucene/pom.xml       | 5 +++++
 catalog/camel-catalog-maven/pom.xml        | 6 +++++-
 catalog/camel-catalog/pom.xml              | 6 +++++-
 catalog/camel-csimple-maven-plugin/pom.xml | 5 +++++
 catalog/camel-report-maven-plugin/pom.xml  | 5 +++++
 catalog/camel-route-parser/pom.xml         | 6 +++++-
 7 files changed, 35 insertions(+), 3 deletions(-)

diff --git a/catalog/camel-catalog-console/pom.xml 
b/catalog/camel-catalog-console/pom.xml
index 27c68d94f7d..de678f4e39f 100644
--- a/catalog/camel-catalog-console/pom.xml
+++ b/catalog/camel-catalog-console/pom.xml
@@ -80,6 +80,11 @@
             <artifactId>log4j-slf4j2-impl</artifactId>
             <scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-core</artifactId>
+            <scope>test</scope>
+        </dependency>
     </dependencies>
 
     <build>
diff --git a/catalog/camel-catalog-lucene/pom.xml 
b/catalog/camel-catalog-lucene/pom.xml
index 175c3866109..98ecec91284 100644
--- a/catalog/camel-catalog-lucene/pom.xml
+++ b/catalog/camel-catalog-lucene/pom.xml
@@ -80,6 +80,11 @@
             <artifactId>log4j-slf4j2-impl</artifactId>
             <scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-core</artifactId>
+            <scope>test</scope>
+        </dependency>
     </dependencies>
 
     <build>
diff --git a/catalog/camel-catalog-maven/pom.xml 
b/catalog/camel-catalog-maven/pom.xml
index ef6f4256cc2..1997a3819d6 100644
--- a/catalog/camel-catalog-maven/pom.xml
+++ b/catalog/camel-catalog-maven/pom.xml
@@ -115,7 +115,11 @@
             <artifactId>log4j-slf4j2-impl</artifactId>
             <scope>test</scope>
         </dependency>
-
+        <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-core</artifactId>
+            <scope>test</scope>
+        </dependency>
     </dependencies>
 
 </project>
diff --git a/catalog/camel-catalog/pom.xml b/catalog/camel-catalog/pom.xml
index d29a5b5b1e3..a528823a1fc 100644
--- a/catalog/camel-catalog/pom.xml
+++ b/catalog/camel-catalog/pom.xml
@@ -124,7 +124,11 @@
             <artifactId>log4j-slf4j2-impl</artifactId>
             <scope>test</scope>
         </dependency>
-
+        <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-core</artifactId>
+            <scope>test</scope>
+        </dependency>
     </dependencies>
 
     <build>
diff --git a/catalog/camel-csimple-maven-plugin/pom.xml 
b/catalog/camel-csimple-maven-plugin/pom.xml
index b6e31d439e6..eceeb9e12cd 100644
--- a/catalog/camel-csimple-maven-plugin/pom.xml
+++ b/catalog/camel-csimple-maven-plugin/pom.xml
@@ -119,6 +119,11 @@
             <artifactId>log4j-slf4j2-impl</artifactId>
             <scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-core</artifactId>
+            <scope>test</scope>
+        </dependency>
     </dependencies>
 
     <build>
diff --git a/catalog/camel-report-maven-plugin/pom.xml 
b/catalog/camel-report-maven-plugin/pom.xml
index ded3a2555f6..11b5869f97d 100644
--- a/catalog/camel-report-maven-plugin/pom.xml
+++ b/catalog/camel-report-maven-plugin/pom.xml
@@ -163,6 +163,11 @@
             <artifactId>log4j-slf4j2-impl</artifactId>
             <scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-core</artifactId>
+            <scope>test</scope>
+        </dependency>
     </dependencies>
 
     <build>
diff --git a/catalog/camel-route-parser/pom.xml 
b/catalog/camel-route-parser/pom.xml
index acb95262d1d..b01ae072047 100644
--- a/catalog/camel-route-parser/pom.xml
+++ b/catalog/camel-route-parser/pom.xml
@@ -97,7 +97,11 @@
             <artifactId>log4j-slf4j2-impl</artifactId>
             <scope>test</scope>
         </dependency>
-
+        <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-core</artifactId>
+            <scope>test</scope>
+        </dependency>
     </dependencies>
 
 </project>

Reply via email to