Skip to content

Commit

Permalink
Upgrade dependencies (#437)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
kaklakariada and kaklakariada authored Jan 19, 2025
1 parent 6a25536 commit 377e1cb
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;

@SuppressWarnings("removal") // https://github.com/itsallcode/openfasttrace/issues/436
@ExtendWith(ExitGuard.class)
class TestCliStarter
{
Expand Down
4 changes: 4 additions & 0 deletions doc/changes/changes_4.2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ In this release we changed the behavior of the Markdown importer, so that if we
## Features

* #480: Ignore specification items inside Markdown code blocks

## Refactoring

* #437: Upgrade build and test dependencies on top of 4.1.0
36 changes: 18 additions & 18 deletions parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<properties>
<revision>4.1.0</revision>
<java.version>17</java.version>
<junit.version>5.11.0-M2</junit.version>
<maven.surefire.version>3.3.0</maven.surefire.version>
<junit.version>5.11.4</junit.version>
<maven.surefire.version>3.5.2</maven.surefire.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<reproducible.build.timestamp>${git.commit.time}</reproducible.build.timestamp>
Expand Down Expand Up @@ -213,31 +213,31 @@
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<version>2.2</version>
<version>3.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>5.12.0</version>
<version>5.15.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.itsallcode</groupId>
<artifactId>junit5-system-extensions</artifactId>
<version>1.2.0</version>
<version>1.2.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.itsallcode</groupId>
<artifactId>hamcrest-auto-matcher</artifactId>
<version>0.7.0</version>
<version>0.8.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>nl.jqno.equalsverifier</groupId>
<artifactId>equalsverifier</artifactId>
<version>3.16.1</version>
<version>3.18.1</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -298,7 +298,7 @@
<plugin>
<groupId>io.github.git-commit-id</groupId>
<artifactId>git-commit-id-maven-plugin</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<executions>
<execution>
<id>get-the-git-infos</id>
Expand Down Expand Up @@ -524,7 +524,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-artifact-plugin</artifactId>
<version>3.5.1</version>
<version>3.6.0</version>
<executions>
<execution>
<id>verify-reproducible-build</id>
Expand All @@ -541,7 +541,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.16.2</version>
<version>2.18.0</version>
</plugin>
</plugins>
<pluginManagement>
Expand All @@ -554,7 +554,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>3.1.2</version>
<version>3.1.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -564,7 +564,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>4.0.0-M15</version>
<version>4.0.0-M16</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -574,7 +574,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.1</version>
<version>3.4.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -584,7 +584,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.7.0</version>
<version>3.11.2</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand Down Expand Up @@ -614,7 +614,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.2</version>
<version>3.1.3</version>
</plugin>
<!--This
plugin's configuration is used to store Eclipse
Expand Down Expand Up @@ -661,7 +661,7 @@
<dependency>
<groupId>net.sourceforge.plantuml</groupId>
<artifactId>plantuml</artifactId>
<version>1.2024.3</version>
<version>1.2025.0</version>
</dependency>
</dependencies>
</plugin>
Expand All @@ -679,7 +679,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.4</version>
<version>3.2.7</version>
<executions>
<execution>
<id>sign-artifacts</id>
Expand All @@ -702,4 +702,4 @@
</plugin>
</plugins>
</reporting>
</project>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import org.junit.jupiter.api.extension.ExtendWith;
import org.junit.jupiter.api.io.TempDir;

@SuppressWarnings("removal") // https://github.com/itsallcode/openfasttrace/issues/436
@ExtendWith(ExitGuard.class)
@ExtendWith(SystemOutGuard.class)
class ITestCliWithFilter extends AbstractFileBasedTest
Expand Down Expand Up @@ -94,4 +95,4 @@ void testFilterWithAtLeastOneMatchingTagOrNoTags(final Capturable stream)
assertThat(stdOut, containsString("<id>b<"));
assertThat(stdOut, not(containsString("<id>c<")));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;

@SuppressWarnings("removal") // https://github.com/itsallcode/openfasttrace/issues/436
@ExtendWith(ExitGuard.class)
class TestCliExit
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import org.junit.jupiter.api.io.TempDir;
import org.opentest4j.MultipleFailuresError;

@SuppressWarnings("removal") // https://github.com/itsallcode/openfasttrace/issues/436
@ExtendWith(ExitGuard.class)
@ExtendWith(SystemOutGuard.class)
@ExtendWith(SystemErrGuard.class)
Expand Down

0 comments on commit 377e1cb

Please sign in to comment.