You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/04/24 05:17:00 UTC
[jira] [Created] (CAMEL-19291) camel-tooling-maven - Add offline option
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)