This is an automated email from the ASF dual-hosted git repository.
pcongiusti 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 453403a chore(deps): move quarkus-logging-json dependency to pom
453403a is described below
commit 453403a26723bf553e4eb7a96fa9bdfa33cdc37b
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Wed Oct 27 10:59:56 2021 +0200
chore(deps): move quarkus-logging-json dependency to pom
In order to have a cleaner dependency management, we need to move the
declaration of this runtime dependency and have it declared in camel-k-runtime
pom.
---
camel-k-runtime/deployment/pom.xml | 4 ++++
camel-k-runtime/runtime/pom.xml | 4 ++++
.../java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java | 1 -
3 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/camel-k-runtime/deployment/pom.xml
b/camel-k-runtime/deployment/pom.xml
index 88f7950..190653d 100644
--- a/camel-k-runtime/deployment/pom.xml
+++ b/camel-k-runtime/deployment/pom.xml
@@ -40,6 +40,10 @@
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-bean-deployment</artifactId>
</dependency>
+ <dependency>
+ <groupId>io.quarkus</groupId>
+ <artifactId>quarkus-logging-json-deployment</artifactId>
+ </dependency>
</dependencies>
<build>
diff --git a/camel-k-runtime/runtime/pom.xml b/camel-k-runtime/runtime/pom.xml
index 0bbc97b..47a1af4 100644
--- a/camel-k-runtime/runtime/pom.xml
+++ b/camel-k-runtime/runtime/pom.xml
@@ -36,6 +36,10 @@
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-bean</artifactId>
</dependency>
+ <dependency>
+ <groupId>io.quarkus</groupId>
+ <artifactId>quarkus-logging-json</artifactId>
+ </dependency>
</dependencies>
<build>
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 656503e..9d2717c 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
@@ -181,7 +181,6 @@ 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");
if (capabilitiesExclusionList != null &&
!capabilitiesExclusionList.contains("cron")) {
runtimeSpec.putCapability(