This is an automated email from the ASF dual-hosted git repository.
stoty pushed a commit to branch 5.1
in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/5.1 by this push:
new a928ec9c3b PHOENIX-7675 Update spotless plugin to also format IT
classes (#2233)(#2234) (#2257)
a928ec9c3b is described below
commit a928ec9c3bc3aed2feeeaf66694d4feb3d99843d
Author: Nihal Jain <[email protected]>
AuthorDate: Mon Aug 4 10:14:18 2025 +0530
PHOENIX-7675 Update spotless plugin to also format IT classes
(#2233)(#2234) (#2257)
---
pom.xml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/pom.xml b/pom.xml
index ec197887dd..bebc502195 100644
--- a/pom.xml
+++ b/pom.xml
@@ -724,6 +724,13 @@
<exclude>**/generated/*</exclude>
<exclude>**/package-info.java</exclude>
</excludes>
+ <!-- We need to explicitly set includes as we have src/it which is
not standard java
+ src path and spotless does not identify it otherwise -->
+ <includes>
+ <include>src/main/java/**/*.java</include>
+ <include>src/test/java/**/*.java</include>
+ <include>src/it/java/**/*.java</include>
+ </includes>
<!--
e.g., remove the following lines:
"* @param paramName"
@@ -807,6 +814,7 @@
<includes>
<include>src/main/java/**/*.java</include>
<include>src/test/java/**/*.java</include>
+ <include>src/it/java/**/*.java</include>
</includes>
<excludes>
<exclude>**/generated/*</exclude>