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_r389759023
##########
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:
The shouldWriteAllEffectivePOMsInReactor() method checks if there is more
than 1 item in projects and returns true even though the artifact argument has
been provided which should override this.
----------------------------------------------------------------
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