Re: Mojo and it's own dependencies

2006-10-19 Thread pjungwir

You can get the plugin's model class by declaring a property set to
${project.build.plugins}. It will be a Collection of
org.apache.maven.model.Plugin objects. Iterate it until you find your plugin
(using groupId and artifactId). I'm sorry; that's the best way I know in a
mojo to do ${this}. The Plugin class has a getDependencies() method
returning a List; that might have want you want.

Paul
-- 
View this message in context: 
http://www.nabble.com/Mojo-and-it%27s-own-dependencies-tf2474701.html#a6904199
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Mojo and it's own dependencies

2006-10-19 Thread Hermod Opstvedt
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]