hey, there is a book for maven usage , try to find the link on maven.apache.org
thanks
Dmitry
www.ejinz.com

----- Original Message ----- From: "Patrick Forhan" <[EMAIL PROTECTED]>
To: "Maven Users List" <[email protected]>
Sent: Friday, July 20, 2007 2:10 PM
Subject: Re: List of all dependencies as text on console?


I don't mean to co-opt this thread for my own purpose, but I have a
similar question:  How do I get a list of depenencies in a maven
plugin?  Is there better documentation on this?  I tried to read the
assembly and dependency plugin source, but things are not very clear.

I've tried something like the following in my Mojo... everything comes
back as a basically empty instance.

   /**
    * One dependency.
    *
    * @parameter expression="${project.dependency}"
    */
   private Dependency           dependency;

   /**
    * Dependency array?.
    *
    * @parameter expression="${project.dependency}"
    */
   private Dependency[]         dependencies;

   /**
    * Dep mgr.
    *
    * @parameter expression="${project.dependencyManagement}"
    */
   private DependencyManagement dependencyMgmt;

   /**
    * resources?.
    *
    * @parameter expression="${project.resources}"
    */
   private List<Resource>             res;


--
Defy mediocrity.

---------------------------------------------------------------------
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