Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-19291

camel-tooling-maven - Add offline option

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • camel-jbang
    • None
    • Unknown

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: