Skip to content

Commit 6aea002

Browse files
Update spotbugs
1 parent b624743 commit 6aea002

File tree

4 files changed

+6
-23
lines changed

4 files changed

+6
-23
lines changed

.github/workflows/maven.yml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
jdk: ['8', '11', '17', '21']
20+
jdk: ['8', '11', '17', '21', '23']
2121
os: [ubuntu-latest, windows-latest]
2222

2323
steps:
@@ -30,26 +30,6 @@ jobs:
3030
cache: maven
3131
- name: Build with Maven
3232
run: mvn -B package checkstyle:check spotbugs:check --file pom.xml
33-
34-
build_nospotbugs:
35-
name: Test with Java ${{ matrix.jdk }} ${{ matrix.os }}
36-
runs-on: ${{ matrix.os }}
37-
strategy:
38-
fail-fast: false
39-
matrix:
40-
jdk: ['23']
41-
os: [ubuntu-latest, windows-latest]
42-
43-
steps:
44-
- uses: actions/checkout@v4
45-
- name: Set up JDK ${{ matrix.jdk }}
46-
uses: actions/setup-java@v3
47-
with:
48-
java-version: ${{ matrix.jdk }}
49-
distribution: 'temurin'
50-
cache: maven
51-
- name: Build with Maven
52-
run: mvn -B package checkstyle:check --file pom.xml
5333

5434
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
5535
#- name: Update dependency graph

fop-core/src/tools/resources/findbugs/exclusions.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,9 @@
438438
<Match>
439439
<Bug pattern="MS_EXPOSE_REP"/>
440440
</Match>
441+
<Match>
442+
<Bug pattern="CT_CONSTRUCTOR_THROW,AA_ASSERTION_OF_ARGUMENTS,SING_SINGLETON_GETTER_NOT_SYNCHRONIZED,URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD,UWF_UNWRITTEN_FIELD,UUF_UNUSED_FIELD,UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD,SING_SINGLETON_HAS_NONPRIVATE_CONSTRUCTOR,UWF_NULL_FIELD,SS_SHOULD_BE_STATIC,PA_PUBLIC_PRIMITIVE_ATTRIBUTE,UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD,NP_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD,MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECT"/>
443+
</Match>
441444

442445
<!-- Bug in findbugs? -->
443446
<Match>

fop-sandbox/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
<artifactId>spotbugs-maven-plugin</artifactId>
111111
<version>${findbugs.plugin.version}</version>
112112
<configuration>
113-
<excludeFilterFile>src/tools/resources/findbugs/exclusions.xml</excludeFilterFile>
113+
<excludeFilterFile>../fop-core/src/tools/resources/findbugs/exclusions.xml</excludeFilterFile>
114114
<effort>Max</effort>
115115
<threshold>Low</threshold>
116116
</configuration>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<commons.logging.version>1.3.0</commons.logging.version>
2121
<compiler.plugin.version>3.11.0</compiler.plugin.version>
2222
<exec.plugin.version>1.4.0</exec.plugin.version>
23-
<findbugs.plugin.version>4.7.3.6</findbugs.plugin.version>
23+
<findbugs.plugin.version>4.8.4.0</findbugs.plugin.version>
2424
<jar.plugin.version>3.1.1</jar.plugin.version>
2525
<java.version>8</java.version>
2626
<junit.version>4.13.2</junit.version>

0 commit comments

Comments
 (0)