Skip to content

Commit 2d712cb

Browse files
authored
Run Spotbugs by default (#109)
1 parent 6c85c9d commit 2d712cb

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

pom.xml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,13 +443,21 @@ https://gitbox.apache.org/repos/asf?p=maven-pmd-plugin.git;a=blob_plain;f=src/ma
443443
<artifactId>spotbugs-maven-plugin</artifactId>
444444
<version>4.8.6.4</version>
445445
<configuration>
446-
<includeFilterFile>.pipeline/spotbugs.xml</includeFilterFile>
446+
<includeFilterFile>${project.rootdir}/.pipeline/spotbugs.xml</includeFilterFile>
447447
<!-- Exclude generated clients -->
448-
<excludeFilterFile>.pipeline/spotbugs-exclusions.xml</excludeFilterFile>
448+
<excludeFilterFile>${project.rootdir}/.pipeline/spotbugs-exclusions.xml</excludeFilterFile>
449449
<effort>Max</effort>
450450
<threshold>Low</threshold>
451451
<maxHeap>2048</maxHeap>
452452
</configuration>
453+
<executions>
454+
<execution>
455+
<goals>
456+
<goal>check</goal>
457+
</goals>
458+
<phase>verify</phase>
459+
</execution>
460+
</executions>
453461
</plugin>
454462
<plugin>
455463
<groupId>org.jacoco</groupId>

0 commit comments

Comments
 (0)