Dependency:tree

Or programmatically use the maven-dependency-tree jar.

-----Original Message-----
From: David Blevins [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 18, 2008 3:16 PM
To: Maven Developers List
Subject: Tree/graph of Artifact objects

Is there any way to get or make a tree of Artifact objects?

I've tried taking the list of Artifacts returned from  
project.getArtifacts(), then wrapping them in my own "node" object and  
relinking them via the info in the dependency trail.  This works fine  
except that there is some information loss.  Say two artifacts (a and  
b) each depend on a thrid artifact (c).  The "c" dependency will have  
only one dependency trail showing either a or b and i'd like to see  
both trails.  I don't really need this info from the dependency trail  
specifically, just want some way to get the whole graph with no loss  
in relationships.

Any ideas?

-David



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to