Meaningless Drivel is fun!*
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven: Is there a way to get reverse dependency tree Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Maven: Is there a way to get reverse dependency tree" Watch "Maven: Is there a way to get reverse dependency tree" New topic
Author

Maven: Is there a way to get reverse dependency tree

Jayesh A Lalwani
Bartender

Joined: Jan 17, 2008
Posts: 2280
    
  28

RUnning mvn dependency:tree gives you a graph that tells you all the modules that your module is dependent on. It's beautiful. What I want is the reverse of that. If I have a large multi-module project, and I change module A, I want to find all the modules that are dependent on module A

James Boswell
Bartender

Joined: Nov 09, 2011
Posts: 1012
    
    5

Yes, you can. Using filtering which comes with the dependency plugin.

Filtering the dependency tree
Jayesh A Lalwani
Bartender

Joined: Jan 17, 2008
Posts: 2280
    
  28

Nice! Thank you very much
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Maven: Is there a way to get reverse dependency tree
 
Similar Threads
Best practices for setting up modules with interdependencies in CVS
Release only one module in multimodule maven project
Art and Science of Java Chapter 4 Exercise 7
rational rose reverse engineering in java
maven-ear-plugin: jarModule or ejbModule