JAVA-26760: Updated and standardized the junit-jupiter-engine library (#16357)

* JAVA-26760: Updated and standardized the junit-jupiter-engine library

* JAVA-26760: Updated and standardized the mockito-junit-jupiter library

* fix mockito-junit-jupiter properties

* fix maven-custom-plugin/usage-example properties

* Fix quarkus-funqy

* JAVA-26760: Fix NamespacedHierarchicalStore error in junit
This commit is contained in:
Harry9656 2024-04-23 18:45:06 +02:00 committed by GitHub
parent 9177009ab6
commit 6b0c4b9a80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
47 changed files with 51 additions and 59 deletions

View File

@ -113,7 +113,6 @@
<guice.version>5.1.0</guice.version> <guice.version>5.1.0</guice.version>
<system-stubs-junit4.version>2.0.2</system-stubs-junit4.version> <system-stubs-junit4.version>2.0.2</system-stubs-junit4.version>
<assertj-core.version>3.19.0</assertj-core.version> <assertj-core.version>3.19.0</assertj-core.version>
<junit-jupiter.version>5.8.1</junit-jupiter.version>
</properties> </properties>
</project> </project>

View File

@ -27,7 +27,7 @@
<dependency> <dependency>
<groupId>org.mockito</groupId> <groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId> <artifactId>mockito-junit-jupiter</artifactId>
<version>5.2.0</version> <version>${mockito-junit-jupiter.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -15,13 +15,13 @@
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId> <artifactId>junit-jupiter-api</artifactId>
<version>5.9.2</version> <version>${junit-jupiter.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId> <artifactId>junit-jupiter-engine</artifactId>
<version>5.9.2</version> <version>${junit-jupiter.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -20,6 +20,10 @@
<version>${lombok.version}</version> <version>${lombok.version}</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
</dependency>
<!-- this is all you need to write tests with JUnit Jupiter --> <!-- this is all you need to write tests with JUnit Jupiter -->
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>

View File

@ -45,7 +45,7 @@
<dependency> <dependency>
<groupId>org.mockito</groupId> <groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId> <artifactId>mockito-junit-jupiter</artifactId>
<version>${mockito.version}</version> <version>${mockito-junit-jupiter.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -30,7 +30,7 @@
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId> <artifactId>junit-jupiter-engine</artifactId>
<version>5.10.1</version> <version>${junit-jupiter.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -23,7 +23,7 @@
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId> <artifactId>junit-jupiter-engine</artifactId>
<version>${junit-jupiter-engine.version}</version> <version>${junit-jupiter.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
@ -44,7 +44,6 @@
</build> </build>
<properties> <properties>
<junit-jupiter-engine.version>5.9.2</junit-jupiter-engine.version>
<spring-context.version>6.0.11</spring-context.version> <spring-context.version>6.0.11</spring-context.version>
<maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version> <maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version>
</properties> </properties>

View File

@ -44,7 +44,7 @@
<properties> <properties>
<commons.lang3.version>3.9</commons.lang3.version> <commons.lang3.version>3.9</commons.lang3.version>
<junit-jupiter.version>5.8.1</junit-jupiter.version> <junit-jupiter.version>5.10.2</junit-jupiter.version> <!-- This module doesn't inherit from parent -->
</properties> </properties>
</project> </project>

View File

@ -27,30 +27,30 @@
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId> <artifactId>junit-jupiter</artifactId>
<version>${junit.jupiter.version}</version> <version>${junit-jupiter.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId> <artifactId>junit-jupiter-engine</artifactId>
<version>${junit.jupiter.version}</version> <version>${junit-jupiter.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId> <artifactId>junit-jupiter-api</artifactId>
<version>${junit.jupiter.version}</version> <version>${junit-jupiter.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.junit.vintage</groupId> <groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId> <artifactId>junit-vintage-engine</artifactId>
<version>${junit.jupiter.version}</version> <version>${junit-jupiter.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId> <artifactId>junit-jupiter-params</artifactId>
<version>${junit.jupiter.version}</version> <version>${junit-jupiter.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
@ -84,7 +84,6 @@
<properties> <properties>
<maven-compiler-plugin.version>3.12.1</maven-compiler-plugin.version> <maven-compiler-plugin.version>3.12.1</maven-compiler-plugin.version>
<exec-maven-plugin.version>3.1.0</exec-maven-plugin.version> <exec-maven-plugin.version>3.1.0</exec-maven-plugin.version>
<junit.jupiter.version>5.10.0</junit.jupiter.version>
<apache.maven.version>3.9.6</apache.maven.version> <apache.maven.version>3.9.6</apache.maven.version>
<apache.maven.invoker.version>3.2.0</apache.maven.invoker.version> <apache.maven.invoker.version>3.2.0</apache.maven.invoker.version>
</properties> </properties>

View File

@ -77,7 +77,6 @@
<properties> <properties>
<camel.version>4.3.0</camel.version> <camel.version>4.3.0</camel.version>
<camel-swagger.version>3.22.0</camel-swagger.version> <camel-swagger.version>3.22.0</camel-swagger.version>
<junit-jupiter.version>5.10.1</junit-jupiter.version> <!--Version not compatible with the one inherited from parent-->
<spring-boot.repackage.skip>true</spring-boot.repackage.skip> <!--Skip repackaging for multiple main classes--> <spring-boot.repackage.skip>true</spring-boot.repackage.skip> <!--Skip repackaging for multiple main classes-->
</properties> </properties>

View File

@ -85,7 +85,6 @@
<maven-war-plugin.version>3.3.2</maven-war-plugin.version> <maven-war-plugin.version>3.3.2</maven-war-plugin.version>
<activemq-junit.version>5.16.5</activemq-junit.version> <activemq-junit.version>5.16.5</activemq-junit.version>
<testcontainers.version>1.17.3</testcontainers.version> <testcontainers.version>1.17.3</testcontainers.version>
<junit-jupiter.version>5.10.1</junit-jupiter.version>
</properties> </properties>
</project> </project>

View File

@ -230,7 +230,6 @@
<maven-resources-plugin.version>3.3.0</maven-resources-plugin.version> <maven-resources-plugin.version>3.3.0</maven-resources-plugin.version>
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version> <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
<spring-boot.version>3.1.5</spring-boot.version> <spring-boot.version>3.1.5</spring-boot.version>
<junit-jupiter.version>5.8.2</junit-jupiter.version>
<native-build-tools-plugin.version>0.9.17</native-build-tools-plugin.version> <native-build-tools-plugin.version>0.9.17</native-build-tools-plugin.version>
</properties> </properties>

View File

@ -72,7 +72,6 @@
<hibernate.version>6.4.2.Final</hibernate.version> <hibernate.version>6.4.2.Final</hibernate.version>
<spring-boot.version>3.2.2</spring-boot.version> <spring-boot.version>3.2.2</spring-boot.version>
<spring-test.version>6.0.16</spring-test.version> <spring-test.version>6.0.16</spring-test.version>
<junit-jupiter.version>5.8.2</junit-jupiter.version>
<h2.version>2.1.214</h2.version> <h2.version>2.1.214</h2.version>
</properties> </properties>

View File

@ -81,7 +81,6 @@
<properties> <properties>
<spring.boot.dependencies>3.2.2</spring.boot.dependencies> <spring.boot.dependencies>3.2.2</spring.boot.dependencies>
<junit-jupiter.version>5.10.2</junit-jupiter.version>
<maven.compiler.source>17</maven.compiler.source> <maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target> <maven.compiler.target>17</maven.compiler.target>
<db.util.version>1.0.7</db.util.version> <db.util.version>1.0.7</db.util.version>

View File

@ -68,13 +68,13 @@
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId> <artifactId>junit-jupiter-engine</artifactId>
<version>${junit.jupiter.version}</version> <version>${junit-jupiter.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId> <artifactId>junit-jupiter-api</artifactId>
<version>${junit.jupiter.version}</version> <version>${junit-jupiter.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
@ -102,7 +102,6 @@
<org.springframework.data.version>4.1.9</org.springframework.data.version> <org.springframework.data.version>4.1.9</org.springframework.data.version>
<testcontainers.version>1.19.5</testcontainers.version> <testcontainers.version>1.19.5</testcontainers.version>
<system.stubs.version>2.1.5</system.stubs.version> <system.stubs.version>2.1.5</system.stubs.version>
<junit.jupiter.version>5.9.3</junit.jupiter.version>
<start-class>org.baeldung.springcassandra.SpringCassandraApplication</start-class> <start-class>org.baeldung.springcassandra.SpringCassandraApplication</start-class>
</properties> </properties>

View File

@ -92,7 +92,6 @@
<embedded-redis.version>0.6</embedded-redis.version> <embedded-redis.version>0.6</embedded-redis.version>
<jedis.version>5.1.2</jedis.version> <jedis.version>5.1.2</jedis.version>
<spring-boot.version>3.2.0</spring-boot.version> <spring-boot.version>3.2.0</spring-boot.version>
<junit-jupiter.version>5.10.2</junit-jupiter.version>
<start-class>com.baeldung.spring.data.redis.SpringRedisApplication</start-class> <start-class>com.baeldung.spring.data.redis.SpringRedisApplication</start-class>
</properties> </properties>

View File

@ -49,7 +49,6 @@
</build> </build>
<properties> <properties>
<junit-jupiter.version>5.10.0</junit-jupiter.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<spring-boot.version>3.2.4</spring-boot.version> <!-- Requires at least spring framework version 6.1.X to work --> <spring-boot.version>3.2.4</spring-boot.version> <!-- Requires at least spring framework version 6.1.X to work -->
</properties> </properties>

View File

@ -1179,7 +1179,7 @@
<jackson.version>2.16.1</jackson.version> <jackson.version>2.16.1</jackson.version>
<commons-fileupload.version>1.5</commons-fileupload.version> <commons-fileupload.version>1.5</commons-fileupload.version>
<junit-platform.version>1.9.2</junit-platform.version> <junit-platform.version>1.9.2</junit-platform.version>
<junit-jupiter.version>5.9.2</junit-jupiter.version> <junit-jupiter.version>5.10.2</junit-jupiter.version>
<junit-platform-surefire-provider.version>1.3.2</junit-platform-surefire-provider.version> <junit-platform-surefire-provider.version>1.3.2</junit-platform-surefire-provider.version>
<directory-maven-plugin.version>1.0</directory-maven-plugin.version> <directory-maven-plugin.version>1.0</directory-maven-plugin.version>
<maven-install-plugin.version>3.1.1</maven-install-plugin.version> <maven-install-plugin.version>3.1.1</maven-install-plugin.version>
@ -1191,7 +1191,7 @@
<h2.version>2.2.224</h2.version> <h2.version>2.2.224</h2.version>
<guava.version>33.0.0-jre</guava.version> <guava.version>33.0.0-jre</guava.version>
<maven-jar-plugin.version>3.3.0</maven-jar-plugin.version> <maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
<mockito-junit-jupiter.version>5.11.0</mockito-junit-jupiter.version>
<logback.configurationFileName>logback-config-global.xml</logback.configurationFileName> <logback.configurationFileName>logback-config-global.xml</logback.configurationFileName>
</properties> </properties>

View File

@ -131,6 +131,7 @@
<quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id> <quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id>
<quarkus.platform.version>3.9.4</quarkus.platform.version> <quarkus.platform.version>3.9.4</quarkus.platform.version>
<surefire-plugin.version>3.0.0-M7</surefire-plugin.version> <surefire-plugin.version>3.0.0-M7</surefire-plugin.version>
<junit-jupiter.version>5.7.2</junit-jupiter.version> <!-- Latest version not compatible. Maybe old quarkus version -->
</properties> </properties>
</project> </project>

View File

@ -101,7 +101,6 @@
<mockwebserver.version>5.0.0-alpha.12</mockwebserver.version> <mockwebserver.version>5.0.0-alpha.12</mockwebserver.version>
<spring-boot.repackage.skip>true</spring-boot.repackage.skip> <spring-boot.repackage.skip>true</spring-boot.repackage.skip>
<spring-boot.version>3.2.2</spring-boot.version> <spring-boot.version>3.2.2</spring-boot.version>
<junit-jupiter.version>5.10.2</junit-jupiter.version>
</properties> </properties>
</project> </project>

View File

@ -105,7 +105,6 @@
<kotlin-stdlib.version>2.0.0-Beta4</kotlin-stdlib.version> <kotlin-stdlib.version>2.0.0-Beta4</kotlin-stdlib.version>
<spring-boot.repackage.skip>true</spring-boot.repackage.skip> <spring-boot.repackage.skip>true</spring-boot.repackage.skip>
<spring-boot.version>3.2.2</spring-boot.version> <spring-boot.version>3.2.2</spring-boot.version>
<junit-jupiter.version>5.10.2</junit-jupiter.version>
</properties> </properties>
</project> </project>

View File

@ -88,7 +88,6 @@
<spring-batch-core.version>5.1.1</spring-batch-core.version> <spring-batch-core.version>5.1.1</spring-batch-core.version>
<start-class>com.baeldung.batchtesting.SpringBatchApplication</start-class> <start-class>com.baeldung.batchtesting.SpringBatchApplication</start-class>
<spring-boot.version>3.2.2</spring-boot.version> <spring-boot.version>3.2.2</spring-boot.version>
<junit-jupiter.version>5.10.2</junit-jupiter.version>
</properties> </properties>
</project> </project>

View File

@ -43,22 +43,22 @@
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId> <artifactId>junit-jupiter</artifactId>
<version>${jupiter.version}</version> <version>${junit-jupiter.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId> <artifactId>junit-jupiter-api</artifactId>
<version>${jupiter.version}</version> <version>${junit-jupiter.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId> <artifactId>junit-jupiter-engine</artifactId>
<version>${jupiter.version}</version> <version>${junit-jupiter.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId> <artifactId>junit-jupiter-params</artifactId>
<version>${jupiter.version}</version> <version>${junit-jupiter.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.junit.platform</groupId> <groupId>org.junit.platform</groupId>
@ -213,7 +213,6 @@
<mockserver.version>5.14.0</mockserver.version> <mockserver.version>5.14.0</mockserver.version>
<spring-boot.version>3.2.4</spring-boot.version> <spring-boot.version>3.2.4</spring-boot.version>
<lombok-mapstruct-binding.version>0.2.0</lombok-mapstruct-binding.version> <lombok-mapstruct-binding.version>0.2.0</lombok-mapstruct-binding.version>
<jupiter.version>5.10.0</jupiter.version>
<springdoc-openapi-webmvc-ui.version>2.5.0</springdoc-openapi-webmvc-ui.version> <springdoc-openapi-webmvc-ui.version>2.5.0</springdoc-openapi-webmvc-ui.version>
</properties> </properties>

View File

@ -12,6 +12,10 @@
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
</parent> </parent>
<properties>
<junit-jupiter.version>5.9.3</junit-jupiter.version> <!-- Latest compatible library. NamespacedHierarchicalStore was extracted starting from 5.10.x. So, fails to compile.-->
</properties>
</project> </project>

View File

@ -158,7 +158,6 @@
<properties> <properties>
<spring-boot.version>3.2.2</spring-boot.version> <spring-boot.version>3.2.2</spring-boot.version>
<junit-jupiter.version>5.10.2</junit-jupiter.version>
<git-commit-id-plugin.version>2.2.4</git-commit-id-plugin.version> <git-commit-id-plugin.version>2.2.4</git-commit-id-plugin.version>
<javafx.version>19</javafx.version> <javafx.version>19</javafx.version>
<start-class>com.baeldung.SpringBootDataApplication</start-class> <start-class>com.baeldung.SpringBootDataApplication</start-class>

View File

@ -104,7 +104,6 @@
<jstl.version>1.2</jstl.version> <jstl.version>1.2</jstl.version>
<spring-boot.version>3.2.2</spring-boot.version> <spring-boot.version>3.2.2</spring-boot.version>
<commons-text.version>1.10.0</commons-text.version> <commons-text.version>1.10.0</commons-text.version>
<junit-jupiter.version>5.10.2</junit-jupiter.version>
</properties> </properties>
</project> </project>

View File

@ -85,7 +85,6 @@
<xstream.version>1.4.11.1</xstream.version> <xstream.version>1.4.11.1</xstream.version>
<rest-assured-version>5.4.0</rest-assured-version> <rest-assured-version>5.4.0</rest-assured-version>
<spring-boot.version>3.2.2</spring-boot.version> <spring-boot.version>3.2.2</spring-boot.version>
<junit-jupiter.version>5.10.2</junit-jupiter.version>
</properties> </properties>
</project> </project>

View File

@ -70,7 +70,6 @@
<properties> <properties>
<spring-boot.version>3.2.2</spring-boot.version> <spring-boot.version>3.2.2</spring-boot.version>
<junit-jupiter.version>5.10.2</junit-jupiter.version>
<spring.fox.version>3.0.0</spring.fox.version> <spring.fox.version>3.0.0</spring.fox.version>
<start-class>com.baeldung.springboot.swagger.ArticleApplication</start-class> <start-class>com.baeldung.springboot.swagger.ArticleApplication</start-class>
<spring-cloud.version>2023.0.0</spring-cloud.version> <spring-cloud.version>2023.0.0</spring-cloud.version>

View File

@ -149,7 +149,6 @@
<!-- <start-class>com.baeldung.buildproperties.Application</start-class> --> <!-- <start-class>com.baeldung.buildproperties.Application</start-class> -->
<start-class>com.baeldung.yaml.MyApplication</start-class> <start-class>com.baeldung.yaml.MyApplication</start-class>
<spring-boot.version>3.2.2</spring-boot.version> <spring-boot.version>3.2.2</spring-boot.version>
<junit-jupiter.version>5.10.2</junit-jupiter.version>
</properties> </properties>
</project> </project>

View File

@ -24,7 +24,6 @@
<properties> <properties>
<spring-boot.version>3.2.2</spring-boot.version> <spring-boot.version>3.2.2</spring-boot.version>
<junit-jupiter.version>5.10.2</junit-jupiter.version>
<spring-cloud-starter-gateway.version>4.1.1</spring-cloud-starter-gateway.version> <spring-cloud-starter-gateway.version>4.1.1</spring-cloud-starter-gateway.version>
<start-class>com.baeldung.springcloudgateway.introduction.IntroductionGatewayApplication</start-class> <start-class>com.baeldung.springcloudgateway.introduction.IntroductionGatewayApplication</start-class>
</properties> </properties>

View File

@ -107,7 +107,6 @@
<maven.compiler.source>17</maven.compiler.source> <maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target> <maven.compiler.target>17</maven.compiler.target>
<wiremock.version>3.3.1</wiremock.version> <wiremock.version>3.3.1</wiremock.version>
<junit-jupiter.version>5.10.2</junit-jupiter.version>
<testcontainers.version>1.17.3</testcontainers.version> <testcontainers.version>1.17.3</testcontainers.version>
</properties> </properties>

View File

@ -41,6 +41,7 @@
<dependency> <dependency>
<groupId>org.mockito</groupId> <groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId> <artifactId>mockito-junit-jupiter</artifactId>
<version>${mockito-junit-jupiter.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -86,7 +86,6 @@
<spring-cloud-starter-stream.version>2.1.2.RELEASE</spring-cloud-starter-stream.version> <spring-cloud-starter-stream.version>2.1.2.RELEASE</spring-cloud-starter-stream.version>
<!-- used only in dependency management to force this version, not included as a direct dependency --> <!-- used only in dependency management to force this version, not included as a direct dependency -->
<junit.version>4.13.2</junit.version> <junit.version>4.13.2</junit.version>
<junit-jupiter.version>5.8.1</junit-jupiter.version>
<log4j2.version>2.17.1</log4j2.version> <log4j2.version>2.17.1</log4j2.version>
<groovy.version>3.0.8</groovy.version> <groovy.version>3.0.8</groovy.version>
</properties> </properties>

View File

@ -89,7 +89,6 @@
<properties> <properties>
<spring-kafka.version>3.1.2</spring-kafka.version> <spring-kafka.version>3.1.2</spring-kafka.version>
<spring-boot.version>3.2.2</spring-boot.version> <spring-boot.version>3.2.2</spring-boot.version>
<junit-jupiter.version>5.10.2</junit-jupiter.version>
</properties> </properties>
</project> </project>

View File

@ -71,6 +71,7 @@
<dependency> <dependency>
<groupId>org.mockito</groupId> <groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId> <artifactId>mockito-junit-jupiter</artifactId>
<version>${mockito-junit-jupiter.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -63,7 +63,6 @@
<properties> <properties>
<spring-boot.version>3.2.2</spring-boot.version> <spring-boot.version>3.2.2</spring-boot.version>
<junit-jupiter.version>5.10.2</junit-jupiter.version>
<maven.compiler.release>17</maven.compiler.release> <maven.compiler.release>17</maven.compiler.release>
</properties> </properties>

View File

@ -268,7 +268,6 @@
<jackson-databind-nullable.version>0.2.1</jackson-databind-nullable.version> <jackson-databind-nullable.version>0.2.1</jackson-databind-nullable.version>
<jackson-threetenbp.version>2.15.2</jackson-threetenbp.version> <jackson-threetenbp.version>2.15.2</jackson-threetenbp.version>
<maven-plugin.version>1.0.0</maven-plugin.version> <maven-plugin.version>1.0.0</maven-plugin.version>
<junit-jupiter.version>5.8.1</junit-jupiter.version>
<javax.annotation-api.version>1.3.2</javax.annotation-api.version> <javax.annotation-api.version>1.3.2</javax.annotation-api.version>
<maven-enforcer-plugin.version>3.0.0-M1</maven-enforcer-plugin.version> <maven-enforcer-plugin.version>3.0.0-M1</maven-enforcer-plugin.version>

View File

@ -31,7 +31,7 @@
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId> <artifactId>junit-jupiter-engine</artifactId>
<version>${junit.jupiter.engine.version}</version> <version>${junit-jupiter.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
@ -43,13 +43,13 @@
<dependency> <dependency>
<groupId>org.mockito</groupId> <groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId> <artifactId>mockito-junit-jupiter</artifactId>
<version>${mockito.version}</version> <version>${mockito-junit-jupiter.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId> <artifactId>junit-jupiter-api</artifactId>
<version>${junit.jupiter.engine.version}</version> <version>${junit-jupiter.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
@ -76,6 +76,7 @@
<file.encoding>UTF-8</file.encoding> <file.encoding>UTF-8</file.encoding>
<downloadSources>true</downloadSources> <downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs> <downloadJavadocs>true</downloadJavadocs>
<mockito.version>5.3.1</mockito.version>
<junit.jupiter.engine.version>5.9.3</junit.jupiter.engine.version> <junit.jupiter.engine.version>5.9.3</junit.jupiter.engine.version>
<thymeleaf.spring6.version>3.1.1.RELEASE</thymeleaf.spring6.version> <thymeleaf.spring6.version>3.1.1.RELEASE</thymeleaf.spring6.version>
<spring.boot.starter.thymeleaf>3.1.1</spring.boot.starter.thymeleaf> <spring.boot.starter.thymeleaf>3.1.1</spring.boot.starter.thymeleaf>

View File

@ -45,13 +45,12 @@
<dependency> <dependency>
<groupId>org.mockito</groupId> <groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId> <artifactId>mockito-junit-jupiter</artifactId>
<version>${mockito.version}</version> <version>${mockito-junit-jupiter.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<properties> <properties>
<instancio.version>2.9.0</instancio.version> <instancio.version>2.9.0</instancio.version>
<junit-jupiter.version>5.9.2</junit-jupiter.version>
</properties> </properties>
</project> </project>

View File

@ -80,7 +80,7 @@
<dependency> <dependency>
<groupId>org.mockito</groupId> <groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId> <artifactId>mockito-junit-jupiter</artifactId>
<version>${mockito.version}</version> <version>${mockito-junit-jupiter.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
@ -89,6 +89,11 @@
<version>${powermock.version}</version> <version>${powermock.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies> </dependencies>
<build> <build>
@ -130,7 +135,8 @@
<log4j2.version>2.17.1</log4j2.version> <log4j2.version>2.17.1</log4j2.version>
<powermock.version>2.0.9</powermock.version> <powermock.version>2.0.9</powermock.version>
<spring.version>5.0.1.RELEASE</spring.version> <spring.version>5.0.1.RELEASE</spring.version>
<mockito.version>3.3.0</mockito.version> <!-- Cannot Upgrade to recent versions. Powermock doesn't support it --> <mockito.version>3.3.0</mockito.version>
<mockito-junit-jupiter.version>5.11.0</mockito-junit-jupiter.version>
</properties> </properties>
</project> </project>

View File

@ -46,7 +46,6 @@
<properties> <properties>
<junit-platform.version>1.10.0</junit-platform.version> <junit-platform.version>1.10.0</junit-platform.version>
<junit-jupiter.version>5.10.0</junit-jupiter.version>
<log4j2.version>2.19.0</log4j2.version> <log4j2.version>2.19.0</log4j2.version>
</properties> </properties>

View File

@ -43,4 +43,8 @@
</resources> </resources>
</build> </build>
<properties>
<junit-jupiter.version>5.9.3</junit-jupiter.version> <!-- Latest compatible library. NamespacedHierarchicalStore was extracted starting from 5.10.x. So, fails to compile.-->
</properties>
</project> </project>

View File

@ -21,7 +21,7 @@
<dependency> <dependency>
<groupId>org.mockito</groupId> <groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId> <artifactId>mockito-junit-jupiter</artifactId>
<version>${mockito.version}</version> <version>${mockito-junit-jupiter.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -43,7 +43,7 @@
<dependency> <dependency>
<groupId>org.mockito</groupId> <groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId> <artifactId>mockito-junit-jupiter</artifactId>
<version>${mockito.version}</version> <version>${mockito-junit-jupiter.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -23,7 +23,7 @@
<dependency> <dependency>
<groupId>org.mockito</groupId> <groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId> <artifactId>mockito-junit-jupiter</artifactId>
<version>${mockito.version}</version> <version>${mockito-junit-jupiter.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -147,7 +147,6 @@
<javax.persistence.version>2.1.1</javax.persistence.version> <javax.persistence.version>2.1.1</javax.persistence.version>
<spring-boot.repackage.skip>true</spring-boot.repackage.skip> <spring-boot.repackage.skip>true</spring-boot.repackage.skip>
<spring-boot.version>3.2.2</spring-boot.version> <spring-boot.version>3.2.2</spring-boot.version>
<junit-jupiter.version>5.10.2</junit-jupiter.version>
</properties> </properties>
</project> </project>

View File

@ -220,7 +220,6 @@
<enforcer.plugin.version>1.3.1</enforcer.plugin.version> <enforcer.plugin.version>1.3.1</enforcer.plugin.version>
<deploy.plugin.version>2.8.2</deploy.plugin.version> <deploy.plugin.version>2.8.2</deploy.plugin.version>
<shade.plugin.version>2.2</shade.plugin.version> <shade.plugin.version>2.2</shade.plugin.version>
<junit-jupiter.version>5.8.1</junit-jupiter.version>
</properties> </properties>
</project> </project>