[Git][java-team/jfreesvg][upstream] New upstream version 5.0.7

Ole Streicher (@olebole) gitlab at salsa.debian.org
Mon Feb 23 14:48:25 GMT 2026



Ole Streicher pushed to branch upstream at Debian Java Maintainers / jfreesvg


Commits:
1689231a by Ole Streicher at 2026-02-23T15:09:05+01:00
New upstream version 5.0.7
- - - - -


5 changed files:

- README.md
- pom.xml
- src/main/java/org/jfree/svg/ImageElement.java
- src/main/java/org/jfree/svg/SVGGraphicsDevice.java
- src/test/java/org/jfree/svg/TestSVGGraphics2D.java


Changes:

=====================================
README.md
=====================================
@@ -1,7 +1,7 @@
 JFreeSVG
 ========
 
-Version 5.0.6, by David Gilbert, 23 June 2024.
+Version 5.0.7, by David Gilbert, 17 May 2025.
 
 (C)opyright 2013-present, by David Gilbert.  All rights reserved.
 
@@ -31,7 +31,7 @@ JFreeSVG is published to the Central Repository.  You can include it in your pro
     <dependency>
         <groupId>org.jfree</groupId>
         <artifactId>org.jfree.svg</artifactId>
-        <version>5.0.6</version>
+        <version>5.0.7</version>
     </dependency>
 
 JFreeSVG is a modular library with the module name `org.jfree.svg`.
@@ -79,6 +79,10 @@ If you prefer not to be bound by the terms of the GPLv3, you can obtain an alter
 Change History
 --------------
 
+Version 5.0.7 (17 May 2025)
+- migrate publishing flow
+- update Maven and JUnit dependencies
+
 Version 5.0.6 (23 June 2024)
 - fix issue with `LinearGradientPaint` and `RadialGradientPaint` reference generation
 - minor code transformations suggested by the Datadog Static Analyzer and SonarLint


=====================================
pom.xml
=====================================
@@ -5,7 +5,7 @@
  
     <groupId>org.jfree</groupId>
     <artifactId>org.jfree.svg</artifactId>
-    <version>5.0.6</version>
+    <version>5.0.7</version>
     <packaging>jar</packaging>
 
     <name>JFreeSVG</name>
@@ -42,13 +42,13 @@
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter-api</artifactId>
-            <version>5.10.2</version>
+            <version>5.12.2</version>
             <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter-engine</artifactId>
-            <version>5.10.2</version>
+            <version>5.12.2</version>
             <scope>test</scope>
         </dependency>
     </dependencies>
@@ -58,7 +58,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-clean-plugin</artifactId>
-                <version>3.3.2</version>
+                <version>3.4.1</version>
             </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
@@ -71,10 +71,9 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
-                <version>3.13.0</version>
+                <version>3.14.0</version>
                 <configuration>
-                    <source>11</source>
-                    <target>11</target>
+                    <release>11</release>
                     <compilerArgument>-Xlint:unchecked</compilerArgument>
                     <encoding>${project.build.sourceEncoding}</encoding>               
                 </configuration>
@@ -82,37 +81,32 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
-                <version>3.4.1</version>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-javadoc-plugin</artifactId>
-                <version>3.6.3</version>
-                <configuration>
-                    <docfilessubdirs>true</docfilessubdirs>
-                    <linksource>true</linksource>
-                </configuration>
+                <version>3.4.2</version>
             </plugin>
             <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
-                <version>3.2.5</version>
+                <version>3.5.3</version>
             </plugin>
             <plugin>
                 <artifactId>maven-failsafe-plugin</artifactId>
-                <version>3.2.5</version>
+                <version>3.5.3</version>
             </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-install-plugin</artifactId>
-                <version>3.1.2</version>
+                <version>3.1.4</version>
             </plugin>
         </plugins>
     </build>
 
     <distributionManagement>
+        <repository>
+            <id>central</id>
+            <url>https://central.sonatype.com</url>
+        </repository>
         <snapshotRepository>
-            <id>ossrh</id>
-            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
+            <id>central</id>
+            <url>https://central.sonatype.com/repository/maven-snapshots/</url>
         </snapshotRepository>
     </distributionManagement>
 
@@ -121,37 +115,10 @@
             <id>release</id>
             <build>
                 <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-gpg-plugin</artifactId>
-                        <version>3.2.4</version>
-                        <executions>
-                            <execution>
-                                <id>sign-artifacts</id>
-                                <phase>verify</phase>
-                                <goals>
-                                    <goal>sign</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                    </plugin> 
-
-                    <plugin>
-                        <groupId>org.sonatype.plugins</groupId>
-                        <artifactId>nexus-staging-maven-plugin</artifactId>
-                        <version>1.7.0</version>
-                        <extensions>true</extensions>
-                        <configuration>
-                            <serverId>ossrh</serverId>
-                            <nexusUrl>https://oss.sonatype.org/</nexusUrl>
-                            <autoReleaseAfterClose>false</autoReleaseAfterClose>
-                        </configuration>
-                    </plugin>
-
                     <plugin>
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-javadoc-plugin</artifactId>
-                        <version>3.7.0</version>
+                        <version>3.11.2</version>
                         <configuration>
                             <docfilessubdirs>true</docfilessubdirs>
                             <linksource>true</linksource>
@@ -165,7 +132,6 @@
                             </execution>
                         </executions>
                     </plugin>
-
                     <plugin>
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-source-plugin</artifactId>
@@ -179,9 +145,31 @@
                             </execution>
                         </executions>
                     </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-gpg-plugin</artifactId>
+                        <version>3.2.7</version>
+                        <executions>
+                            <execution>
+                                <id>sign-artifacts</id>
+                                <phase>verify</phase>
+                                <goals>
+                                    <goal>sign</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                    <plugin>
+                        <groupId>org.sonatype.central</groupId>
+                        <artifactId>central-publishing-maven-plugin</artifactId>
+                        <version>0.7.0</version>
+                        <extensions>true</extensions>
+                        <configuration>
+                            <publishingServerId>central</publishingServerId>
+                        </configuration>
+                    </plugin>
                 </plugins>
             </build>
         </profile>
     </profiles>
-
 </project>


=====================================
src/main/java/org/jfree/svg/ImageElement.java
=====================================
@@ -92,7 +92,7 @@ public final class ImageElement {
         StringBuilder sb = new StringBuilder();
         sb.append("ImageElement[");
         sb.append(this.href).append(", ").append(this.image);
-        sb.append("]");
+        sb.append(']');
         return sb.toString();
     }
  


=====================================
src/main/java/org/jfree/svg/SVGGraphicsDevice.java
=====================================
@@ -51,6 +51,7 @@ public class SVGGraphicsDevice extends GraphicsDevice {
      * @param defaultConfig  the default configuration.
      */
     public SVGGraphicsDevice(String id, GraphicsConfiguration defaultConfig) {
+        super();
         this.id = id;
         this.defaultConfig = defaultConfig;
     }


=====================================
src/test/java/org/jfree/svg/TestSVGGraphics2D.java
=====================================
@@ -926,7 +926,9 @@ class TestSVGGraphics2D {
 
     @Test
     void checkGradientPaintRefGeneration() {
-        if (!(this.g2 instanceof SVGGraphics2D)) return;
+        if (!(this.g2 instanceof SVGGraphics2D)) {
+            return;
+        }
         SVGGraphics2D svg2 = (SVGGraphics2D) this.g2;
         GradientPaint gp0 = new GradientPaint(1.0f, 2.0f, Color.RED, 3.0f, 4.0f, Color.BLUE);
         svg2.setPaint(gp0);



View it on GitLab: https://salsa.debian.org/java-team/jfreesvg/-/commit/1689231a3616092f7a5ba0337124b6f7eeeada49

-- 
View it on GitLab: https://salsa.debian.org/java-team/jfreesvg/-/commit/1689231a3616092f7a5ba0337124b6f7eeeada49
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20260223/e33b8043/attachment.htm>


More information about the pkg-java-commits mailing list