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

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


The following commit(s) were added to refs/heads/main by this push:
     new 060ae928d32 Update Pattern to consider more kamelet and bse-engine 
versions (#17835)
060ae928d32 is described below

commit 060ae928d32b0a7be862e2f602984b0e29c369cf
Author: Federico Mariani <[email protected]>
AuthorDate: Tue Apr 22 16:46:26 2025 +0200

    Update Pattern to consider more kamelet and bse-engine versions (#17835)
---
 .../src/main/java/org/apache/camel/main/util/VersionHelper.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/util/VersionHelper.java
 
b/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/util/VersionHelper.java
index 4b326da52f9..8dca7ac5d82 100644
--- 
a/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/util/VersionHelper.java
+++ 
b/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/util/VersionHelper.java
@@ -29,9 +29,9 @@ public final class VersionHelper {
     private static String camelVersion;
 
     private static final String KAMELETS_DEFAULT_VERSION = "4.8.0";
-    private static final Pattern KAMELETS_LIBRARY = 
Pattern.compile("camel-kamelets-(\\d[A-Z\\d.-]*).jar", Pattern.DOTALL);
+    private static final Pattern KAMELETS_LIBRARY = 
Pattern.compile("camel-kamelets-(\\d[\\w\\d.-]*).jar", Pattern.DOTALL);
     private static final Pattern CAMEL_BASE_ENGINE_LIBRARY
-            = Pattern.compile("camel-base-engine-(\\d[A-Z\\d.-]*).jar", 
Pattern.DOTALL);
+            = Pattern.compile("camel-base-engine-(\\d[\\w\\d.-]*).jar", 
Pattern.DOTALL);
 
     private static final String CP = System.getProperty("java.class.path");
 

Reply via email to