On Tue, Jul 20, 2010 at 2:09 PM, Ben Caradoc-Davies
<[email protected]> wrote:
> Is there a plugin or command-line tool that can list all artifacts in a
> local repository (or even in a multimodule project) that depend, directly or
> transitively, on a given artifact? This is the opposite of dependency:tree,
> which only displays dependencies.
>
> Maven Dependency Browser is no longer maintained and is a GUI. IDE plugins
> seem like overkill.
>
> The problem I am trying to solve is to automatically determine which higher
> level artifacts need to have their dependencies updated when a lower level
> artifact is updated. Extra credit for being as simple and easy-to-use as
> dependency:tree.  :-)

Why do you want this?

Dont you want control over when to upgrade your dependencies?

If these are your own projects then you should know when the
dependencies have changed.

Hudson may have some code that could be harvested for this purpose.
It is able to know that Project B needs to be rebuilt if it depends on
Project A and A has been rebuilt recently.

Doing this for your local repo would be an intensive task.  There is
no meta-data for this reverse mapping.
My local repo currently has 2500 files in it (if we assume pom, jar,
source, so divide by 3, then there are 800+ pom files to parse)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to