You can customize the application analysis process with {ProductFullName} command-line interface (CLI) by using the mta-cli analyze command options. You can use these options to specify input sources, define target migration paths, configure output directories, and perform other adjustments.
mta-cli analyze command options
| Option | Description |
|---|---|
|
Analyze open source libraries. |
|
Set When you disable Maven search, {ProductShortName} at first tries to determine dependencies from the JAR file’s POM file, if any. If this method does not succeed, {ProductShortName} goes through the directory structure to determine dependencies. This method might not produce a reliable dependency classification since the package structure can differ from what is expected by {ProductShortName}. You might see more number of incidents because some dependencies might be wrongly classified as internal. By default, |
|
The number of lines of source code to include in the output for each incident. The default is 100. |
|
A directory for dependencies. |
|
Run default rulesets with analysis. The default is |
|
Display the available flags for the |
|
An HTTP proxy string URL. |
|
An HTTPS proxy string URL. |
|
An expression to select incidents based on custom variables, for example: !package=io.demo.config-utils |
|
A path to the application source code or a binary. |
|
A Jaeger endpoint to collect traces. |
|
Create analysis and dependence output as a JSON file. |
|
Run rules based on specified label selector expression. |
|
List all languages in the source application. This flag is not supported for binary applications. |
|
List available supported providers. |
|
List rules for available migration sources. |
|
List rules for available migration targets. |
|
A path to the custom Maven settings file to use. |
|
An analysis mode. Must be set to either of the following values:
|
|
Proxy-excluded URLs (relevant only with proxy). |
|
A path to the directory for analysis output. |
|
Overwrite the output directory. |
|
A filename or directory that contains rule files. |
|
Enable or disable container runtime usage for Java applications. For example, to enable container runtime, set |
|
Do not generate the static report. |
|
A source technology to consider for the analysis. To specify multiple sources, repeat the parameter, for example: --source <source_1> --source <source_2> ... |
|
A target technology to consider for the analysis. To specify multiple targets, repeat the parameter, for example: --target <target_1> --target <target_2> ... |
|
A log level. The default is 4. |
|
Do not clean up temporary resources. |