diff options
author | Simon Steiner <ssteiner@apache.org> | 2024-01-22 14:39:19 +0000 |
---|---|---|
committer | Simon Steiner <ssteiner@apache.org> | 2024-01-22 14:39:19 +0000 |
commit | 75e734cdbff92b34324bcca21f1c1408a8944168 (patch) | |
tree | 91edb90e584855b1efbe45355a08e30fca42ceff | |
parent | eb97ede04e7e9f2af82fb97b2c8894488498a316 (diff) | |
download | xmlgraphics-fop-75e734cdbff92b34324bcca21f1c1408a8944168.tar.gz xmlgraphics-fop-75e734cdbff92b34324bcca21f1c1408a8944168.zip |
Run tests on Java 11 and 17
-rw-r--r-- | .github/workflows/maven.yml | 2 | ||||
-rw-r--r-- | fop-core/src/tools/resources/findbugs/exclusions.xml | 9 | ||||
-rw-r--r-- | pom.xml | 2 |
3 files changed, 11 insertions, 2 deletions
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 394564531..b43276cf1 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - jdk: ['8'] + jdk: ['8', '11', '17'] os: [ubuntu-latest, windows-latest] steps: diff --git a/fop-core/src/tools/resources/findbugs/exclusions.xml b/fop-core/src/tools/resources/findbugs/exclusions.xml index 54a827c8a..c502e4b72 100644 --- a/fop-core/src/tools/resources/findbugs/exclusions.xml +++ b/fop-core/src/tools/resources/findbugs/exclusions.xml @@ -413,6 +413,15 @@ <Class name="org.apache.fop.servlet.FopServlet"/> </And> </Match> + <Match> + <Bug pattern="EQ_DOESNT_OVERRIDE_EQUALS"/> + <Or> + <Class name="org.apache.fop.layoutmgr.inline.LineLayoutManager$Paragraph"/> + <Class name="org.apache.fop.layoutmgr.InlineKnuthSequence"/> + <Class name="org.apache.fop.layoutmgr.BlockKnuthSequence"/> + <Class name="org.apache.fop.layoutmgr.AbstractBreaker$BlockSequence"/> + </Or> + </Match> <Match> <Bug pattern="DMI_RANDOM_USED_ONLY_ONCE"/> @@ -20,7 +20,7 @@ <commons.logging.version>1.0.4</commons.logging.version> <compiler.plugin.version>3.11.0</compiler.plugin.version> <exec.plugin.version>1.4.0</exec.plugin.version> - <findbugs.plugin.version>3.1.12.2</findbugs.plugin.version> + <findbugs.plugin.version>4.2.3</findbugs.plugin.version> <jar.plugin.version>3.1.1</jar.plugin.version> <java.version>8</java.version> <junit.version>4.11</junit.version> |