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

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


The following commit(s) were added to refs/heads/main by this push:
     new f2f7eb6391 Fix population of catalog models when 
extendClassPathCatalog is in use
f2f7eb6391 is described below

commit f2f7eb63911116feca279449959618e5e2fcb3d9
Author: James Netherton <jamesnether...@gmail.com>
AuthorDate: Tue Mar 11 16:31:12 2025 +0000

    Fix population of catalog models when extendClassPathCatalog is in use
---
 .../java/org/apache/camel/quarkus/maven/PrepareCatalogQuarkusMojo.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/PrepareCatalogQuarkusMojo.java
 
b/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/PrepareCatalogQuarkusMojo.java
index 025f6ba3fc..012d028eb0 100644
--- 
a/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/PrepareCatalogQuarkusMojo.java
+++ 
b/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/PrepareCatalogQuarkusMojo.java
@@ -94,7 +94,7 @@ public class PrepareCatalogQuarkusMojo extends 
AbstractExtensionListMojo {
         final CqCatalog catalog = CqCatalog.findFirstFromClassPath();
         if (extendClassPathCatalog) {
             catalog.store(catalogBaseDir.toPath());
-            catalog.models().forEach(model -> 
schemesByKind.get(model.getKind()).add(model.getName()));
+            catalog.models().forEach(model -> 
schemesByKind.get(model.getKind().toString()).add(model.getName()));
         }
 
         findExtensions()

Reply via email to