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

christophd 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 d3a8edcb218c CAMEL-26402: camel-jbang-plugin-test - use 
citrus-junit-jupiter for Citrus 5.x
d3a8edcb218c is described below

commit d3a8edcb218c1eeee91a5efb3f3f92bc3e31ee29
Author: Ricardo M. <[email protected]>
AuthorDate: Thu Oct 29 10:56:23 2026 +0100

    CAMEL-26402: camel-jbang-plugin-test - use citrus-junit-jupiter for Citrus 
5.x
    
    Fixes https://issues.apache.org/jira/browse/CAMEL-26402
---
 .../apache/camel/dsl/jbang/core/commands/test/TestPluginExporter.java | 2 +-
 .../org/apache/camel/dsl/jbang/core/commands/test/TestPluginTest.java | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git 
a/dsl/camel-jbang/camel-jbang-plugin-test/src/main/java/org/apache/camel/dsl/jbang/core/commands/test/TestPluginExporter.java
 
b/dsl/camel-jbang/camel-jbang-plugin-test/src/main/java/org/apache/camel/dsl/jbang/core/commands/test/TestPluginExporter.java
index b3db94123827..796363d7f5a9 100644
--- 
a/dsl/camel-jbang/camel-jbang-plugin-test/src/main/java/org/apache/camel/dsl/jbang/core/commands/test/TestPluginExporter.java
+++ 
b/dsl/camel-jbang/camel-jbang-plugin-test/src/main/java/org/apache/camel/dsl/jbang/core/commands/test/TestPluginExporter.java
@@ -80,7 +80,7 @@ public class TestPluginExporter implements PluginExporter {
 
         // add default Citrus dependencies as defined in Citrus JBang
         deps.add(asDependency("citrus-base"));
-        deps.add(asDependency("citrus-junit5"));
+        deps.add(asDependency("citrus-junit-jupiter"));
         deps.add(asDependency("citrus-http"));
         deps.add(asDependency("citrus-yaml"));
         deps.add(asDependency("citrus-xml"));
diff --git 
a/dsl/camel-jbang/camel-jbang-plugin-test/src/test/java/org/apache/camel/dsl/jbang/core/commands/test/TestPluginTest.java
 
b/dsl/camel-jbang/camel-jbang-plugin-test/src/test/java/org/apache/camel/dsl/jbang/core/commands/test/TestPluginTest.java
index d753789600d5..afc5b28f92ea 100644
--- 
a/dsl/camel-jbang/camel-jbang-plugin-test/src/test/java/org/apache/camel/dsl/jbang/core/commands/test/TestPluginTest.java
+++ 
b/dsl/camel-jbang/camel-jbang-plugin-test/src/test/java/org/apache/camel/dsl/jbang/core/commands/test/TestPluginTest.java
@@ -119,6 +119,10 @@ class TestPluginTest {
             TestPluginExporter exporter = new TestPluginExporter();
             Set<String> deps = exporter.getDependencies(RuntimeType.quarkus);
             Assertions.assertFalse(deps.isEmpty());
+            
Assertions.assertTrue(deps.contains("mvn@test:org.citrusframework:citrus-junit-jupiter:${citrus.version}"),
+                    "Should include citrus-junit-jupiter dependency");
+            
Assertions.assertFalse(deps.contains("mvn@test:org.citrusframework:citrus-junit5:${citrus.version}"),
+                    "Should not include legacy citrus-junit5 dependency");
             for (String dep : deps) {
                 Assertions.assertFalse(dep.contains("\\"),
                         "Dependency should not contain backslash escapes: " + 
dep);

Reply via email to