Skip to content

Commit 4cf702b

Browse files
ci: run Spotless check at validate instead of apply on compile
Bind spotless:check to the validate phase so builds fail on formatting drift without mutating sources during CI or local package runs. Use spotless:apply locally to fix formatting before commit. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 1b83bf2 commit 4cf702b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,11 @@
128128
</configuration>
129129
<executions>
130130
<execution>
131+
<id>spotless-check</id>
131132
<goals>
132-
<goal>apply</goal>
133+
<goal>check</goal>
133134
</goals>
134-
<phase>compile</phase>
135+
<phase>validate</phase>
135136
</execution>
136137
</executions>
137138
</plugin>

0 commit comments

Comments
 (0)