]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Run tests on Java 11 and 17 78/head
authorSimon Steiner <ssteiner@apache.org>
Mon, 22 Jan 2024 14:39:19 +0000 (14:39 +0000)
committerSimon Steiner <ssteiner@apache.org>
Mon, 22 Jan 2024 14:39:19 +0000 (14:39 +0000)
.github/workflows/maven.yml
fop-core/src/tools/resources/findbugs/exclusions.xml
pom.xml

index 3945645312eb0cba3bd978afd45388f161e1dde1..b43276cf1d249d22fc56142eab73d73091d6b412 100644 (file)
@@ -16,7 +16,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        jdk: ['8']
+        jdk: ['8', '11', '17']
         os: [ubuntu-latest, windows-latest]
 
     steps:
index 54a827c8aa2ed45fc06d36c66ab1aae8b37334f4..c502e4b722e7ccb3bf2f21beb1f60565e56cbffb 100644 (file)
       <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"/>
diff --git a/pom.xml b/pom.xml
index 608c4b93bb62bfada5bd320153bfe999074096b7..aa61f80a61c882663cd279064356dccd2abcd766 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -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>