You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2021/08/18 16:24:48 UTC

[camel-k-runtime] branch main updated: Added quarkus-logging-json as a runtime dependency

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 9bdcc65  Added quarkus-logging-json as a runtime dependency
9bdcc65 is described below

commit 9bdcc654d46526ead8558b8ed6e71cee3d51c00a
Author: Otavio Rodolfo Piske <op...@redhat.com>
AuthorDate: Wed Aug 18 11:25:14 2021 +0200

    Added quarkus-logging-json as a runtime dependency
    
    As part of GH issue apache/camel-k#2541, moved the dependency to the
    runtime to ensure it's always present, even with custom base images or other
    customizations. This also allow us to manage the dependencies on a
    single place instead of spreading them over the codebase.
---
 .../main/java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/support/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java b/support/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java
index 02c562d..c98c555 100644
--- a/support/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java
+++ b/support/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java
@@ -120,6 +120,7 @@ public class GenerateCatalogMojo extends AbstractMojo {
 
             runtimeSpec.applicationClass("io.quarkus.bootstrap.runner.QuarkusEntryPoint");
             runtimeSpec.addDependency("org.apache.camel.k", "camel-k-runtime");
+            runtimeSpec.addDependency("io.quarkus", "quarkus-logging-json");
             runtimeSpec.putCapability(
                 "cron",
                 CamelCapability.forArtifact(