diff --git a/src/main/java/org/codehaus/mojo/buildplan/display/MojoExecutionDisplay.java b/src/main/java/org/codehaus/mojo/buildplan/display/MojoExecutionDisplay.java index e55492a..7e79888 100644 --- a/src/main/java/org/codehaus/mojo/buildplan/display/MojoExecutionDisplay.java +++ b/src/main/java/org/codehaus/mojo/buildplan/display/MojoExecutionDisplay.java @@ -20,7 +20,6 @@ import org.apache.maven.lifecycle.DefaultLifecycles; import org.apache.maven.lifecycle.Lifecycle; import org.apache.maven.plugin.MojoExecution; -import org.apache.maven.plugin.descriptor.MojoDescriptor; public class MojoExecutionDisplay { @@ -31,10 +30,6 @@ public MojoExecutionDisplay(MojoExecution execution) { } public String getPhase() { - MojoDescriptor mojoDescriptor = execution.getMojoDescriptor(); - if (mojoDescriptor != null && mojoDescriptor.getPhase() != null) { - return mojoDescriptor.getPhase(); - } return defaultString(execution.getLifecyclePhase()); }