maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé Boutemy (JIRA) <j...@apache.org>
Subject [jira] [Commented] (MDEP-653) add info message to purge-local-repository goal even in non-verbose mode
Date Thu, 01 Aug 2019 00:22:00 GMT

    [ https://issues.apache.org/jira/browse/MDEP-653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16897637#comment-16897637
] 

Hervé Boutemy commented on MDEP-653:
------------------------------------

Hi Pim,

thank you for the additional work.
I just simplified a little bit the default logging, to get a lighter result: before, there
was absolutely no message, but we must avoid to have too much log

now, everything looks perfect to me
I hope you enjoyed the contribution as much as I enjoyed working with you

> add info message to purge-local-repository goal even in non-verbose mode
> ------------------------------------------------------------------------
>
>                 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
>              Labels: up-for-grabs
>             Fix For: 3.1.2
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> currently, there is no info message apart from download status while re-resolving (or
in verbose mode, there is too much output):
> {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] 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)
> [...]{noformat}
> with bold color for configurable arguments (count, "transitive" vs "direct", "version"
or other fuzzyness values)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message