You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2023/01/24 08:38:56 UTC

[camel-k-runtime] branch 953/update-dsl-metadata updated (ad70a3a0 -> f5110daa)

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

nfilotto pushed a change to branch 953/update-dsl-metadata
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git


 discard ad70a3a0 Ref #953: Update DSLs metadata
     new f5110daa Ref #953: Update DSLs metadata

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (ad70a3a0)
            \
             N -- N -- N   refs/heads/953/update-dsl-metadata (f5110daa)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


[camel-k-runtime] 01/01: Ref #953: Update DSLs metadata

Posted by nf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

nfilotto pushed a commit to branch 953/update-dsl-metadata
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git

commit f5110daa88682ddb7ad4794d1e4a9a99026eda8c
Author: Nicolas Filotto <nf...@talend.com>
AuthorDate: Tue Jan 24 09:36:56 2023 +0100

    Ref #953: Update DSLs metadata
---
 .../camel/k/tooling/maven/GenerateCatalogMojo.java   | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

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 1d598aec..59ae3b9f 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
@@ -370,7 +370,8 @@ public class GenerateCatalogMojo extends AbstractMojo {
                 "groovy",
                 CamelLoader.fromArtifact("org.apache.camel.quarkus", "camel-quarkus-groovy-dsl")
                     .addLanguage("groovy")
-                    .putMetadata("native", "false")
+                    .putMetadata("native", "true")
+                    .putMetadata("sources-required-at-build-time", "true")
                     .build()
             );
         }
@@ -379,7 +380,8 @@ public class GenerateCatalogMojo extends AbstractMojo {
                 "kts",
                 CamelLoader.fromArtifact("org.apache.camel.quarkus", "camel-quarkus-kotlin-dsl")
                     .addLanguage("kts")
-                    .putMetadata("native", "false")
+                    .putMetadata("native", "true")
+                    .putMetadata("sources-required-at-build-time", "true")
                     .build()
             );
         }
@@ -389,6 +391,7 @@ public class GenerateCatalogMojo extends AbstractMojo {
                 CamelLoader.fromArtifact("org.apache.camel.quarkus", "camel-quarkus-js-dsl")
                     .addLanguage("js")
                     .putMetadata("native", "true")
+                    .putMetadata("guest-language", "true")
                     .build()
             );
         }
@@ -406,7 +409,18 @@ public class GenerateCatalogMojo extends AbstractMojo {
                 "java",
                 CamelLoader.fromArtifact("org.apache.camel.quarkus", "camel-quarkus-java-joor-dsl")
                     .addLanguages("java")
-                    .putMetadata("native", "false")
+                    .putMetadata("native", "true")
+                    .putMetadata("sources-required-at-build-time", "true")
+                    .build()
+            );
+        }
+        if (dslsExclusionList != null && !dslsExclusionList.contains("jsh")) {
+            specBuilder.putLoader(
+                "jsh",
+                CamelLoader.fromArtifact("org.apache.camel.quarkus", "camel-quarkus-jsh-dsl")
+                    .addLanguages("jsh")
+                    .putMetadata("native", "true")
+                    .putMetadata("sources-required-at-build-time", "true")
                     .build()
             );
         }