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

[DOC] Gradle build tool in Containerless analysis does not detect dependencies in Gradle projects

XMLWordPrintable

    • Quality / Stability / Reliability
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • 3
    • Sprint 11-MMSDOCS 2024, Sprint 12-MMSDOCS 2025, 13-MMSDOCS 2025, 14-MMSDOCS 2025
    • 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

              mpershin@redhat.com Mariya Pershina
              rh-ee-abrugaro Alejandro Brugarolas
              Alejandro Brugarolas Alejandro Brugarolas
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: