Skip to content

Commit 377e1cb

Browse files
authored
Upgrade dependencies (#437)
* Upgrade dependencies * Suppress removal warning Will be fixed in #436 * Test with Java 23 * Update changelog * Disable Java 23 build --------- Co-authored-by: kaklakariada <[email protected]>
1 parent 6a25536 commit 377e1cb

File tree

6 files changed

+27
-19
lines changed

6 files changed

+27
-19
lines changed

core/src/test/java/org/itsallcode/openfasttrace/core/cli/TestCliStarter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import org.junit.jupiter.api.Test;
1313
import org.junit.jupiter.api.extension.ExtendWith;
1414

15+
@SuppressWarnings("removal") // https://github.com/itsallcode/openfasttrace/issues/436
1516
@ExtendWith(ExitGuard.class)
1617
class TestCliStarter
1718
{

doc/changes/changes_4.2.0.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ In this release we changed the behavior of the Markdown importer, so that if we
99
## Features
1010

1111
* #480: Ignore specification items inside Markdown code blocks
12+
13+
## Refactoring
14+
15+
* #437: Upgrade build and test dependencies on top of 4.1.0

parent/pom.xml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<properties>
1313
<revision>4.1.0</revision>
1414
<java.version>17</java.version>
15-
<junit.version>5.11.0-M2</junit.version>
16-
<maven.surefire.version>3.3.0</maven.surefire.version>
15+
<junit.version>5.11.4</junit.version>
16+
<maven.surefire.version>3.5.2</maven.surefire.version>
1717
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1818
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1919
<reproducible.build.timestamp>${git.commit.time}</reproducible.build.timestamp>
@@ -213,31 +213,31 @@
213213
<dependency>
214214
<groupId>org.hamcrest</groupId>
215215
<artifactId>hamcrest</artifactId>
216-
<version>2.2</version>
216+
<version>3.0</version>
217217
<scope>test</scope>
218218
</dependency>
219219
<dependency>
220220
<groupId>org.mockito</groupId>
221221
<artifactId>mockito-junit-jupiter</artifactId>
222-
<version>5.12.0</version>
222+
<version>5.15.2</version>
223223
<scope>test</scope>
224224
</dependency>
225225
<dependency>
226226
<groupId>org.itsallcode</groupId>
227227
<artifactId>junit5-system-extensions</artifactId>
228-
<version>1.2.0</version>
228+
<version>1.2.2</version>
229229
<scope>test</scope>
230230
</dependency>
231231
<dependency>
232232
<groupId>org.itsallcode</groupId>
233233
<artifactId>hamcrest-auto-matcher</artifactId>
234-
<version>0.7.0</version>
234+
<version>0.8.2</version>
235235
<scope>test</scope>
236236
</dependency>
237237
<dependency>
238238
<groupId>nl.jqno.equalsverifier</groupId>
239239
<artifactId>equalsverifier</artifactId>
240-
<version>3.16.1</version>
240+
<version>3.18.1</version>
241241
<scope>test</scope>
242242
</dependency>
243243
<dependency>
@@ -298,7 +298,7 @@
298298
<plugin>
299299
<groupId>io.github.git-commit-id</groupId>
300300
<artifactId>git-commit-id-maven-plugin</artifactId>
301-
<version>9.0.0</version>
301+
<version>9.0.1</version>
302302
<executions>
303303
<execution>
304304
<id>get-the-git-infos</id>
@@ -524,7 +524,7 @@
524524
<plugin>
525525
<groupId>org.apache.maven.plugins</groupId>
526526
<artifactId>maven-artifact-plugin</artifactId>
527-
<version>3.5.1</version>
527+
<version>3.6.0</version>
528528
<executions>
529529
<execution>
530530
<id>verify-reproducible-build</id>
@@ -541,7 +541,7 @@
541541
<plugin>
542542
<groupId>org.codehaus.mojo</groupId>
543543
<artifactId>versions-maven-plugin</artifactId>
544-
<version>2.16.2</version>
544+
<version>2.18.0</version>
545545
</plugin>
546546
</plugins>
547547
<pluginManagement>
@@ -554,7 +554,7 @@
554554
<plugin>
555555
<groupId>org.apache.maven.plugins</groupId>
556556
<artifactId>maven-install-plugin</artifactId>
557-
<version>3.1.2</version>
557+
<version>3.1.3</version>
558558
</plugin>
559559
<plugin>
560560
<groupId>org.apache.maven.plugins</groupId>
@@ -564,7 +564,7 @@
564564
<plugin>
565565
<groupId>org.apache.maven.plugins</groupId>
566566
<artifactId>maven-site-plugin</artifactId>
567-
<version>4.0.0-M15</version>
567+
<version>4.0.0-M16</version>
568568
</plugin>
569569
<plugin>
570570
<groupId>org.apache.maven.plugins</groupId>
@@ -574,7 +574,7 @@
574574
<plugin>
575575
<groupId>org.apache.maven.plugins</groupId>
576576
<artifactId>maven-jar-plugin</artifactId>
577-
<version>3.4.1</version>
577+
<version>3.4.2</version>
578578
</plugin>
579579
<plugin>
580580
<groupId>org.apache.maven.plugins</groupId>
@@ -584,7 +584,7 @@
584584
<plugin>
585585
<groupId>org.apache.maven.plugins</groupId>
586586
<artifactId>maven-javadoc-plugin</artifactId>
587-
<version>3.7.0</version>
587+
<version>3.11.2</version>
588588
</plugin>
589589
<plugin>
590590
<groupId>org.codehaus.mojo</groupId>
@@ -614,7 +614,7 @@
614614
<plugin>
615615
<groupId>org.apache.maven.plugins</groupId>
616616
<artifactId>maven-deploy-plugin</artifactId>
617-
<version>3.1.2</version>
617+
<version>3.1.3</version>
618618
</plugin>
619619
<!--This
620620
plugin's configuration is used to store Eclipse
@@ -661,7 +661,7 @@
661661
<dependency>
662662
<groupId>net.sourceforge.plantuml</groupId>
663663
<artifactId>plantuml</artifactId>
664-
<version>1.2024.3</version>
664+
<version>1.2025.0</version>
665665
</dependency>
666666
</dependencies>
667667
</plugin>
@@ -679,7 +679,7 @@
679679
<plugin>
680680
<groupId>org.apache.maven.plugins</groupId>
681681
<artifactId>maven-gpg-plugin</artifactId>
682-
<version>3.2.4</version>
682+
<version>3.2.7</version>
683683
<executions>
684684
<execution>
685685
<id>sign-artifacts</id>
@@ -702,4 +702,4 @@
702702
</plugin>
703703
</plugins>
704704
</reporting>
705-
</project>
705+
</project>

product/src/test/java/org/itsallcode/openfasttrace/cli/ITestCliWithFilter.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import org.junit.jupiter.api.extension.ExtendWith;
2020
import org.junit.jupiter.api.io.TempDir;
2121

22+
@SuppressWarnings("removal") // https://github.com/itsallcode/openfasttrace/issues/436
2223
@ExtendWith(ExitGuard.class)
2324
@ExtendWith(SystemOutGuard.class)
2425
class ITestCliWithFilter extends AbstractFileBasedTest
@@ -94,4 +95,4 @@ void testFilterWithAtLeastOneMatchingTagOrNoTags(final Capturable stream)
9495
assertThat(stdOut, containsString("<id>b<"));
9596
assertThat(stdOut, not(containsString("<id>c<")));
9697
}
97-
}
98+
}

product/src/test/java/org/itsallcode/openfasttrace/cli/TestCliExit.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import org.junit.jupiter.api.Test;
1313
import org.junit.jupiter.api.extension.ExtendWith;
1414

15+
@SuppressWarnings("removal") // https://github.com/itsallcode/openfasttrace/issues/436
1516
@ExtendWith(ExitGuard.class)
1617
class TestCliExit
1718
{

product/src/test/java/org/itsallcode/openfasttrace/cli/TestCliStarter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import org.junit.jupiter.api.io.TempDir;
2323
import org.opentest4j.MultipleFailuresError;
2424

25+
@SuppressWarnings("removal") // https://github.com/itsallcode/openfasttrace/issues/436
2526
@ExtendWith(ExitGuard.class)
2627
@ExtendWith(SystemOutGuard.class)
2728
@ExtendWith(SystemErrGuard.class)

0 commit comments

Comments
 (0)