You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by fm...@apache.org on 2025/09/17 09:03:30 UTC

(camel) branch main updated: Fix camel.jbang.repo option

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

fmariani 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 80a75410269 Fix camel.jbang.repo option
80a75410269 is described below

commit 80a754102690130d34e6c2e19bfc6aeb0e43d49f
Author: Salvatore Mongiardo <sm...@redhat.com>
AuthorDate: Tue Sep 16 17:39:45 2025 +0200

    Fix camel.jbang.repo option
---
 .../org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java
index 3429a14c0c6..34cebfef590 100644
--- a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java
+++ b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java
@@ -959,7 +959,7 @@ public abstract class ExportBaseCommand extends CamelCommand {
     protected String getMavenRepositories(Path settings, Properties prop, String camelVersion) throws Exception {
         Set<String> answer = new LinkedHashSet<>();
 
-        String propRepositories = prop.getProperty(CLASSPATH_FILES);
+        String propRepositories = prop.getProperty(REPOS);
         if (propRepositories != null) {
             answer.add(propRepositories);
         }