aalmiray commented on a change in pull request #90:
URL: https://github.com/apache/maven-shade-plugin/pull/90#discussion_r671859020
##########
File path: src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java
##########
@@ -385,12 +385,23 @@
@Inject
private Map<String, Shader> shaders;
+ /**
+ * When true, skips the execution of this MOJO.
+ * @since 3.3.0
+ */
+ @Parameter( defaultValue = "false" )
+ private boolean skip;
+
/**
* @throws MojoExecutionException in case of an error.
*/
public void execute()
throws MojoExecutionException
{
+ if ( skip )
+ {
+ return;
Review comment:
Done. Added a logging statement
--
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]