Hi Jo, Thanks for replying.
I'm writing a simple mojo plugin. I want to retrieve all project dependencies and "subdependencies" and display this list on my console. I used: @parameter expression="${project.dependencies}" List dependencies; which gives me a collection of "org.apache.maven.model.Dependency" objects. I can't find any getter methods to retrieve subdependencies. Should I use some artifact resolver? Cheers, flaubertg On 5/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
Maven API? If you are talking about a Maven project, just build it to install all of its dependencies in your local repository. Maven2 resolves transitive dependencies automatically. Cheers Jo On 5/26/07, flaubert g <[EMAIL PROTECTED]> wrote: > > Hi, > > How do I retrieve all transitive dependencies, which includes > "sub-dependencies" from a maven api? > > Thanks. > > Cheers, > flaubertg >