This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch camel-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/camel-main by this push:
new 58991cded4 Fix path to custom component JSON metadata
58991cded4 is described below
commit 58991cded4287a7c7d4bc279d062f8ab138c064a
Author: James Netherton <[email protected]>
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)) {