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

apupier pushed a commit to branch camel-4.22.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-4.22.x by this push:
     new 6b303da9ee78 Fix Camel JBang IT Tests outside of Maven - specific to 
4.22.x
6b303da9ee78 is described below

commit 6b303da9ee781b8e4dc6a2d6fea54fd7f28c1988
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Fri Sep 4 13:03:24 2026 +0200

    Fix Camel JBang IT Tests outside of Maven - specific to 4.22.x
    
    it is still failing with Maven. It fails to find the 4.22.1-SNAPSHOT of
    camel-jbang-core. The difference is due to camelJbangVersion set to
    4.22.1-SNAPSHOT, although when launched in an IDE by default, it is
    `default`
    so not yet enough to fix the 4.22.x branch but at least moving forward
    
    Signed-off-by: AurĂ©lien Pupier <[email protected]>
---
 dsl/camel-jbang/camel-jbang-it/pom.xml                                  | 2 +-
 .../apache/camel/test/infra/cli/services/CliLocalContainerService.java  | 2 +-
 .../apache/camel/test/infra/cli/services/CliLocalProcessService.java    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dsl/camel-jbang/camel-jbang-it/pom.xml 
b/dsl/camel-jbang/camel-jbang-it/pom.xml
index c8b7deca83ab..51d5d4613d50 100644
--- a/dsl/camel-jbang/camel-jbang-it/pom.xml
+++ b/dsl/camel-jbang/camel-jbang-it/pom.xml
@@ -206,7 +206,7 @@
             <properties>
                 <cli.jbang.version>${project.version}</cli.jbang.version>
                 <cli.jbang.repo>apache/camel</cli.jbang.repo>
-                <cli.jbang.branch>main</cli.jbang.branch>
+                <cli.jbang.branch>camel-4.22.x</cli.jbang.branch>
                 <cli.jbang.docker.file />
                 <cli.service.command>camel</cli.service.command>
                 <export.runtime />
diff --git 
a/test-infra/camel-test-infra-cli/src/main/java/org/apache/camel/test/infra/cli/services/CliLocalContainerService.java
 
b/test-infra/camel-test-infra-cli/src/main/java/org/apache/camel/test/infra/cli/services/CliLocalContainerService.java
index 1fc0dfe19f7d..2ee5247d6849 100644
--- 
a/test-infra/camel-test-infra-cli/src/main/java/org/apache/camel/test/infra/cli/services/CliLocalContainerService.java
+++ 
b/test-infra/camel-test-infra-cli/src/main/java/org/apache/camel/test/infra/cli/services/CliLocalContainerService.java
@@ -48,7 +48,7 @@ public class CliLocalContainerService implements CliService, 
ContainerService<Cl
     public CliLocalContainerService() {
         this(new CliBuiltContainer.CliBuiltContainerParams()
                 .setCamelRepo(System.getProperty(CliProperties.REPO, 
"apache/camel"))
-                .setCamelRef(System.getProperty(CliProperties.BRANCH, "main"))
+                .setCamelRef(System.getProperty(CliProperties.BRANCH, 
"camel-4.22.x"))
                 
.setCamelJBangVersion(System.getProperty(CliProperties.VERSION, "default"))
                 .setKeepContainerRunning(true)
                 .setDataFolder(System.getProperty(CliProperties.DATA_FOLDER))
diff --git 
a/test-infra/camel-test-infra-cli/src/main/java/org/apache/camel/test/infra/cli/services/CliLocalProcessService.java
 
b/test-infra/camel-test-infra-cli/src/main/java/org/apache/camel/test/infra/cli/services/CliLocalProcessService.java
index d3226cb02632..0e2b8787aa26 100644
--- 
a/test-infra/camel-test-infra-cli/src/main/java/org/apache/camel/test/infra/cli/services/CliLocalProcessService.java
+++ 
b/test-infra/camel-test-infra-cli/src/main/java/org/apache/camel/test/infra/cli/services/CliLocalProcessService.java
@@ -65,7 +65,7 @@ public class CliLocalProcessService implements CliService {
 
     public CliLocalProcessService() {
         this.repo = System.getProperty(CliProperties.REPO, "apache/camel");
-        this.branch = System.getProperty(CliProperties.BRANCH, "main");
+        this.branch = System.getProperty(CliProperties.BRANCH, "camel-4.22.x");
         this.jbangVersion = System.getProperty(CliProperties.VERSION, 
"default");
         this.forceToRunVersion = 
System.getProperty(CliProperties.FORCE_RUN_VERSION, "");
         this.mavenRepos = System.getProperty(CliProperties.MVN_REPOS);

Reply via email to