This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-parent.git
The following commit(s) were added to refs/heads/master by this push:
new 2465a19 SLING-12485 Update spotless to accept all line endings
2465a19 is described below
commit 2465a1932cba62f7bbe4df674dfd97c7077a2231
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>