-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consolidate skip behavior #969
Conversation
Thanks for the fix! Published in |
@Parameter(defaultValue = "${mojoExecution.goal}", required = true, readonly = true) | ||
private String goal; | ||
|
||
@Parameter(property = "spotless.check.skip", defaultValue = "false") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this might actually need to be spotless.skip
?
Hey @jherico, @nedtwigg! Sorry, I might be a bit late with my comment :) I think this might be a backward-incompatible change. Before this change, the plugin had two user-facing properties What do you think about keeping both |
…between `check.skip` and `apply.skip`.
I just reverted this PR in
I am extremely unknowledgeable about maven. I apologize to you both, @lutovich and @jherico, I should not have merged this PR without consulting @lutovich since he is the author of the maven plugin. I try to get people's stuff merged and released quickly and I knew that @lutovich was working on #935 and I wanted to take care of this for him. Not a big deal, but clearly I made it a tad more complicated for you both :) If you still want this change @jherico, please open a new PR and when @lutovich has time he can review it. 100% my fault, but I'm happy with the outcome because at least @jherico has a published version that works in the meantime, and I'm sure the fix in this PR will make it into main at some point :) |
Fix for failure of plugin when both
ratchetFrom
andskip=true
are specified if no Git repository is present, as is sometimes the case for CI or Docker builds.Fix for #968