|
145 | 145 | <jacoco.version>0.8.6</jacoco.version>
|
146 | 146 | <hazelcast.version>3.11.1</hazelcast.version>
|
147 | 147 | <argLine>-Xmx${test.maxHeapSize} -enableassertions ${jvm.opts} -Djava.awt.headless=${java.awt.headless} -Dsun.java2d.d3d=${sun.java2d.d3d} -DremoteOwsTests=${remoteOwsTests} -DquietTests=${quietTests} -Dorg.geotools.image.test.enabled=${image.tests} -Dorg.geotools.image.test.interactive=${interactive.image} -Duser.timezone=${user.timezone} -Dwindows.leniency=${windows.leniency} -XX:+TieredCompilation -XX:TieredStopAtLevel=1</argLine>
|
148 |
| - <fmt.action>format</fmt.action> |
149 |
| - <fmt.skip>false</fmt.skip> |
| 148 | + <spotless.action>apply</spotless.action> |
| 149 | + <spotless.apply.skip>false</spotless.apply.skip> |
150 | 150 | <pom.fmt.action>sort</pom.fmt.action>
|
151 |
| - <pom.fmt.skip>${fmt.skip}</pom.fmt.skip> |
| 151 | + <pom.fmt.skip>${spotless.apply.skip}</pom.fmt.skip> |
152 | 152 | <errorProneFlags></errorProneFlags>
|
153 | 153 | <errorProne.version>2.10.0</errorProne.version>
|
154 | 154 | <javac.version>9+181-r4173-1</javac.version>
|
|
1859 | 1859 | </plugin>
|
1860 | 1860 |
|
1861 | 1861 | <plugin>
|
1862 |
| - <groupId>com.coveo</groupId> |
1863 |
| - <artifactId>fmt-maven-plugin</artifactId> |
1864 |
| - <version>2.4.0</version> |
| 1862 | + <groupId>com.diffplug.spotless</groupId> |
| 1863 | + <artifactId>spotless-maven-plugin</artifactId> |
| 1864 | + <version>2.20.0</version> |
1865 | 1865 | <executions>
|
1866 | 1866 | <execution>
|
| 1867 | + <phase>validate</phase> |
1867 | 1868 | <goals>
|
1868 |
| - <goal>${fmt.action}</goal> |
| 1869 | + <goal>${spotless.action}</goal> |
1869 | 1870 | </goals>
|
1870 | 1871 | </execution>
|
1871 | 1872 | </executions>
|
1872 | 1873 | <configuration>
|
1873 |
| - <verbose>false</verbose> |
1874 |
| - <filesNamePattern>.*\.java</filesNamePattern> |
1875 |
| - <skip>${fmt.skip}</skip> |
1876 |
| - <style>aosp</style> |
| 1874 | + <java> |
| 1875 | + <googleJavaFormat> |
| 1876 | + <version>1.7</version> |
| 1877 | + <style>AOSP</style> |
| 1878 | + </googleJavaFormat> |
| 1879 | + </java> |
| 1880 | + <upToDateChecking> |
| 1881 | + <enabled>true</enabled> |
| 1882 | + <indexFile>${project.basedir}/.spotless-index</indexFile> |
| 1883 | + </upToDateChecking> |
1877 | 1884 | </configuration>
|
1878 | 1885 | </plugin>
|
1879 | 1886 |
|
|
0 commit comments