The plugin is independent of projects (pom's). It is only used for measurements 
and should not be mentioned in any of the project pom's. What we want is to 
have Cruisecontrol call our plugin and our plugin calls other plugins in a 
specific order. 

In Maven 1.x we simply create a plugin.jelly in which we defined a main goal 
which executed other (plugin)goals in a specific order.

We have not found a simple way of doing this.

----- Original Message ----
From: James Abley <[EMAIL PROTECTED]>
To: Maven Users List <[email protected]>
Sent: Thursday, June 7, 2007 3:32:57 PM
Subject: Re: How to create custom lifecycle through custom plugin

On 07/06/07, maarten roosendaal <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> For all our projects we want to count the lines of code, this is done with
> a small application through a plugin. We want to incorporate this in the
> maven lifecycle only on our buildserver and projects themselves are unaware
> of this feature. How should we go about this? We are plannig on some more
> specific plugins that we need to call in a specific order.
>
> Should we create a plugin which calls the named plugin goals and also
> standard Maven goals like clean, package, deploy? How do we do this?
>
> Any suggestions are welcome



What is stopping you using a profile in a common pom and activating that
profile only on the build server?

James

Thanks,
> Maarten
>
>
>
>
>
>
>
> ____________________________________________________________________________________
> Sick sense of humor? Visit Yahoo! TV's
> Comedy with an Edge to see what's on, when.
> http://tv.yahoo.com/collections/222
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>





 
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news

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

Reply via email to