When the formatting fails, it produces the following hardcoded message:
[ERROR] There are .editorconfig violations. You may want to run
[ERROR]
[ERROR] mvn editorconfig:format
[ERROR]
[ERROR] to fix them automagically.
This is misleading for projects that use the Maven Wrapper
What It should do instead is to suggest:
- Linux/Mac/Other Unix systems:
./mvnw editorconfig:format
2)Windows
.\mvnw.cmd editorconfig:format