Uploaded image for project: 'Konveyor Tackle'
  1. Konveyor Tackle
  2. TACKLE-751

Multi-module application analysis fails when maven credentials associated.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 2.1.0
    • 2.1.0
    • Addon
    • False
    • None
    • False
    • No

      Description of problem

      Multi-module application (source+deps) analysis fails when maven credentials are associated.  This will be required for secured maven repositories.

      How reproducible

      Always.

      Steps to Reproduce:

      1. Create an application.  Recommend: https://github.com/WASdev/sample.daytrader7
      2. Associate maven credentials.
      3. Run analysis.

      Actual results

      Task fails with error="file already exists." 

      Expected results

       

      Succeeds.

      Additional info

      The file already exists is a safety put in place to support local testing.  It ensured that when running the addon locally, we did not overwrite a developer's git, svn and maven configuration and credentials.  For multi-module applications, maven runs twice.  Each time it will install the settings.xml.  The second time, it detects that it already exists and fails.

      I think the fix is to adjust the safety to skip installing configuration and credentials when they already exist rather than error.

            jortel Jeff Ortel
            jortel Jeff Ortel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: