Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-12486

Book example fails to download required dependencies

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.3.0
    • Component/s: Documentation, Scripting
    • Labels:
      None
    • Story Points:
      0.5
    • Sprint:
      Formats/Core Team - Sprint 93, Core Team - Sprint 94

      Description

      Looks like between 3.2.0 and 3.2.1 something in the dependency chain here has changed substantially enough to make this example fail. Looks suspiciously like one of the libraries we use was upgraded and somehow we no longer have concrete versions for several dependencies, therefore attempting to download 'working' versions of these libs. See attached output for more(captured with these params while running the script: -Dgroovy.grape.report.downloads=true -Divy.message.logger.level=4 ).
      Likely will require updating the dependency info in the script, but not necessarily in a trivial way if the problem really is dependency poms missing concrete version info.

      https://github.com/sonatype/nexus-book-examples/blob/055bfa74f6c2761e234834537c3d4e89bc06afb9/scripting/complex-script/addUpdateScript.groovy

        Attachments

          Activity

            People

            Assignee:
            bradbeck Brad Beck
            Reporter:
            krobinson Kelly Robinson
            Last Updated By:
            Peter Lynch
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title