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 2b80ba9271f6197e4847e8f6c971e31149000686
Author: Andrea Cosentino <[email protected]>
AuthorDate: Tue Jan 17 07:36:38 2023 +0100

    CAMEL-18936 - components - Add log4j-core so logging to logfile works
    
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 dsl/camel-cli-connector/pom.xml                                |  8 ++++++--
 dsl/camel-componentdsl/pom.xml                                 |  8 ++++++--
 dsl/camel-dsl-modeline/pom.xml                                 |  8 ++++++--
 dsl/camel-endpointdsl/pom.xml                                  |  6 +++++-
 tests/camel-itest-jms2/pom.xml                                 |  3 +--
 tests/camel-itest-standalone/pom.xml                           |  2 +-
 tests/camel-itest/pom.xml                                      |  2 +-
 tests/camel-partial-classpath-test/pom.xml                     |  2 +-
 tests/camel-typeconverterscan-test/pom.xml                     |  2 +-
 tooling/maven/bom-generator-maven-plugin/pom.xml               | 10 ++++++++--
 tooling/maven/camel-api-component-maven-plugin/pom.xml         |  5 +++++
 tooling/maven/camel-component-maven-plugin/pom.xml             |  5 +++++
 .../camel-eip-documentation-enricher-maven-plugin/pom.xml      |  7 +++++++
 tooling/maven/camel-package-maven-plugin/pom.xml               |  5 +++++
 tooling/maven/sync-properties-maven-plugin/pom.xml             |  6 ++++++
 tooling/openapi-rest-dsl-generator/pom.xml                     |  5 +++++
 tooling/swagger-rest-dsl-generator/pom.xml                     |  6 +++++-
 17 files changed, 74 insertions(+), 16 deletions(-)

diff --git a/dsl/camel-cli-connector/pom.xml b/dsl/camel-cli-connector/pom.xml
index 00c1f9ccc2d..8abd2c66f05 100644
--- a/dsl/camel-cli-connector/pom.xml
+++ b/dsl/camel-cli-connector/pom.xml
@@ -75,7 +75,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>
@@ -126,4 +130,4 @@
         </plugins>
     </build>
 
-</project>
\ No newline at end of file
+</project>
diff --git a/dsl/camel-componentdsl/pom.xml b/dsl/camel-componentdsl/pom.xml
index a67e5d46814..ccd0cfba20b 100644
--- a/dsl/camel-componentdsl/pom.xml
+++ b/dsl/camel-componentdsl/pom.xml
@@ -107,7 +107,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>
@@ -167,4 +171,4 @@
         </plugins>
     </build>
 
-</project>
\ No newline at end of file
+</project>
diff --git a/dsl/camel-dsl-modeline/pom.xml b/dsl/camel-dsl-modeline/pom.xml
index ef58c7188e1..92321821eb3 100644
--- a/dsl/camel-dsl-modeline/pom.xml
+++ b/dsl/camel-dsl-modeline/pom.xml
@@ -56,7 +56,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>
@@ -107,4 +111,4 @@
         </plugins>
     </build>
 
-</project>
\ No newline at end of file
+</project>
diff --git a/dsl/camel-endpointdsl/pom.xml b/dsl/camel-endpointdsl/pom.xml
index 65432be4253..5c1070ecb7d 100644
--- a/dsl/camel-endpointdsl/pom.xml
+++ b/dsl/camel-endpointdsl/pom.xml
@@ -111,7 +111,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/tests/camel-itest-jms2/pom.xml b/tests/camel-itest-jms2/pom.xml
index 1963c604c16..9c47cba9b86 100644
--- a/tests/camel-itest-jms2/pom.xml
+++ b/tests/camel-itest-jms2/pom.xml
@@ -78,10 +78,9 @@
         </dependency>
         <dependency>
             <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-1.2-api</artifactId>
+            <artifactId>log4j-core</artifactId>
             <scope>test</scope>
         </dependency>
-
     </dependencies>
 
 </project>
diff --git a/tests/camel-itest-standalone/pom.xml 
b/tests/camel-itest-standalone/pom.xml
index 0dc438e4cbe..b078abc16a5 100644
--- a/tests/camel-itest-standalone/pom.xml
+++ b/tests/camel-itest-standalone/pom.xml
@@ -56,7 +56,7 @@
         </dependency>
         <dependency>
             <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-1.2-api</artifactId>
+            <artifactId>log4j-core</artifactId>
             <scope>test</scope>
         </dependency>
 
diff --git a/tests/camel-itest/pom.xml b/tests/camel-itest/pom.xml
index 4fdd75458d1..254897b6487 100644
--- a/tests/camel-itest/pom.xml
+++ b/tests/camel-itest/pom.xml
@@ -313,7 +313,7 @@
         </dependency>
         <dependency>
             <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-1.2-api</artifactId>
+            <artifactId>log4j-core</artifactId>
             <scope>test</scope>
         </dependency>
 
diff --git a/tests/camel-partial-classpath-test/pom.xml 
b/tests/camel-partial-classpath-test/pom.xml
index 1af2d696ce7..3dabada3fbc 100644
--- a/tests/camel-partial-classpath-test/pom.xml
+++ b/tests/camel-partial-classpath-test/pom.xml
@@ -67,7 +67,7 @@
         </dependency>
         <dependency>
             <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-1.2-api</artifactId>
+            <artifactId>log4j-core</artifactId>
             <scope>test</scope>
         </dependency>
 
diff --git a/tests/camel-typeconverterscan-test/pom.xml 
b/tests/camel-typeconverterscan-test/pom.xml
index ffdf6bd5b0f..d0be88bdc1a 100644
--- a/tests/camel-typeconverterscan-test/pom.xml
+++ b/tests/camel-typeconverterscan-test/pom.xml
@@ -53,7 +53,7 @@
         </dependency>
         <dependency>
             <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-1.2-api</artifactId>
+            <artifactId>log4j-core</artifactId>
             <scope>test</scope>
         </dependency>
 
diff --git a/tooling/maven/bom-generator-maven-plugin/pom.xml 
b/tooling/maven/bom-generator-maven-plugin/pom.xml
index 6bcdbf2c174..46d1f946ef9 100644
--- a/tooling/maven/bom-generator-maven-plugin/pom.xml
+++ b/tooling/maven/bom-generator-maven-plugin/pom.xml
@@ -90,6 +90,11 @@
             <groupId>commons-io</groupId>
             <artifactId>commons-io</artifactId>
         </dependency>
+        
+        <dependency>
+            <groupId>org.apache.camel</groupId>
+            <artifactId>camel-tooling-util</artifactId>
+        </dependency>
 
         <!-- logging -->
         <dependency>
@@ -98,8 +103,9 @@
             <scope>test</scope>
         </dependency>
         <dependency>
-            <groupId>org.apache.camel</groupId>
-            <artifactId>camel-tooling-util</artifactId>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-core</artifactId>
+            <scope>test</scope>
         </dependency>
 
     </dependencies>
diff --git a/tooling/maven/camel-api-component-maven-plugin/pom.xml 
b/tooling/maven/camel-api-component-maven-plugin/pom.xml
index 05242495a47..35d445bc56f 100644
--- a/tooling/maven/camel-api-component-maven-plugin/pom.xml
+++ b/tooling/maven/camel-api-component-maven-plugin/pom.xml
@@ -149,6 +149,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>
 
         <dependency>
             <groupId>org.apache.camel</groupId>
diff --git a/tooling/maven/camel-component-maven-plugin/pom.xml 
b/tooling/maven/camel-component-maven-plugin/pom.xml
index d10dde86aad..8c78095b884 100644
--- a/tooling/maven/camel-component-maven-plugin/pom.xml
+++ b/tooling/maven/camel-component-maven-plugin/pom.xml
@@ -64,6 +64,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>
 
         <!-- testing -->
         <dependency>
diff --git 
a/tooling/maven/camel-eip-documentation-enricher-maven-plugin/pom.xml 
b/tooling/maven/camel-eip-documentation-enricher-maven-plugin/pom.xml
index 7cdfd257bc4..dc82fe65df8 100644
--- a/tooling/maven/camel-eip-documentation-enricher-maven-plugin/pom.xml
+++ b/tooling/maven/camel-eip-documentation-enricher-maven-plugin/pom.xml
@@ -105,6 +105,13 @@
             <artifactId>log4j-slf4j2-impl</artifactId>
             <scope>test</scope>
         </dependency>
+        
+        <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-core</artifactId>
+            <scope>test</scope>
+        </dependency>
+
 
         <dependency>
             <groupId>org.apache.camel</groupId>
diff --git a/tooling/maven/camel-package-maven-plugin/pom.xml 
b/tooling/maven/camel-package-maven-plugin/pom.xml
index f3fafa5e547..c8ec8bc64b0 100644
--- a/tooling/maven/camel-package-maven-plugin/pom.xml
+++ b/tooling/maven/camel-package-maven-plugin/pom.xml
@@ -168,6 +168,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>
 
         <!-- testing -->
         <dependency>
diff --git a/tooling/maven/sync-properties-maven-plugin/pom.xml 
b/tooling/maven/sync-properties-maven-plugin/pom.xml
index 415f82091e4..bdf60be7520 100644
--- a/tooling/maven/sync-properties-maven-plugin/pom.xml
+++ b/tooling/maven/sync-properties-maven-plugin/pom.xml
@@ -103,6 +103,12 @@
             <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/tooling/openapi-rest-dsl-generator/pom.xml 
b/tooling/openapi-rest-dsl-generator/pom.xml
index 9976e137a0d..81b981ae323 100644
--- a/tooling/openapi-rest-dsl-generator/pom.xml
+++ b/tooling/openapi-rest-dsl-generator/pom.xml
@@ -93,6 +93,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>
 
diff --git a/tooling/swagger-rest-dsl-generator/pom.xml 
b/tooling/swagger-rest-dsl-generator/pom.xml
index 3807da9a328..143a7f286f8 100644
--- a/tooling/swagger-rest-dsl-generator/pom.xml
+++ b/tooling/swagger-rest-dsl-generator/pom.xml
@@ -74,7 +74,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>

Reply via email to