This is an automated email from the ASF dual-hosted git repository. kwin pushed a commit to branch feature/accept-all-line-endings-in-spotless in repository https://gitbox.apache.org/repos/asf/sling-parent.git
commit 016a4634bd35723037679d85a00b36baa9036369 Author: Konrad Windszus <[email protected]> AuthorDate: Wed Nov 13 15:31:30 2024 +0100 SLING-12485 Update spotless to accept all line endings This is required to run spotless:check on top of extracted source archives (outside Git repositories). Compare with https://github.com/apache/maven-parent/issues/205 and https://github.com/diffplug/spotless/issues/2277. --- sling-parent/pom.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sling-parent/pom.xml b/sling-parent/pom.xml index 4ba5c75..c1aa919 100644 --- a/sling-parent/pom.xml +++ b/sling-parent/pom.xml @@ -258,7 +258,7 @@ <plugin> <groupId>com.diffplug.spotless</groupId> <artifactId>spotless-maven-plugin</artifactId> - <version>2.43.0</version> + <version>2.44.0.BETA4</version> </plugin> </plugins> </pluginManagement> @@ -444,6 +444,8 @@ <file>config/maven-header-plain.txt</file> </licenseHeader> </java> + <!-- accept all endings to support validations on top of source archives --> + <lineEndings>PRESERVE</lineEndings> <pom> <sortPom> <expandEmptyElements>false</expandEmptyElements>
