Thanks for your help Milos.

I had seen in the maven documentation that a plugin can define its own
mapping, but my problem is definitively about defining my own phases...

I've seens some classes related to Lyfecycle Binding in the SVN repo
(according to their name...), and it looks like if they were getting the
phases map from the mapping classes and then retrieve the mapped plugin
using predefined constants phase name. So, I was wondering if it is
possible to defines custom phases or if maven is definitively not
designed for this.

Anyone got an idea ?

Sebastien

-----Original Message-----
From: Milos Kleint [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 02, 2007 11:23 AM
To: Maven Developers List
Subject: Re: Defining a custom lifecycle

you can definitely create your own lifecycle phase mappings. see
http://svn.mojo.codehaus.org/mojo/trunk/mojo/nbm-maven-plugin for
example.
not surewhere to point to to define custom phases.

Milos

On 8/1/07, Sebastien Brunot <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Is it possible to develop a plugin that defines a custom type of 
> artifact (a "test campaign" in our case), a custom lifecycle (with, 
> for examples, phases such as "pre-start-servers", "start-servers", 
> "post-start-servers", "pre-initialize-environment", 
> "initialize-environment", etc...) and a default mapping to the 
> lifecycle ?
>
> Thanks for your help,
>
> Sebastien Brunot
>
> "Make simple things simple before making complex things possible" 
> (David S. Platt in "Why Software Sucks ?") and then... "Make complex 
> things simple and accessible" (Steve Demuth)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] For 
> additional commands, e-mail: [EMAIL PROTECTED]
>
>

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


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

Reply via email to