maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Faes <Philippe.F...@elis.UGent.be>
Subject Re: How to run plugins in other than the pom.xml dir
Date Wed, 04 Oct 2006 08:06:31 GMT
On Wed, 2006-10-04 at 00:08 +0400, kovalen pechaycaren wrote:
> Hello,
> I have developed some maven2 plugins and to run them I should be in the
> directory of the pom.xml file. Is there a way of running my plugin anywhere
> (like for e.g mvn archetype:create)?
> 
> Thanks

I think that should work if you add the "@requiresProject false"
directive to your mojo.



-- 
ir. Philippe Faes
Ghent University - Department ELIS
Sint-Pietersnieuwstraat 41 -- B-9000 Gent
Tel:+32 9 264 95 25 - Fax:+32 9 264 35 94
    http://www.elis.UGent.be/~pfaes
ON5DEU   --   LPIC1  --  gpg-key:173720B6


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message