When running the plugin on my spring project it’s creating tests for my classes. However, when I come to run them I get the following message:
Failed to execute goal io.spring.javaformat:spring-javaformat-maven-plugin:0.0.22:validate (default) on project spring-petclinic: Formatting violations found in the following files: * $PATH/to/NewTest.java Run `spring-javaformat:apply` to fix.
Is there something that can be done to generate tests that conform to the style of the project? Are there some settings I can configure to avoid this issue? I’m sure you can imagine this is quite annoying on large projects.