diff --git a/tooling/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java b/tooling/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java index b4994ec8a..d914df718 100644 --- a/tooling/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java +++ b/tooling/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java @@ -123,6 +123,9 @@ public void execute() throws MojoExecutionException, MojoFailureException { catalog.setRuntimeProvider(new DefaultRuntimeProvider()); runtimeSpec.applicationClass("org.apache.camel.k.main.Application"); runtimeSpec.addDependency("org.apache.camel.k", "camel-k-runtime-main"); + runtimeSpec.putCapability( + "cron", + CamelCapability.forArtifact("org.apache.camel.k", "camel-k-runtime-cron")); runtimeSpec.putCapability( "health", CamelCapability.forArtifact("org.apache.camel.k", "camel-k-runtime-health")); @@ -137,6 +140,9 @@ public void execute() throws MojoExecutionException, MojoFailureException { catalog.setRuntimeProvider(new QuarkusRuntimeProvider()); runtimeSpec.applicationClass("io.quarkus.runner.GeneratedMain"); runtimeSpec.addDependency("org.apache.camel.k", "camel-k-runtime-quarkus"); + runtimeSpec.putCapability( + "cron", + CamelCapability.forArtifact("org.apache.camel.k", "camel-k-runtime-cron")); runtimeSpec.putCapability( "health", CamelCapability.forArtifact("org.apache.camel.quarkus", "camel-quarkus-microprofile-health"));