cstamas commented on code in PR #372:
URL: https://github.com/apache/maven-help-plugin/pull/372#discussion_r3383985002


##########
src/main/java/org/apache/maven/plugins/help/DescribeMojo.java:
##########
@@ -703,9 +700,9 @@ private boolean describeCommand(StringBuilder 
descriptionBuffer) throws MojoExec
 
                 for (String key : phases) {
                     descriptionBuffer.append("* ").append(key).append(": ");
-                    if (lifecycle.getDefaultPhases().get(key) != null) {
+                    if (lifecycle.getDefaultLifecyclePhases().get(key) != 
null) {
                         descriptionBuffer
-                                .append(lifecycle.getDefaultPhases().get(key))
+                                
.append(lifecycle.getDefaultLifecyclePhases().get(key))

Review Comment:
   This is IMO not good, is this tested? Should not the phase.goal be unraveled 
here as well?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to