diff --git a/pkg/builder/builder_steps.go b/pkg/builder/builder_steps.go index 113b6467e5..ea34d529ab 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 30cfdbaf07..61f622c343 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", - }, }, ) }