You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ji...@apache.org on 2024/03/14 14:02:48 UTC
(camel-quarkus) 20/26: Fix path to custom component JSON metadata
This is an automated email from the ASF dual-hosted git repository.
jiriondrusek pushed a commit to branch camel-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit a72c1b6e890eec572908ba7c1ce0dab111559e7a
Author: James Netherton <ja...@gmail.com>
AuthorDate: Tue Mar 12 15:52:13 2024 +0000
Fix path to custom component JSON metadata
---
.../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 4c9e91aed6..625eafdacc 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
@@ -95,7 +95,7 @@ public class PrepareCatalogQuarkusMojo extends AbstractExtensionListMojo {
final String artifactIdBase = ext.getArtifactIdBase();
final Path schemaFile = ext
.getExtensionDir()
- .resolve("component/src/generated/resources/org/apache/camel/component/"
+ .resolve("component/src/generated/resources/META-INF/org/apache/camel/component/"
+ artifactIdBase + "/" + artifactIdBase + ".json")
.toAbsolutePath().normalize();
if (Files.isRegularFile(schemaFile)) {