hboutemy commented on a change in pull request #526:
URL: https://github.com/apache/maven/pull/526#discussion_r693526841



##########
File path: 
maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java
##########
@@ -134,7 +133,10 @@ public void executeMojo( MavenSession session, 
MojoExecution mojoExecution )
 
                 mojoExecutionListener.beforeMojoExecution( mojoExecutionEvent 
);
 
-                mojo.execute();
+                if ( mojoExecution.canRun( mojo, session ) )

Review comment:
       most of the modifications for this class seem to be purely formatting: 
restoring initial formatting would ease review




-- 
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