Skip to content

Support to override some quarkus properties with the Picocli client #198

@cmoulliard

Description

@cmoulliard

TODO

Support to override some quarkus properties with the Picocli client as by example it is not possible to issue this command to change the URL of the cookbook repository

mtool analyze ./applications/demo-spring-boot-todo-app -r ./cookbook/rules/quarkus-spring --scanner openrewrite -o html -Danalyzer.rules.repo_url="https://github.com/snowdrop/migration-tool/blob/main/cookbook/rules/quarkus-spring/%s.yaml"
2026-01-13 17:18:34,249 INFO  [io.quarkus] (main) migration-cli 1.0.5-SNAPSHOT on JVM (powered by Quarkus 3.30.6) started in 0.353s. 
2026-01-13 17:18:34,252 INFO  [io.quarkus] (main) Profile prod activated. 
2026-01-13 17:18:34,252 INFO  [io.quarkus] (main) Installed features: [cdi, langchain4j, langchain4j-anthropic, picocli, qute, rest-client, rest-client-jackson, smallrye-context-propagation, vertx]
Unknown option: '-Danalyzer.rules.repo_url=https://github.com/snowdrop/migration-tool/blob/main/cookbook/rules/quarkus-spring/%s.yaml'
Usage: mtool analyze [-v] [--jdt-ls-path=<jdtLsPath>]
                     [--jdt-workspace=<jdtWorkspace>] [-o=<output>]
                     [-r=<rulesPath>] [-s=<source>] [--scanner=<scanner>]
                     [-t=<target>] <appPath>
Analyze a project for migration
      <appPath>             Path to the Java project to analyze
      --jdt-ls-path=<jdtLsPath>
                            Path to JDT-LS installation (default: from config)
      --jdt-workspace=<jdtWorkspace>
                            Path to JDT workspace directory (default: from
                              config)
  -o, --output=<output>     Export the analysing result using as format: json
                              (default), csv, html
  -r, --rules=<rulesPath>   Path to rules directory (default: from config)
  -s, --source=<source>     Source technology to consider for analysis
      --scanner=<scanner>   Scanner tool to be used to analyse the code: jdtls,
                              openrewrite
  -t, --target=<target>     Target technology to consider for analysis
  -v, --verbose             Enable verbose output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions