You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2019/08/11 15:09:28 UTC

[camel-quarkus] 02/03: chore(build): fix common extension detection

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

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

commit 19f1474755df32256cf77d722ab2dc613175b12b
Author: lburgazzoli <lb...@gmail.com>
AuthorDate: Sun Aug 11 17:09:01 2019 +0200

    chore(build): fix common extension detection
---
 build/scripts/list-camel-quarkus-extensions.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build/scripts/list-camel-quarkus-extensions.groovy b/build/scripts/list-camel-quarkus-extensions.groovy
index a9a896b..a2d0caa 100644
--- a/build/scripts/list-camel-quarkus-extensions.groovy
+++ b/build/scripts/list-camel-quarkus-extensions.groovy
@@ -28,7 +28,7 @@ final Set componentExtensions = new TreeSet()
 final Set commonExtensions = new TreeSet()
 pom.modules.module.each { node ->
     final String key = node.text().trim()
-    if (key.endsWith("core") || key.endsWith("-common")) {
+    if (key.startsWith("core") || key.endsWith("-common")) {
         commonExtensions.add(key)
     } else {
         componentExtensions.add(key)