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

add DEBUG message when downloading an artifact from repositories

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.2
    • 1.6.3, 1.7.0
    • Resolver
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: