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

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


The following commit(s) were added to refs/heads/master by this push:
     new fb473f7  chore(runtime): remove hardcoded log4j dependency
     new 773b653  Merge pull request #818 from lburgazzoli/log4j2
fb473f7 is described below

commit fb473f7dc6a1b8f3c0d2a656be6327d49e25e3a3
Author: lburgazzoli <[email protected]>
AuthorDate: Tue Jul 16 11:17:51 2019 +0200

    chore(runtime): remove hardcoded log4j dependency
---
 pkg/builder/builder_steps.go      |  7 -------
 pkg/builder/builder_steps_test.go | 10 ----------
 2 files changed, 17 deletions(-)

diff --git a/pkg/builder/builder_steps.go b/pkg/builder/builder_steps.go
index 113b646..ea34d52 100644
--- a/pkg/builder/builder_steps.go
+++ b/pkg/builder/builder_steps.go
@@ -161,13 +161,6 @@ func generateProject(ctx *Context) error {
                }
        }
 
-       // Add Log4j 2 SLF4J binding as default logging impl
-       ctx.Maven.Project.AddDependency(maven.Dependency{
-               GroupID:    "org.apache.logging.log4j",
-               ArtifactID: "log4j-slf4j-impl",
-               Scope:      "runtime",
-       })
-
        return nil
 }
 
diff --git a/pkg/builder/builder_steps_test.go 
b/pkg/builder/builder_steps_test.go
index 30cfdba..61f622c 100644
--- a/pkg/builder/builder_steps_test.go
+++ b/pkg/builder/builder_steps_test.go
@@ -118,11 +118,6 @@ func TestGenerateJvmProject(t *testing.T) {
                                GroupID:    "org.apache.camel",
                                ArtifactID: "camel-properties",
                        },
-                       {
-                               GroupID:    "org.apache.logging.log4j",
-                               ArtifactID: "log4j-slf4j-impl",
-                               Scope:      "runtime",
-                       },
                },
        )
 }
@@ -308,11 +303,6 @@ func TestGenerateGroovyProject(t *testing.T) {
                                GroupID:    "org.apache.camel",
                                ArtifactID: "camel-groovy",
                        },
-                       {
-                               GroupID:    "org.apache.logging.log4j",
-                               ArtifactID: "log4j-slf4j-impl",
-                               Scope:      "runtime",
-                       },
                },
        )
 }

Reply via email to