Skip to content

Commit 8779d28

Browse files
committed
Add an autoformatter
1 parent e7d7553 commit 8779d28

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,25 @@
229229
<artifactId>maven-surefire-plugin</artifactId>
230230
<version>3.1.2</version>
231231
</plugin>
232+
<plugin>
233+
<groupId>com.spotify.fmt</groupId>
234+
<artifactId>fmt-maven-plugin</artifactId>
235+
<version>2.23</version>
236+
<configuration>
237+
<filesNamePattern>.*\.java</filesNamePattern>
238+
<skipSortingImports>false</skipSortingImports>
239+
<style>google</style>
240+
</configuration>
241+
<executions>
242+
<execution>
243+
<id>formatter</id>
244+
<goals>
245+
<goal>format</goal>
246+
<goal>check</goal>
247+
</goals>
248+
</execution>
249+
</executions>
250+
</plugin>
232251
<!-- use self-contained integration tests - org.phoebus.channelfinder.docker -->
233252
<plugin>
234253
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)