fbeaufume opened a new issue, #1544:
URL: https://github.com/apache/maven-dependency-plugin/issues/1544

   ### New feature, improvement proposal
   
   I often need to get the size of all the jars braught by a given dependency 
from a project.
   
   I'd like to be able to use `mvn dependency:tree` for that matter.
   
   The output could be something like:
   
   ```
   [INFO] com.mycompany:myapp:jar:1.0.0-SNAPSHOT
   [INFO] +- org.foo:foo-all:jar:2.0:compile (200k, total 1.5m)
   [INFO] |  +- org.foo:foo-a:jar:2.0:compile (600k)
   [INFO] |  +- org.foo:foo-b:jar:2.0:compile (700k)
   [INFO] +- org.bar:bar:jar:3.1:compile (300k)
   ```
   
   The total size for "foo-all" is 1.5m = 200k + 600k + 700k.
   
   It could require a specific command line parameter (`show-size` ?), in order 
to remain retro-compatible.
   
   We could also restrict to selected scopes (for example only `compile` 
instead of all scopes) using a dedicated command line parameter.
   
   I think this is not supported yet by neither the `dependency` plugin nor the 
`project-info-reports` plugin.
   
   Can this be achieved? Can you share some implementation pointers?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to