Expose skip property consistently
This commit makes sure that the `skip` command-line property can be used for all goals of the maven plugin. A dedicated sample for integration tests has also been added as this change may confuse users, especially those who wish to skip a certain goal and not the plugin execution altogether. Closes gh-7313
This commit is contained in:
@@ -167,7 +167,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo {
|
||||
* Skip the execution.
|
||||
* @since 1.3.2
|
||||
*/
|
||||
@Parameter(defaultValue = "false")
|
||||
@Parameter(property = "skip", defaultValue = "false")
|
||||
private boolean skip;
|
||||
|
||||
@Override
|
||||
|
||||
@@ -75,7 +75,7 @@ public class StopMojo extends AbstractMojo {
|
||||
* Skip the execution.
|
||||
* @since 1.3.2
|
||||
*/
|
||||
@Parameter(defaultValue = "false")
|
||||
@Parameter(property = "skip", defaultValue = "false")
|
||||
private boolean skip;
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user