You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by as...@apache.org on 2019/04/06 15:50:59 UTC

[camel-k-runtime] branch master updated: logging: add log4j to camel-k bom

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

astefanutti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git


The following commit(s) were added to refs/heads/master by this push:
     new a21b40e  logging: add log4j to camel-k bom
a21b40e is described below

commit a21b40e617436a479a4521ae4f11e6a3c438ef9d
Author: lburgazzoli <lb...@gmail.com>
AuthorDate: Sat Apr 6 16:50:07 2019 +0200

    logging: add log4j to camel-k bom
---
 camel-k-runtime-bom/pom.xml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/camel-k-runtime-bom/pom.xml b/camel-k-runtime-bom/pom.xml
index 4e4731d..58d27ae 100644
--- a/camel-k-runtime-bom/pom.xml
+++ b/camel-k-runtime-bom/pom.xml
@@ -31,6 +31,10 @@
     <version>0.3.2-SNAPSHOT</version>
     <packaging>pom</packaging>
 
+    <properties>
+        <log4j2.version>2.11.2</log4j2.version>
+    </properties>
+
     <developers>
         <developer>
             <name>The Apache Camel Team</name>
@@ -85,6 +89,7 @@
 
     <dependencyManagement>
         <dependencies>
+            <!-- camel-k -->
             <dependency>
                 <groupId>org.apache.camel.k</groupId>
                 <artifactId>camel-k-maven-plugin</artifactId>
@@ -140,6 +145,19 @@
                 <artifactId>camel-knative-http</artifactId>
                 <version>${project.version}</version>
             </dependency>
+
+            <!-- log4j2 -->
+            <dependency>
+                <groupId>org.apache.logging.log4j</groupId>
+                <artifactId>log4j-core</artifactId>
+                <version>${log4j2.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.logging.log4j</groupId>
+                <artifactId>log4j-slf4j-impl</artifactId>
+                <version>${log4j2.version}</version>
+                <scope>runtime</scope>
+            </dependency>
         </dependencies>
     </dependencyManagement>