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 24dc85f3 feat: add a deprecation metadata to languages no longer 
supported
24dc85f3 is described below

commit 24dc85f36d66856deaaac29862d53b045125a1ff
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Wed Sep 11 15:19:36 2024 +0200

    feat: add a deprecation metadata to languages no longer supported
---
 .../java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java     | 3 +++
 1 file changed, 3 insertions(+)

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 6f8c9a61..d087f359 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
@@ -305,6 +305,7 @@ public class GenerateCatalogMojo extends AbstractMojo {
                 "kts",
                 CamelLoader.fromArtifact("org.apache.camel.quarkus", 
"camel-quarkus-kotlin-dsl")
                     .addLanguage("kts")
+                    .putMetadata("deprecated", "true")
                     .putMetadata("native", "true")
                     .putMetadata("sources-required-at-build-time", "true")
                     .build()
@@ -315,6 +316,7 @@ public class GenerateCatalogMojo extends AbstractMojo {
                 "js",
                 CamelLoader.fromArtifact("org.apache.camel.quarkus", 
"camel-quarkus-js-dsl")
                     .addLanguage("js")
+                    .putMetadata("deprecated", "true")
                     // Guest languages are not yet supported on Mandrel in 
native mode.
                     .putMetadata("native", "false")
                     .build()
@@ -344,6 +346,7 @@ public class GenerateCatalogMojo extends AbstractMojo {
                 "jsh",
                 CamelLoader.fromArtifact("org.apache.camel.quarkus", 
"camel-quarkus-jsh-dsl")
                     .addLanguages("jsh")
+                    .putMetadata("deprecated", "true")
                     // Native mode is not yet supported due to 
https://github.com/apache/camel-quarkus/issues/4458.
                     .putMetadata("native", "false")
                     .putMetadata("sources-required-at-build-time", "true")

Reply via email to