You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.runToFix("Run 'mvn spotless:apply' to fix these violations.")
the message Run 'mvn spotless:apply' to fix these violations. is hard-coded. In some complex setups the configuration for the apply goal only is different than applying it in the context of a regular build. Therefore it should be possible to overwrite the runToFix argument with a mojo parameter (but the default should obviously stay as is). That way you can run e.g. with a particular execution id or a full Maven build up to a certain phase (most probably with a dedicated profile or property parameter) to enable the reformatting.