Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-2973 Analyzing in Source mode without a Maven Settings credential produces different results
  3. MTA-3477

[QE] Verify for ( Analyzing in Source mode without a Maven Settings credential produces different results )

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Undefined Undefined
    • MTA 7.1.0, MTA 7.0.4
    • None
    • QE-Task
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False

      Description of problem:

      Analyzing the tackle-testapp-public with and without an associated Maven settings credential produces drastically different results. Custom rules are not being triggered and some false positives are obtained when analyzing without the Maven settings credential.

      On top of that, only direct dependencies are being displayed on the dependencies view, and links to Maven Central are not being rendered in the Version column for the given application.

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

      MTA 7.0.3

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create two applications pointing to the same repository: https://github.com/konveyor/tackle-testapp-public
      2. Create a Maven settings credential following the instructions in https://github.com/konveyor/tackle-testapp-public?tab=readme-ov-file#building-the-application
      3. Assign that Maven Settings credential to only one of those applications.
      4. Run individual analyses of both applications with the following config:

      Actual results:

      The custom rule is not triggered in the application with no Maven settings credential. False positives for "File system - Java IO" and "Methods in `sun.misc.Unsafe` have been removed" rules are found. Dependencies for that application only include direct dependencies, and links to Maven Central are not rendered when displayed.

      Expected results:

      Both analyses produce the same results.

      Additional info:

            rhn-support-kpunwatk Karishma Punwatkar
            istein@redhat.com Ilanit Stein
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: