From de1813b2ea237f20c23ee527017d605e011ac56f Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Fri, 28 Aug 2009 19:00:12 +0000 Subject: [PATCH] o Restored backward-compat git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808987 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/maven/lifecycle/DefaultLifecycleExecutor.java | 8 ++++++++ .../org/apache/maven/lifecycle/LifecycleExecutor.java | 7 ++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java b/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java index 8cfc9afa71..60e5291e28 100644 --- a/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java +++ b/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java @@ -1896,4 +1896,12 @@ public class DefaultLifecycleExecutor } */ + + // USED BY MAVEN HELP PLUGIN + @Deprecated + public Map getPhaseToLifecycleMap() + { + return phaseToLifecycleMap; + } + } diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutor.java b/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutor.java index 2842114078..172d14dffa 100644 --- a/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutor.java +++ b/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutor.java @@ -44,7 +44,12 @@ import org.apache.maven.project.MavenProject; * @author Jason van Zyl */ public interface LifecycleExecutor -{ +{ + + // USED BY MAVEN HELP PLUGIN + @Deprecated + String ROLE = LifecycleExecutor.class.getName(); + /** * Calculate the list of {@link org.apache.maven.plugin.descriptor.MojoDescriptor} objects to run for the selected lifecycle phase. *