Re: list of phases defined by the lifecycle of a packaging type

2012-06-11 Thread Pascal Rapicault
Thx On 2012-06-11, at 1:15 AM, Milos Kleint wrote: public ListString getLifecyclePhases() { LifecycleMapping lifecycleMapping = lookupComponent(LifecycleMapping.class); if (lifecycleMapping != null) { SetString phases = new TreeSetString(); MapString,

list of phases defined by the lifecycle of a packaging type

2012-06-10 Thread Pascal Rapicault
Hi, Given a packaging type, is there a way to programmatically know all the phases that are associated with the various lifecycle? For example during the execution with -X I see the following output. This is pretty much what I want. [DEBUG] Lifecycle clean - [pre-clean, clean, post-clean]

Re: list of phases defined by the lifecycle of a packaging type

2012-06-10 Thread Milos Kleint
public ListString getLifecyclePhases() { LifecycleMapping lifecycleMapping = lookupComponent(LifecycleMapping.class); if (lifecycleMapping != null) { SetString phases = new TreeSetString(); MapString, Lifecycle lifecycles = lifecycleMapping.getLifecycles();