File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change 183183 <artifactId >maven-bundle-plugin</artifactId >
184184 <version >5.1.4</version >
185185 </plugin >
186+ <plugin >
187+ <groupId >com.diffplug.spotless</groupId >
188+ <artifactId >spotless-maven-plugin</artifactId >
189+ <version >2.44.5</version >
190+ <configuration >
191+ <formats >
192+ <format >
193+ <excludes >
194+ <exclude >**/testdata/**</exclude >
195+ <exclude >**gradlew**</exclude >
196+ <exclude >**mvnw**</exclude >
197+ </excludes >
198+ <includes >
199+ <include >.gitignore</include >
200+ </includes >
201+ <trimTrailingWhitespace />
202+ </format >
203+ </formats >
204+ <java >
205+ <excludes >
206+ <exclude >**/src/main/java/net/sourceforge/pmd/lang/java/types/package-info.java</exclude >
207+ <exclude >**/testdata/**</exclude >
208+ <exclude >**/unnecessaryimport/package1/U.java</exclude >
209+ </excludes >
210+ <googleJavaFormat />
211+ <removeUnusedImports />
212+ <!-- <importOrder>-->
213+ <!-- <file>${maven.multiModuleProjectDirectory}/.spotless/eclipse.importorder</file>-->
214+ <!-- </importOrder>-->
215+ <!-- <licenseHeader>-->
216+ <!-- <file>${maven.multiModuleProjectDirectory}/.spotless/copyright.txt</file>-->
217+ <!-- </licenseHeader>-->
218+ </java >
219+ </configuration >
220+ <executions >
221+ <execution >
222+ <id >spotless-apply</id >
223+ <phase >process-sources</phase >
224+ <goals >
225+ <goal >apply</goal >
226+ </goals >
227+ </execution >
228+ <execution >
229+ <id >spotless-check</id >
230+ <phase >verify</phase >
231+ <goals >
232+ <goal >check</goal >
233+ </goals >
234+ </execution >
235+ </executions >
236+ </plugin >
186237 </plugins >
187238
188239 </pluginManagement >
You can’t perform that action at this time.
0 commit comments