You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hervé Boutemy (JIRA)" <ji...@apache.org> on 2019/07/06 07:13:00 UTC

[jira] [Updated] (MDEP-653) add info message to purge-local-repository goal

     [ https://issues.apache.org/jira/browse/MDEP-653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hervé Boutemy updated MDEP-653:
-------------------------------
    Description: 
currently, there is no info message apart from download status while re-resolving:
{noformat}
$ 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] ------------------------------------------------------------------------{noformat}
would be useful to write something like:
{noformat}
[INFO] Purging 75 dependencies 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)
[...]{noformat}

  was:
currently, there is no info message apart from download status while re-resolving:
{noformat}$ 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] ------------------------------------------------------------------------{noformat}

would be useful to write something like:
{noformat}[INFO] Purging 150 dependencies 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)
[...]{noformat}


> add info message to purge-local-repository goal
> -----------------------------------------------
>
>                 Key: MDEP-653
>                 URL: https://issues.apache.org/jira/browse/MDEP-653
>             Project: Maven Dependency Plugin
>          Issue Type: Improvement
>          Components: purge-local-repository
>    Affects Versions: 3.1.1
>            Reporter: Hervé Boutemy
>            Assignee: Hervé Boutemy
>            Priority: Major
>             Fix For: 3.1.2
>
>
> currently, there is no info message apart from download status while re-resolving:
> {noformat}
> $ 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] ------------------------------------------------------------------------{noformat}
> would be useful to write something like:
> {noformat}
> [INFO] Purging 75 dependencies 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)
> [...]{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)