Skip to content

Commit 28c757d

Browse files
authored
HBASE-29388 mvn spotless:apply changes line endings (CRLF to LF) on Windows (#7087)
Signed-off-by: Nihal Jain <nihaljain@apache.org> Signed-off-by: Duo Zhang <zhangduo@apache.org>
1 parent 64c582f commit 28c757d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3119,6 +3119,13 @@
31193119
-->
31203120
<enabled>false</enabled>
31213121
</upToDateChecking>
3122+
<!--
3123+
On Windows, spotless might convert the line endings of these files to LF.
3124+
We're instructing it to respect the line ending definitions in .gitattributes
3125+
for these files.
3126+
For more details, please refer to HBASE-29388.
3127+
-->
3128+
<lineEndings>GIT_ATTRIBUTES</lineEndings>
31223129
<!-- define a language-specific format -->
31233130
<java>
31243131
<excludes>

0 commit comments

Comments
 (0)