Details
-
Type:
New Feature
-
Status:
Reopened
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0.8
-
Fix Version/s: 3.2
-
Component/s: Command Line
-
Labels:None
-
Number of attachments :
Description
Add ability to skip the execution of certain plugins. From the command line this could look something like:
mvn -Dskip.plugin:org.apache.maven.plugins:maven-surefire-plugin install
Also useful would be the ability to skip individual executions of a plugin. For example, if the surefire plugin had two executions defined as "ex1" and "ex2", you could do something like this:
mvn -Dskip.plugin:org.apache.maven.plugins:maven-surefire-plugin:ex1 install
This would skip ex1 but still run ex2.
Issue Links
- is related to
-
MNG-3102
Add a skip attribute to the plugin, similar to inherited to allow for a plugin to be skipped for a particular child project if that plugin is inherited
-
Additionally, maybe multiple plugins could be skipped by passing a comma separated list. Like this:
mvn -Dskip.plugins=org.apache.maven.plugins:maven-surefire-plugin,org.apache.maven.plugins:maven-jar-plugin install
The same syntax could be applied to skipping individual executions.