On Tue, 8 Dec 2009, NGUYEN Cong Kinh wrote:

Hello everybody,

I'm creating maven plugin (extends AbstractMojo). In my code of the plugin, I want to require that another plugin (for example maven-assembly-plugin) must run before executing my plugin. How I can do that?

Simply declare the execution before the other plugin.
Also be aware of the build phases concept: http://www.sonatype.com/books/maven-book/reference/simple-project-sect-lifecycle.html
http://cvs.peopleware.be/training/maven/maven2/buildLifecyclePhases.html


--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com
Sent from my bog-standard SMTP client

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to