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 71b2d04 SLING-13125 Auto-format with spotless outside CI builds
71b2d04 is described below
commit 71b2d04353ea811fd23b4a2f6797177ce832da49
Author: Konrad Windszus <[email protected]>
AuthorDate: Mon Feb 23 14:40:44 2026 +0100
SLING-13125 Auto-format with spotless outside CI builds
---
sling-parent/pom.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sling-parent/pom.xml b/sling-parent/pom.xml
index ce4fc81..8af1200 100644
--- a/sling-parent/pom.xml
+++ b/sling-parent/pom.xml
@@ -1196,23 +1196,23 @@
</build>
</profile>
<profile>
- <!-- only check formatting with spotless by default -->
+ <!-- only check formatting with spotless by default in CI builds
-->
<id>format-check</id>
<activation>
<property>
- <name>!format</name>
+ <name>env.CI</name>
</property>
</activation>
<properties>
<spotless.action>check</spotless.action>
</properties>
</profile>
- <!-- reformat during build with spotless with -Dformat or -Pformat -->
+ <!-- reformat during build with spotless with -Pformat -->
<profile>
<id>format</id>
<activation>
<property>
- <name>format</name>
+ <name>!env.CI</name>
</property>
</activation>
<properties>