Hi Jelle,

Add @requiresProject annotation in your mojo

/**
* @requiresProject false
*/
public class MyMojo
{
}


Please look on the deploy file mojo for your reference
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java?revision=490414&view=markup

Cheers,
-allan


On 1/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:

Hi,



I'm writing a plugin to prepare my build phase.

I want to execute it from a top level directory.

So I already figures out I need to set the requiresProject tag in
plugin.xml to false.

But now my question .. how can I do this?

Can't find the answer on google or the maven site.



Kind regards.



Jelle



This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information.  If you have
received it in error, please notify the sender immediately and delete the
original.  Any other use of the email by you is prohibited.




--
==========================================================
- alramirez

Reply via email to