Looking at this class yesterday: 
http://svn.apache.org/repos/asf/maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/binding/LegacyLifecycleMappingParser.java,
 I was quite afraid that you cannot define your own lifecycle (lifecycle names 
+ lifecycles phases seems to be hard coded in this class).

But as I don't know how and when this class is used in maven, I asked the 
question ("Is it possible to define a custom lifecycle that uses custom phases 
?")...

Anyway, I'll wait for Jason examples...

Sebastien 

-----Original Message-----
From: Arnaud Bailly [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 03, 2007 5:28 PM
To: Maven Developers List
Subject: Re: Defining a custom lifecycle

Paul Gier <[EMAIL PROTECTED]> writes:

> I believe those lifecycles are defined under the maven lifecycle 
> component here:
> https://svn.apache.org/repos/asf/maven/components/trunk/maven-lifecycl
> e/src/main/mdo/maven-lifecycle.mdo
>
> But I don't think that really helps your issue.
>

Thanks, I was looking for  .xml file :-( 

But yes, it doesn't help very much as it seems to imply that cannot define 
other bindings than clean/site/build because of the LifecycleBindings class 
that references those three and only those. So when one is doing 
LifecycleUtils.mergeBindings(), he is stuck with the phase names defined in 
these bindings. 

Once again, I may be missing something....

Regards
--
OQube < software engineering \ génie logiciel > Arnaud Bailly, Dr.
\web> http://www.oqube.com


---------------------------------------------------------------------
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