Re: Mojo and it's own dependencies

2006-10-19 Thread Dan Tran

project.getArtifacts()

There are plenty of examples source at
http://svn.codehaus.org/mojo/trunk/mojo

-D



On 10/19/06, Hermod Opstvedt [EMAIL PROTECTED] wrote:


Hi

Is there a Maven helper class that can be called from a Mojo that will
give
the Mojo access to it's own dependencies?

Hermod


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




Re: Mojo and it's own dependencies

2006-10-19 Thread Jason van Zyl


On 19 Oct 06, at 1:50 PM 19 Oct 06, Hermod Opstvedt wrote:


Hi

Is there a Maven helper class that can be called from a Mojo that  
will give

the Mojo access to it's own dependencies?



You can use the expression ${plugin.artifacts} i.e.

/**
 * @parameter expression=${plugin.artifacts}
 */
private List pluginArtifacts;

Is that what you're looking for?

Jason.


Hermod


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