Browse Source

Run tests on Java 11 and 17

pull/78/head
Simon Steiner 3 months ago
parent
commit
75e734cdbf
3 changed files with 11 additions and 2 deletions
  1. 1
    1
      .github/workflows/maven.yml
  2. 9
    0
      fop-core/src/tools/resources/findbugs/exclusions.xml
  3. 1
    1
      pom.xml

+ 1
- 1
.github/workflows/maven.yml View File

@@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
jdk: ['8']
jdk: ['8', '11', '17']
os: [ubuntu-latest, windows-latest]

steps:

+ 9
- 0
fop-core/src/tools/resources/findbugs/exclusions.xml View File

@@ -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"/>

+ 1
- 1
pom.xml View File

@@ -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>

Loading…
Cancel
Save