Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-4033

[CLI] Containerless analysis does not detect dependencies in Gradle projects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • MTA 7.2.1
    • None
    • MTA CLI
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • None

      Description of problem:

      The analyze-bin subcommand does not show dependencies for Gradle projects 

      Version-Release number of selected component (if applicable): 7.2.0-8 

      How reproducible: Always 

      Steps to Reproduce:
      1. Run the following command with the following app (https://github.com/melix/jmh-gradle-example)

      ./MTA-7.2.0-6/mta-7.2.0-cli-linux-amd64/mta-cli analyze-bin -i ~/apps/jmh-gradle-example/ -o ~/Desktop/jmh-containerless --overwrite

      2. Check the analysis report

      Actual results:

      The analysis log shows the following message and no dependencies are displayed in the static report

      INFO[0115] unable to get dependency output in static report. generating static report from source analysis only 
      2024/10/16 15:56:11 dependency output path not provided, only parsing analysis output

      Expected results:

       Analysis report should be equal for analyze and analyze-bin subcommands

      Additional info:

      Attached you'll find a report generated using the containerized mode for comparison purposes

              jleflete@redhat.com Juanma Leflet Estrada
              rh-ee-abrugaro Alejandro Brugarolas
              Alejandro Brugarolas Alejandro Brugarolas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: