[camel-k-runtime] branch master updated: chore(tools): make sure quarkus catalog name start with "camel-catalog-"

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[camel-k-runtime] branch master updated: chore(tools): make sure quarkus catalog name start with "camel-catalog-"

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

astefanutti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git


The following commit(s) were added to refs/heads/master by this push:
     new aff4166  chore(tools): make sure quarkus catalog name start with "camel-catalog-"
aff4166 is described below

commit aff4166e9091c993db03463618d7e466443e427b
Author: Nicola Ferraro <[hidden email]>
AuthorDate: Wed Nov 13 13:38:32 2019 +0100

    chore(tools): make sure quarkus catalog name start with "camel-catalog-"
---
 .../main/java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tooling/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java b/tooling/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java
index ad91b27..8b3650f 100644
--- a/tooling/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java
+++ b/tooling/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java
@@ -152,7 +152,7 @@ public class GenerateCatalogMojo extends AbstractMojo {
             try (Writer writer = Files.newBufferedWriter(output, StandardCharsets.UTF_8)) {
                 String catalogName;
                 if ("quarkus".equals(runtime)) {
-                    catalogName = String.format("camel-%s-catalog-%s-%s",
+                    catalogName = String.format("camel-catalog-%s-%s-%s",
                         runtime,
                         getVersionFor("/META-INF/maven/org.apache.camel.quarkus/camel-catalog-quarkus/pom.properties"),
                         getRuntimeVersion().toLowerCase()