Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-653

add info message to purge-local-repository goal even in non-verbose mode

    XMLWordPrintableJSON

Details

    Description

      currently, there is no info message apart from download status while re-resolving (or in verbose mode, there is too much output):

      $ mvn dependency:purge-local-repository
      [INFO] Scanning for projects...
      [INFO] 
      [INFO] ----------< org.apache.maven.plugins:maven-dependency-plugin >----------
      [INFO] Building Apache Maven Dependency Plugin 3.1.2-SNAPSHOT
      [INFO] ----------------------------[ maven-plugin ]----------------------------
      [INFO] 
      [INFO] --- maven-dependency-plugin:3.1.1:purge-local-repository (default-cli) @ maven-dependency-plugin ---
      Downloading from central: http://localhost:8081/nexus/content/groups/public/org/apache/maven/maven-artifact/3.0/maven-artifact-3.0.pom
      Downloaded from central: http://localhost:8081/nexus/content/groups/public/org/apache/maven/maven-artifact/3.0/maven-artifact-3.0.pom (1.9 kB at 29 kB/s)
      [...]
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------

      would be useful to write something like:

      [INFO] Deleting 75 projects' transitive dependencies from /home/herve/.m2/repository at artifact version level
      [INFO] Re-resolving dependencies
      Downloading from central: http://localhost:8081/nexus/content/groups/public/org/apache/maven/maven-artifact/3.0/maven-artifact-3.0.pom
      Downloaded from central: http://localhost:8081/nexus/content/groups/public/org/apache/maven/maven-artifact/3.0/maven-artifact-3.0.pom (1.9 kB at 29 kB/s)
      [...]

      with bold color for configurable arguments (count, "transitive" vs "direct", "version" or other fuzzyness values)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h