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
Maven plugin has no option endWithNewLine for sortPom in the current version (2.43.0) although README mentions it (link to the jar here).
I decopmpiled it and indeed, there is no such @Parameter in the SortPom class. The error after mvn spotless:apply:
[ERROR] Failed to execute goal com.diffplug.spotless:spotless-maven-plugin:2.43.0:apply (default-cli) on project foo: Unable to parse configuration of mojo com.diffplug.spotless:spotless-maven-plugin:2.43.0:apply for parameter endWithNewLine: Cannot find 'endWithNewLine' in class com.diffplug.spotless.maven.pom.SortPom -> [Help 1]
Summary
Maven plugin has no option
endWithNewLine
forsortPom
in the current version (2.43.0) although README mentions it (link to the jar here).I decopmpiled it and indeed, there is no such
@Parameter
in theSortPom
class. The error aftermvn spotless:apply
:Maven version & Operating system version
mvn --version
outputsSpotless version
2.43.0
Spotless configuration
Checklist
gradlew spotless[Apply/Check] --stacktrace
The text was updated successfully, but these errors were encountered: