• Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • MTA Documentation
    • None
    • False
    • False
    • Hide
      * *Why we missed the bug?*
       ** Pick to proper answer from drop-down field upper.
       +_Additional comments:_+


       * *What is required:*
       ** Pick to proper answer from drop-down field upper.
       +_Additional comments:_+
      Show
      * *Why we missed the bug?*  ** Pick to proper answer from drop-down field upper.  +_Additional comments:_+  * *What is required:*  ** Pick to proper answer from drop-down field upper.  +_Additional comments:_+
    • ---
    • ---
    • None

      richard.hochHi Richard,
      For Release 5.3.0 we will need to update the MTA CLi Guide as the command for running openrewrite recipes has changed. We have introduced an additional parameter
      -DconfigLocation which is the path to a rewrite.yml file.

      For example

      ./mta-cli --openrewrite --input /home/pcattana/temp/spring-to-quarkus-todo "-DconfigLocation=/home/pcattana/mta-cli-5.2.2-SNAPSHOT/rules/openrewrite/sb-quarkus/properties/rewrite.yml" "-DactiveRecipes=org.jboss.windup.sb-quarkus.Properties" --goal dryRun

      For the purpose of the docs we could use the term <path/to/rewrite.yaml>
      And explain the shipped rewrite.yaml configuration files are located in
      MTA_HOME/rules/openrewrite/target/source/properties folders.

              richard.hoch Richard Hoch
              pcattana Philip Cattanach
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: