This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 2052
    
  22

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: 973
    
    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: 2052
    
  22

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
rational rose reverse engineering in java
Best practices for setting up modules with interdependencies in CVS
Release only one module in multimodule maven project
maven-ear-plugin: jarModule or ejbModule
Art and Science of Java Chapter 4 Exercise 7