Skip to content

Commit 2678bcc

Browse files
authored
fix spotless (#1368)
Signed-off-by: Gregor Zeitlinger <[email protected]>
1 parent 6c82338 commit 2678bcc

File tree

3 files changed

+35
-22
lines changed

3 files changed

+35
-22
lines changed

pom.xml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
<jacoco.line-coverage>0.70</jacoco.line-coverage>
3232
<checkstyle.skip>false</checkstyle.skip>
3333
<coverage.skip>false</coverage.skip>
34+
<spotless.skip>false</spotless.skip>
3435
<warnings>-Werror</warnings>
3536
</properties>
3637

@@ -189,31 +190,9 @@
189190
<artifactId>exec-maven-plugin</artifactId>
190191
<version>3.5.0</version>
191192
</plugin>
192-
<plugin>
193-
<groupId>com.diffplug.spotless</groupId>
194-
<artifactId>spotless-maven-plugin</artifactId>
195-
<version>2.44.4</version>
196-
</plugin>
197193
</plugins>
198194
</pluginManagement>
199195
<plugins>
200-
<plugin>
201-
<groupId>com.diffplug.spotless</groupId>
202-
<artifactId>spotless-maven-plugin</artifactId>
203-
<configuration>
204-
<java>
205-
<googleJavaFormat/>
206-
</java>
207-
</configuration>
208-
<executions>
209-
<execution>
210-
<phase>verify</phase>
211-
<goals>
212-
<goal>check</goal>
213-
</goals>
214-
</execution>
215-
</executions>
216-
</plugin>
217196
<plugin>
218197
<groupId>org.apache.maven.plugins</groupId>
219198
<artifactId>maven-checkstyle-plugin</artifactId>

prometheus-metrics-bom/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
Bill of Materials for the Prometheus Metrics library
1919
</description>
2020

21+
<properties>
22+
<spotless.skip>true</spotless.skip>
23+
</properties>
24+
2125
<dependencyManagement>
2226
<dependencies>
2327
<dependency>

prometheus-metrics-parent/pom.xml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,36 @@
1515
The Prometheus Java Metrics Library Parent
1616
</description>
1717

18+
<properties>
19+
<checkstyle.skip>true</checkstyle.skip>
20+
<coverage.skip>true</coverage.skip>
21+
<spotless.skip>true</spotless.skip>
22+
</properties>
23+
24+
<build>
25+
<plugins>
26+
<plugin>
27+
<groupId>com.diffplug.spotless</groupId>
28+
<artifactId>spotless-maven-plugin</artifactId>
29+
<version>2.44.4</version>
30+
<configuration>
31+
<java>
32+
<googleJavaFormat/>
33+
</java>
34+
<skip>${spotless.skip}</skip>
35+
</configuration>
36+
<executions>
37+
<execution>
38+
<phase>verify</phase>
39+
<goals>
40+
<goal>check</goal>
41+
</goals>
42+
</execution>
43+
</executions>
44+
</plugin>
45+
</plugins>
46+
</build>
47+
1848
<licenses>
1949
<license>
2050
<name>The Apache Software License, Version 2.0</name>

0 commit comments

Comments
 (0)