Claus Ibsen created CAMEL-19291:
-----------------------------------

             Summary: camel-tooling-maven - Add offline option
                 Key: CAMEL-19291
                 URL: https://issues.apache.org/jira/browse/CAMEL-19291
             Project: Camel
          Issue Type: Improvement
          Components: camel-jbang
            Reporter: Claus Ibsen


If you use camel run foo.yaml --download=false then we have NPEs and the 
dependency resolution should use the maven downloader but in offline mode, as 
it can then use what already downloaded only - like mvn --offline mode.

        // offline mode selected using for example `camel run --download` 
option - should be online by default
        session.setOffline(false);

We need an option to set this true|false

Reported in chat at
https://camel.zulipchat.com/#narrow/stream/352237-camel-jbang/topic/camel-jbang.20--download.3Dfalse.20error



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

Reply via email to