[ 
https://issues.apache.org/jira/browse/CAMEL-19486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17736037#comment-17736037
 ] 

Claus Ibsen edited comment on CAMEL-19486 at 6/22/23 9:17 AM:
--------------------------------------------------------------

You need to use #name syntax in newer versions

{code}
~/workspace/deleteme ❯ camel run foo.java  
--repos=#repos,http://maven.repository.redhat.com/ga                            
                                ✘ INT 6s
Running integration with the following configuration:
    
--repos=https://packages.atlassian.com/maven-external,http://maven.repository.redhat.com/ga
2023-06-22 11:16:54.713  INFO 17802 --- [           main] 
org.apache.camel.main.MainSupport   : Apache Camel (JBang) 4.0.0-SNAPSHOT is 
starting
{code}


was (Author: davsclaus):
You need to use #name syntax in newer versions

~/workspace/deleteme ❯ camel run foo.java  
--repos=#repos,http://maven.repository.redhat.com/ga                            
                                ✘ INT 6s
Running integration with the following configuration:
    
--repos=https://packages.atlassian.com/maven-external,http://maven.repository.redhat.com/ga
2023-06-22 11:16:54.713  INFO 17802 --- [           main] 
org.apache.camel.main.MainSupport   : Apache Camel (JBang) 4.0.0-SNAPSHOT is 
starting

> The $repos placeholder used by Camel JBang is not resolved
> ----------------------------------------------------------
>
>                 Key: CAMEL-19486
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19486
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jbang
>    Affects Versions: 3.20.5, 3.20.6
>            Reporter: Dominik Jelinek
>            Priority: Minor
>             Fix For: 3.20.7, 3.21.0, 4.0-RC1, 4.0.0
>
>         Attachments: 246371094-462f078a-2587-4beb-8856-b79e19dcddcd.png
>
>
> in the attached picture you can see I tried to set one repository as global 
> and then run command with another repository which should mean to have both 
> used
>  
> the global config list
> {code:java}
> » camel config list                                                           
>                                                                               
>                                                                               
>                                                                               
>   
> repos = https://packages.atlassian.com/maven-external {code}
>  
> when I execute eg camel jbang run, in the log there is
> {code:java}
> --repos=,https//....{code}
> which indicates that "$repos" placeholder is empty probably...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to