Tracked now in https://issues.apache.org/jira/browse/SLING-12485.
> On 13. Nov 2024, at 12:18, Konrad Windszus <[email protected]> wrote: > > Hi, > Most probably this is a Windows vs Unix/Mac line ending issue as outlined in > https://github.com/apache/maven-parent/issues/205. > A newer spotless will fix this. Will incorporate that in an upcoming parent > version. > For now just ignore those issues i.e. build with -Dspotless.check.skip=true > (https://github.com/diffplug/spotless/tree/main/plugin-maven#disabling-warnings-and-error-messages) > > Konrad > >> On 13. Nov 2024, at 11:06, Robert Munteanu <[email protected]> wrote: >> >> Hi, >> >> The source archive does not build for me, it fails on the spotless >> check: >> >> [ERROR] Failed to execute goal >> com.diffplug.spotless:spotless-maven-plugin:2.43.0:check (default) on >> project org.apache.sling.models.impl: The following files had format >> violations: >> (snip) >> [ERROR] Violations also present in 189 other files. >> [ERROR] Run 'mvn spotless:apply' to fix these violations. >> >> Not sure where those are coming from. The tag builds just fine for me. >> Running a diff -ur shows many differences between files. Might be a >> line ending issue? >> >> Thanks, >> Robert >
