Uploaded image for project: 'Maven Resolver'
  1. Maven Resolver
  2. MRESOLVER-168

add DEBUG message when downloading an artifact from repositories

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.2
    • Fix Version/s: 1.6.3, 1.7.0
    • Component/s: Resolver
    • Labels:
      None

      Description

      currently, when download artifacts, we have many DEBUG messages on low level technical details

      [DEBUG] Writing tracking file /home/user/.m2/repository/org/apache/apache/23/apache-23.pom.lastUpdated
      [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repo.maven.apache.org/maven2/
      [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repo.maven.apache.org/maven2/
      Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache/23/apache-23.pom
      Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/apache/23/apache-23.pom (18 kB at 1.3 MB/s)
      [DEBUG] Writing tracking file /home/user/.m2/repository/org/apache/apache/23/_remote.repositories
      [DEBUG] Writing tracking file /home/user/.m2/repository/org/apache/apache/23/apache-23.pom.lastUpdated
      

      adding before a message about what artifact is being resolver, and in which repositories (with explicit order that will be used) would be a lot more useful:

      [DEBUG] Resolving artifact org.apache:apache:pom:23 from [central (https://repo.maven.apache.org/maven2/, default, releases), apache.snapshots (https://repository.apache.org/snapshots, default, snapshots)]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hboutemy Herve Boutemy
                Reporter:
                hboutemy Herve Boutemy
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: