maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curtis Rueden <ctrue...@wisc.edu>
Subject Re: list all unique dependencies of multi-module project
Date Wed, 12 Mar 2014 20:16:44 GMT
Hi Max,

You could create a module (in the same build or outside of it) with pom
packaging and which depends on all the modules of your build. Then when you
list its dependencies, you'll get them all (excluding non-transitive ones
such as optional scope deps).

Regards,
Curtis


On Mon, Mar 10, 2014 at 4:31 PM, Max Calderoni <max.calderoni@gmail.com>wrote:

> Hi,
> was not able to find a quick way to list a consolidated list of all
> dependencies in your project.
> What i am looking for is something along the lines of dependency:list, or
> dependency:resolve of the maven dependency plugin, but for the entire
> multi-module project.
>
> What i see the maven dependency plugin does is to list by module. For our
> release though, we are not interested in a per-module break-down, we are
> interested in the overall list of unique dependencies, and unique per GAV,
> classifier, scope.
>
> The only thing i could find is this:
> http://grep.codeconsult.ch/2010/07/08/list-all-your-maven-dependencies/
> but, do i really have to use a script? is there some goal of some plugin
> out there that generates that or a better report for the entire project's
> dependencies for me?
> The report generated in the Dependency Management section of the maven site
> does it, but again, on a per-module basis.
> Then the next question would be: how do i publish that in my maven site?
>
>
> --
> Max
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message