Skip to content

Commit b538b19

Browse files
authored
Merge pull request #91 from migtools/MTA-4591
to be merged - [7.2.1] Adjustments for the CLI guide
2 parents 1c1beea + f5e4ee5 commit b538b19

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

docs/cli-guide/master.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ include::topics/mta-cli-run-single-app.adoc[leveloffset=+3]
6666

6767
include::topics/mta-cli-run-multiple-apps.adoc[leveloffset=+3]
6868

69-
include::topics/proc_running-the-containerless-mta-cli.adoc[leveloffset=+3]
70-
7169
// Analyze application source code
7270
include::topics/mta-cli-analyze.adoc[leveloffset=+3]
7371

72+
include::topics/proc_running-the-containerless-mta-cli.adoc[leveloffset=+3]
73+
7474
// Transform XML rules to YAML
7575
include::topics/mta-cli-transform.adoc[leveloffset=+3]
7676

docs/topics/installing-cli-tool.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ However, if you want to analyze applications in languages other than Java or, fo
3434
* {ProductShortNameLower}-{ProductVersion}-cli-windows.zip
3535
* {ProductShortNameLower}-{ProductVersion}-cli-src.zip
3636

37-
. Extract the `.zip` file to a directory of your choice. The `.zip` file extracts a single binary, called *mta-cli*.
37+
. Extract the `.zip` file to the `.kantra` directory inside your `$HOME` directory. The `.zip` file extracts the *mta-cli* binary, along with other required directories and files.
3838
+
3939
When you encounter `<{ProductShortName}_HOME>` in this guide, replace it with the actual path to your {ProductShortName} installation.
4040

docs/topics/mta-cli-analyze.adoc

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,8 @@ Flags:
4646
--jaeger-endpoint (string) Jaeger endpoint to collect traces.
4747
--json-output Create analysis and dependency
4848
output as JSON.
49-
--list-sources List rules for available
50-
migration sources.
51-
--list-targets List rules for available
52-
migration targets.
49+
--list-sources List available migration sources.
50+
--list-targets List available migration targets.
5351
-l, --label-selector (string) Run rules based on specified label
5452
selector expression.
5553
--maven-settings (string) Path to the custom maven
@@ -66,6 +64,14 @@ Flags:
6664
--overwrite Overwrite output directory.
6765
--rules (stringArray) Filename or directory containing
6866
rule files.
67+
--run-local Run analysis directly on
68+
local system without containers
69+
(for Java and Maven).
70+
Starting from {ProductShortName} 7.2.0,
71+
containerless CLI is the default
72+
mode (`--run-local=true`).
73+
You can enable container runtime
74+
usage by setting `--run-local` to `false`.
6975
--skip-static-report Do not generate the static report.
7076
-s, --source (string) Source technology to consider
7177
for analysis.

docs/topics/proc_running-the-containerless-mta-cli.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ In {ProductShortName} 7.2.0 and later, containerless CLI is a default mode. To e
1919
.Prerequisites
2020

2121
* You have OpenJDK version 17 or later installed on your system.
22-
* You have Maven installed on your system.
22+
* You have Maven version 3.9.9 or later installed on your system.
2323
* The CLI assumes that a path to the `mvn` binary is correctly registered in the system variable. Therefore, ensure that you added `mvn` to the following variable:
2424
** `Path` for Windows.
2525
** `PATH` for Linux and macOS.

0 commit comments

Comments
 (0)