From 2563edc2857ab41091a0d552b86062a94bbc8a32 Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Thu, 30 Jul 2009 15:05:00 +0000 Subject: [PATCH] o Added toString() to ease debugging git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799309 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/maven/lifecycle/Lifecycle.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java b/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java index 27fbde750d..8440a91c4b 100644 --- a/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java +++ b/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java @@ -46,4 +46,11 @@ public class Lifecycle { return defaultPhases; } + + @Override + public String toString() + { + return id + " -> " + phases; + } + }