The section 5.5.1. "Accessing Project Dependencies" of "Better builds with Maven" (http://www.mergere.com/m2book_download.jsp) probably explains what you need to do in your mojo:

...
Injecting the project dependency set
As described above, if the mojo works with a project's dependencies, it must tell Maven that it requires access to that set of artifacts. As with all declarations, this is specified via a mojo parameter definition
and should use the following syntax:
/**
* The set of dependencies required by the project
* @parameter default-value=”${project.dependencies}”
* @required
* @readonly
*/
private java.util.Set dependencies;
...

-Gisbert

Neeraj Bisht wrote:
hi all
         i want to collect all jar file at one place  from my
pom.xmldependency ,i write one plugin for that but in that plugin i am
unable to
define the path of lib
how i can achieve this ,i do not know

we are migrating our project from maven 1.x  to maven 2.0.4

we have done that work in maven 1.x by useing this task as one of the
preGoal and writing our logic in jelly
but here in maven 2.x i am unable

please if any body have any content regarding this please send

i also refrence this

http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide

but not got any properites regarding to my use
Regards
Neeraj


--
Gisbert Amm
Softwareentwickler Infrastruktur

WEB.DE GmbH
Brauerstraße 48 · D-76135 Karlsruhe
Tel. +49-721-91374-4224 · Fax +49-721-91374-2740
[EMAIL PROTECTED] · http://www.web.de/

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

Reply via email to