mirror of
https://github.com/keycloak/keycloak.git
synced 2025-12-16 20:15:46 -06:00
Add Spotless plugin with removeUnusedImports check enabled
Closes #43233 Signed-off-by: stianst <stianst@gmail.com>
This commit is contained in:
committed by
Alexander Schwartz
parent
ca368706cc
commit
963682a07c
12
pom.xml
12
pom.xml
@@ -207,6 +207,7 @@
|
||||
<smallrye.openapi.generator.plugin.version>3.6.2</smallrye.openapi.generator.plugin.version>
|
||||
<openapi.generator.plugin.version>6.3.0</openapi.generator.plugin.version>
|
||||
<build-helper-maven-plugin.version>3.2.0</build-helper-maven-plugin.version>
|
||||
<spotless-plugin.version>3.0.0</spotless-plugin.version>
|
||||
|
||||
<!-- Surefire Settings -->
|
||||
<surefire.memory.Xms>512m</surefire.memory.Xms>
|
||||
@@ -1518,8 +1519,19 @@
|
||||
<skip>${skipProtoLock}</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.diffplug.spotless</groupId>
|
||||
<artifactId>spotless-maven-plugin</artifactId>
|
||||
<version>${spotless-plugin.version}</version>
|
||||
<configuration>
|
||||
<java>
|
||||
<removeUnusedImports />
|
||||
</java>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
|
||||
Reference in New Issue
Block a user