maven-parent
maven-parent copied to clipboard
[MPOM-374] Autoformat *.groovy files
Konrad Windszus opened MPOM-374 and commented
As groovy is pretty common for integration tests we should autoformat those as well.
Affects: MAVEN-38
Issue Links:
- MPOM-349 Enable spotless for autoformatting
Konrad Windszus commented
At least adding the license header does not work for groovy scripts (as used by maven-invoker-plugin). The spotless-maven-plugin then fails with
[ERROR] Step 'com.diffplug.spotless.generic.LicenseHeaderStep' found problem in 'src/it/packaging-jar/verify.groovy':
Unable to find delimiter regex ^package
java.lang.IllegalArgumentException: Unable to find delimiter regex ^package
I raised https://github.com/diffplug/spotless/issues/1418 to track that.