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,
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]
public ListString getLifecyclePhases() {
LifecycleMapping lifecycleMapping =
lookupComponent(LifecycleMapping.class);
if (lifecycleMapping != null) {
SetString phases = new TreeSetString();
MapString, Lifecycle lifecycles =
lifecycleMapping.getLifecycles();