summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Uko Kokņevičs2026-01-10 16:09:24 +0200
committerGravatar Uko Kokņevičs2026-01-10 16:19:49 +0200
commita75a5f275e0adb60f0438284c18f47991dd8e08f (patch)
tree289dc858a2cccea811507bb6244af0f9d2a160b6
parentGet rid of Checker Framework (diff)
downloadlv.enes:parent-a75a5f275e0adb60f0438284c18f47991dd8e08f.tar.gz
lv.enes:parent-a75a5f275e0adb60f0438284c18f47991dd8e08f.tar.xz
lv.enes:parent-a75a5f275e0adb60f0438284c18f47991dd8e08f.zip
Get rid of spotbugs
It's just checkstyle & pmd now
-rw-r--r--buildstuffs/src/main/resources/lv/enes/buildstuffs/spotbugs-exclude.xml46
-rw-r--r--pom.xml42
2 files changed, 0 insertions, 88 deletions
diff --git a/buildstuffs/src/main/resources/lv/enes/buildstuffs/spotbugs-exclude.xml b/buildstuffs/src/main/resources/lv/enes/buildstuffs/spotbugs-exclude.xml
deleted file mode 100644
index 65f2d8d..0000000
--- a/buildstuffs/src/main/resources/lv/enes/buildstuffs/spotbugs-exclude.xml
+++ /dev/null
@@ -1,46 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 SPDX-License-Identifier: AGPL-3.0-or-later
4 SPDX-FileCopyrightText: 2025 Uko Kokņevičs <perkontevs@gmail.com>
5 -->
6<FindBugsFilter xmlns="https://github.com/spotbugs/filter/4.8.4"
7 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8 xsi:schemaLocation="https://github.com/spotbugs/filter/4.8.4
9 https://raw.githubusercontent.com/spotbugs/spotbugs/4.8.4/spotbugs/etc/findbugsfilter.xsd">
10 <!-- Auto-generated -->
11 <Match>
12 <Source name="HelpMojo.java" />
13 </Match>
14
15 <!-- Finalizer attacks... Don't use finalizers. -->
16 <Match>
17 <Bug pattern="CT_CONSTRUCTOR_THROW" />
18 </Match>
19
20 <!-- Malicious code vulnerabilities. Why are you running untrusted code? -->
21 <Match>
22 <Or>
23 <Bug pattern="EI_EXPOSE_REP" />
24 <Bug pattern="EI_EXPOSE_REP2" />
25 <Bug pattern="MS_EXPOSE_REP" />
26 </Or>
27 </Match>
28
29 <!-- This is a good check but Lombok's @Getter(lazy=true) generates code violating it :/ -->
30 <Match>
31 <Bug pattern="JLM_JSR166_UTILCONCURRENT_MONITORENTER" />
32 </Match>
33
34 <!-- Nullness should get caught by checkerframework. Silencing here because Lombok generates them. -->
35 <Match>
36 <Or>
37 <Bug code="RCN" />
38 <Bug pattern="NP_NONNULL_RETURN_VIOLATION" />
39 </Or>
40 </Match>
41
42 <!-- Catch fallthrough with other tools which allow annotating accepted cases more easily -->
43 <Match>
44 <Bug pattern="SF_SWITCH_FALLTHROUGH" />
45 </Match>
46</FindBugsFilter>
diff --git a/pom.xml b/pom.xml
index 5911345..85fb33f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -70,7 +70,6 @@
70 <pmd.version>7.20.0</pmd.version> 70 <pmd.version>7.20.0</pmd.version>
71 <qoi.version>1.2.1</qoi.version> 71 <qoi.version>1.2.1</qoi.version>
72 <slf4j.version>2.0.17</slf4j.version> 72 <slf4j.version>2.0.17</slf4j.version>
73 <spotbugs.version>4.9.8</spotbugs.version>
74 <yasson.version>3.0.4</yasson.version> 73 <yasson.version>3.0.4</yasson.version>
75 74
76 <assembly-plugin.version>3.8.0</assembly-plugin.version> 75 <assembly-plugin.version>3.8.0</assembly-plugin.version>
@@ -80,7 +79,6 @@
80 <deploy-plugin.version>3.1.4</deploy-plugin.version> 79 <deploy-plugin.version>3.1.4</deploy-plugin.version>
81 <enforcer-plugin.version>3.6.2</enforcer-plugin.version> 80 <enforcer-plugin.version>3.6.2</enforcer-plugin.version>
82 <exec-plugin.version>3.6.3</exec-plugin.version> 81 <exec-plugin.version>3.6.3</exec-plugin.version>
83 <findsecbugs-plugin.version>1.12.0</findsecbugs-plugin.version>
84 <help-plugin.version>3.5.1</help-plugin.version> 82 <help-plugin.version>3.5.1</help-plugin.version>
85 <install-plugin.version>3.1.4</install-plugin.version> 83 <install-plugin.version>3.1.4</install-plugin.version>
86 <jacoco-plugin.version>0.8.14</jacoco-plugin.version> 84 <jacoco-plugin.version>0.8.14</jacoco-plugin.version>
@@ -92,7 +90,6 @@
92 <project-info-reports-plugin.version>3.9.0</project-info-reports-plugin.version> 90 <project-info-reports-plugin.version>3.9.0</project-info-reports-plugin.version>
93 <resources-plugin.version>3.4.0</resources-plugin.version> 91 <resources-plugin.version>3.4.0</resources-plugin.version>
94 <site-plugin.version>3.21.0</site-plugin.version> 92 <site-plugin.version>3.21.0</site-plugin.version>
95 <spotbugs-plugin.version>${spotbugs.version}.2</spotbugs-plugin.version>
96 <surefire-plugin.version>3.5.4</surefire-plugin.version> 93 <surefire-plugin.version>3.5.4</surefire-plugin.version>
97 <versions-plugin.version>2.20.1</versions-plugin.version> 94 <versions-plugin.version>2.20.1</versions-plugin.version>
98 <wrapper-plugin.version>3.3.4</wrapper-plugin.version> 95 <wrapper-plugin.version>3.3.4</wrapper-plugin.version>
@@ -122,11 +119,6 @@
122 <version>${brotli4j.version}</version> 119 <version>${brotli4j.version}</version>
123 </dependency> 120 </dependency>
124 <dependency> 121 <dependency>
125 <groupId>com.github.spotbugs</groupId>
126 <artifactId>spotbugs-annotations</artifactId>
127 <version>${spotbugs.version}</version>
128 </dependency>
129 <dependency>
130 <groupId>info.picocli</groupId> 122 <groupId>info.picocli</groupId>
131 <artifactId>picocli</artifactId> 123 <artifactId>picocli</artifactId>
132 <version>${picocli.version}</version> 124 <version>${picocli.version}</version>
@@ -396,28 +388,6 @@
396 <version>${wrapper-plugin.version}</version> 388 <version>${wrapper-plugin.version}</version>
397 </plugin> 389 </plugin>
398 <plugin> 390 <plugin>
399 <groupId>com.github.spotbugs</groupId>
400 <artifactId>spotbugs-maven-plugin</artifactId>
401 <version>${spotbugs-plugin.version}</version>
402 <configuration>
403 <excludeFilterFile>lv/enes/buildstuffs/spotbugs-exclude.xml</excludeFilterFile>
404 <plugins>
405 <plugin>
406 <groupId>com.h3xstream.findsecbugs</groupId>
407 <artifactId>findsecbugs-plugin</artifactId>
408 <version>${findsecbugs-plugin.version}</version>
409 </plugin>
410 </plugins>
411 </configuration>
412 <dependencies>
413 <dependency>
414 <groupId>lv.enes</groupId>
415 <artifactId>buildstuffs</artifactId>
416 <version>${enes-parent.version}</version>
417 </dependency>
418 </dependencies>
419 </plugin>
420 <plugin>
421 <groupId>lv.enes</groupId> 391 <groupId>lv.enes</groupId>
422 <artifactId>vocabulary-builder-plugin</artifactId> 392 <artifactId>vocabulary-builder-plugin</artifactId>
423 <version>${enes-vocabulary-plugin.version}</version> 393 <version>${enes-vocabulary-plugin.version}</version>
@@ -527,18 +497,6 @@
527 </plugin> 497 </plugin>
528 498
529 <plugin> 499 <plugin>
530 <groupId>com.github.spotbugs</groupId>
531 <artifactId>spotbugs-maven-plugin</artifactId>
532 <executions>
533 <execution>
534 <goals>
535 <goal>check</goal>
536 </goals>
537 </execution>
538 </executions>
539 </plugin>
540
541 <plugin>
542 <groupId>org.jacoco</groupId> 500 <groupId>org.jacoco</groupId>
543 <artifactId>jacoco-maven-plugin</artifactId> 501 <artifactId>jacoco-maven-plugin</artifactId>
544 <executions> 502 <executions>