Skip to content

Commit f9f1f30

Browse files
authored
feat: support pass skip from command-line for maven-plugin
1 parent b124927 commit f9f1f30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin-maven/src/main/java/com/diffplug/spotless/maven/AbstractSpotlessMojo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public abstract class AbstractSpotlessMojo extends AbstractMojo {
100100
@Parameter(defaultValue = "${mojoExecution.goal}", required = true, readonly = true)
101101
private String goal;
102102

103-
@Parameter(defaultValue = "false")
103+
@Parameter(property = "spotless.skip", defaultValue = "false")
104104
private boolean skip;
105105

106106
@Parameter(property = "spotless.apply.skip", defaultValue = "false")

0 commit comments

Comments
 (0)