diff --git a/pom.xml b/pom.xml
index 9ea0cecc3f50392313b67e8c6d93c0839ee1540b..8431ad151856c5519c076e377d03fa809599bd23 100644
--- a/pom.xml
+++ b/pom.xml
@@ -301,8 +301,9 @@
 				</configuration>
 				<executions>
 					<execution>
+						<phase>test</phase>
 						<goals>
-							<goal>check</goal>
+							<goal>format</goal>
 						</goals>
 					</execution>
 				</executions>