You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dave Syer <da...@hotmail.com> on 2006/08/11 10:25:28 UTC

RE: [m203] Get names of all transitive dependencies in a mojo

> Check out the dependency plugin.   It has all the code you need. 

Would someone be able to summarise what the code in dependency plugin is
doing.  It seems very complex (and would certainly be useful to others), but
I don't follow it very well.  It seems to be doing project.getArtifacts()
and then filtering that list.  I would assume that filtering is an exclusion
(so the list should start with more on it than I might be interested in),
but when I do this in a mojo.execute:

  getLog().info("Artifacts: "+project.getArtifacts());

I get an empty set (despite the project having multiple dependencies - e.g.
aven-plugin-api).  Is that right?
-- 
View this message in context: http://www.nabble.com/-m203--Get-names-of-all-transitive-dependencies-in-a-mojo-tf1436664.html#a5758608
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org