⬆️ Update JUnit and Maven plugins
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Sun, 26 May 2024 10:45:47 +0000 (12:45 +0200)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Sun, 26 May 2024 10:45:47 +0000 (12:45 +0200)
The JUnit update fixes a problem with coverage recording, see
https://github.com/jacoco/jacoco/issues/1310#issuecomment-1118191086 and
https://github.com/junit-team/junit4/issues/1652.

pom.xml

diff --git a/pom.xml b/pom.xml
index 2a78f37..4a5d734 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -16,7 +16,7 @@
                <dependency>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
-                       <version>4.13.1</version>
+                       <version>4.13.2</version>
                        <scope>test</scope>
                        <exclusions>
                                <exclusion>
                        <extension>
                                <groupId>org.apache.maven.wagon</groupId>
                                <artifactId>wagon-ssh-external</artifactId>
-                               <version>2.9</version>
+                               <version>3.5.3</version>
                        </extension>
                </extensions>
                <plugins>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-compiler-plugin</artifactId>
-                               <version>3.8.1</version>
+                               <version>3.13.0</version>
                                <configuration>
                                        <source>1.8</source>
                                        <target>1.8</target>
@@ -69,7 +69,7 @@
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-javadoc-plugin</artifactId>
-                               <version>3.1.1</version>
+                               <version>3.6.3</version>
                                <executions>
                                        <execution>
                                                <id>attach-javadocs</id>
@@ -82,7 +82,7 @@
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-source-plugin</artifactId>
-                               <version>3.2.1</version>
+                               <version>3.3.1</version>
                                <executions>
                                        <execution>
                                                <id>attach-sources</id>
@@ -95,7 +95,7 @@
                        <plugin>
                                <groupId>org.jacoco</groupId>
                                <artifactId>jacoco-maven-plugin</artifactId>
-                               <version>0.8.5</version>
+                               <version>0.8.12</version>
                                <executions>
                                        <execution>
                                                <id>default-prepare-agent</id>
                                        </execution>
                                </executions>
                        </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-surefire-plugin</artifactId>
+                               <version>3.2.2</version>
+                       </plugin>
                </plugins>
        </build>
 </project>