croister commented on a change in pull request #5: [MPH-164] - Effective-pom 
ignores artifact argument
URL: https://github.com/apache/maven-help-plugin/pull/5#discussion_r389756444
 
 

 ##########
 File path: src/main/java/org/apache/maven/plugins/help/EffectivePomMojo.java
 ##########
 @@ -111,6 +112,7 @@ public void execute()
         if ( StringUtils.isNotEmpty( artifact ) )
         {
             project = getMavenProject( artifact );
+            projects = Collections.emptyList();
 
 Review comment:
   Maven injects the list of poms (local and sub modules).
   Run the included integration test without my change to see what happens.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to