This might not help .. but your IDE will allow you to do that.. 

On the command line you might have to do a dependency:tree or dependency:list 
and then dependency:list-classes ...

Or you could fork the plugin to create a new goal that basically does the two 
in one go on the code level.. and then send a pull request ;-) 

Manfred

Graham Leggett wrote on 2022-06-17 10:14 (GMT -04:00):

> Hi all,
> 
> I find myself with a large project, not knowing which dependency(ies) is
> transitively providing a given class.
> 
> Is there a plugin that will allow a search within a project like this?
> 
> I can sort of do something with dependency:list-classes, but this is limited 
> in
> that it will only list classes in one artefact at a time. I want to find a
> class in all artefacts in a project.
> 
> Regards,
> Graham
> —
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to