You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Tadayoshi Sato (Jira)" <ji...@apache.org> on 2022/12/19 06:06:00 UTC

[jira] [Commented] (CAMEL-18823) Provide option to download dependencies to a specific folder with Camel JBang/camel CLI

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

Tadayoshi Sato commented on CAMEL-18823:
----------------------------------------

[~apupier] By the way, there is a new {{camel dependencies}} command in Camel 3.20.0 release, which has similar features:
{code}
$ camel dependencies -h
Usage: camel dependencies [-h] [--fresh] [--gradle-wrapper] [--logging]
                          [--maven-wrapper] [--quiet]
                          [--build-tool=<buildTool>]
                          [--camel-spring-boot-version=<camelSpringBootVersion>]
                           [--dep=<dependencies>] [-dir=<exportDir>]
                          [--gav=<gav>] [--java-version=<javaVersion>]
                          [--kamelets-version=<kameletsVersion>]
                          [--local-kamelet-dir=<localKameletDir>]
                          [--logging-level=<loggingLevel>]
                          [--main-classname=<mainClassname>]
                          [--output=<output>] [--profile=<profile>]
                          [--quarkus-artifact-id=<quarkusArtifactId>]
                          [--quarkus-group-id=<quarkusGroupId>]
                          [--quarkus-version=<quarkusVersion>]
                          [--runtime=<runtime>]
                          [--spring-boot-version=<springBootVersion>]
Displays all Camel dependencies required to run
      --build-tool=<buildTool>
                            Build tool to use (maven or gradle)
      --camel-spring-boot-version=<camelSpringBootVersion>
                            Camel version to use with Spring Boot
      --dep, --deps=<dependencies>
                            Add additional dependencies (Use commas to separate
                              multiple dependencies).
      -dir, --directory=<exportDir>
                            Directory where the project will be exported
      --fresh               Make sure we use fresh (i.e. non-cached) resources
      --gav=<gav>           The Maven group:artifact:version
      --gradle-wrapper      Include Gradle Wrapper files in exported project
  -h, --help                Display the help and sub-commands
      --java-version=<javaVersion>
                            Java version (11 or 17)
      --kamelets-version=<kameletsVersion>
                            Apache Camel Kamelets version
      --local-kamelet-dir=<localKameletDir>
                            Local directory for loading Kamelets (takes
                              precedence)
      --logging             Can be used to turn on logging (logs to file in
                              <user home>/.camel directory)
      --logging-level=<loggingLevel>
                            Logging level
      --main-classname=<mainClassname>
                            The class name of the Camel Main application class
      --maven-wrapper       Include Maven Wrapper files in exported project
      --output=<output>     Output format (gav or maven)
      --profile=<profile>   Profile to use, which refers to loading properties
                              file with the given profile name. By default
                              application.properties is loaded.
      --quarkus-artifact-id=<quarkusArtifactId>
                            Quarkus Platform Maven artifactId
      --quarkus-group-id=<quarkusGroupId>
                            Quarkus Platform Maven groupId
      --quarkus-version=<quarkusVersion>
                            Quarkus Platform version
      --quiet               Will be quiet, only print when error occurs
      --runtime=<runtime>   Runtime (spring-boot, quarkus, or camel-main)
      --spring-boot-version=<springBootVersion>
                            Spring Boot version
{code}

> Provide option to download dependencies to a specific folder with Camel JBang/camel CLI
> ---------------------------------------------------------------------------------------
>
>                 Key: CAMEL-18823
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18823
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-jbang
>            Reporter: Aurélien Pupier
>            Priority: Major
>
> Camel K 1.11 is deprecating _kamel local_ with the idea to move features in camel cli
> A functionality used by VS Code Camel K was to download dependencies in a specific folder using something like: _kamel local build --integration-directory "<myDir>" MyRoute.java_
> Currently camel cli allows to gather list of depednencies but not to download them [https://camel.apache.org/manual/camel-jbang.html#_gathering_list_of_dependencies]
> it would be convenient to have an option to download the dependencies in a specific folder.



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