You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by ss...@apache.org on 2025/09/25 10:38:28 UTC
(xmlgraphics-fop-pdf-images) branch main updated: Add support for Java 25
This is an automated email from the ASF dual-hosted git repository.
ssteiner pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/xmlgraphics-fop-pdf-images.git
The following commit(s) were added to refs/heads/main by this push:
new 2112f99 Add support for Java 25
2112f99 is described below
commit 2112f9924126ed867e8ee9ad9cfecaff3d33669c
Author: Simon Steiner <ss...@apache.org>
AuthorDate: Thu Sep 25 11:38:19 2025 +0100
Add support for Java 25
---
.github/workflows/maven.yml | 2 +-
pom.xml | 15 ++++++++++++++-
src/tools/resources/findbugs/exclusions.xml | 8 +++++++-
3 files changed, 22 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index cfece11..5824e1c 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- jdk: ['8', '11', '17', '21']
+ jdk: ['8', '11', '17', '21', '25']
os: [ubuntu-latest, windows-latest]
steps:
diff --git a/pom.xml b/pom.xml
index 0992966..7bfbbc8 100755
--- a/pom.xml
+++ b/pom.xml
@@ -12,6 +12,7 @@
<properties>
<antrun.plugin.version>1.8</antrun.plugin.version>
<checkstyle.plugin.version>2.15</checkstyle.plugin.version>
+ <spotbugs.version>4.7.3.6</spotbugs.version>
<jacoco.plugin.version>0.8.5</jacoco.plugin.version>
<jacoco.coverage.line.min>0.8</jacoco.coverage.line.min>
<junit.version>4.13.1</junit.version>
@@ -167,7 +168,7 @@
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
- <version>4.7.3.6</version>
+ <version>${spotbugs.version}</version>
<configuration>
<effort>Max</effort>
<threshold>Low</threshold>
@@ -197,6 +198,18 @@
</resources>
</build>
+ <profiles>
+ <profile>
+ <id>spotbugs-java11</id>
+ <activation>
+ <jdk>[11,)</jdk>
+ </activation>
+ <properties>
+ <spotbugs.version>4.8.6.7</spotbugs.version>
+ </properties>
+ </profile>
+ </profiles>
+
<repositories>
<repository>
<id>apache.snapshots.https</id>
diff --git a/src/tools/resources/findbugs/exclusions.xml b/src/tools/resources/findbugs/exclusions.xml
index 414f4f0..fd32524 100644
--- a/src/tools/resources/findbugs/exclusions.xml
+++ b/src/tools/resources/findbugs/exclusions.xml
@@ -14,5 +14,11 @@
</Match>
<Match>
<Bug pattern="MS_EXPOSE_REP"/>
- </Match>
+ </Match>
+ <Match>
+ <Bug pattern="CT_CONSTRUCTOR_THROW"/>
+ </Match>
+ <Match>
+ <Bug pattern="SING_SINGLETON_HAS_NONPRIVATE_CONSTRUCTOR"/>
+ </Match>
</FindBugsFilter>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org