summaryrefslogtreecommitdiffstats
path: root/aai-resources/pom.xml
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-04-02 09:52:44 +0200
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-04-02 09:52:44 +0200
commit96222bb900d5dce5c3b2dcc91c67bf33fa426cdc (patch)
tree0f80425739b7bad1b2f176a76157cdd32bd07fdf /aai-resources/pom.xml
parent07d0f586e0dc280ac2b6dfebb47fb60e15c2914b (diff)
Migrate resources to Junit 5
Issue-ID: AAI-3815 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I6d4acbbb38c7674656690978cc1e50106f0c15cf
Diffstat (limited to 'aai-resources/pom.xml')
-rw-r--r--aai-resources/pom.xml31
1 files changed, 21 insertions, 10 deletions
diff --git a/aai-resources/pom.xml b/aai-resources/pom.xml
index dcc656c..ced10c2 100644
--- a/aai-resources/pom.xml
+++ b/aai-resources/pom.xml
@@ -92,7 +92,7 @@
<micrometer-registry-prometheus.version>1.6.6</micrometer-registry-prometheus.version>
<micrometer-jersey2>1.6.6</micrometer-jersey2>
<testcontainers.version>1.6.1</testcontainers.version>
- <mockito.core.version>3.4.0</mockito.core.version>
+ <mockito.core.version>4.4.0</mockito.core.version>
<eclipse.persistence.version>2.6.2</eclipse.persistence.version>
<!-- Setting some default value to not complain by editor but it will be overridden by gmaven plugin -->
@@ -453,13 +453,14 @@
<version>6.6</version>
</dependency>
<dependency>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-junit</artifactId>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-junit</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
@@ -478,7 +479,12 @@
<artifactId>mockito-core</artifactId>
<version>${mockito.core.version}</version>
<scope>test</scope>
- </dependency>
+ </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-junit-jupiter</artifactId>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>com.beust</groupId>
<artifactId>jcommander</artifactId>
@@ -706,6 +712,11 @@
<scope>test</scope>
</dependency>
<dependency>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-admin-client</artifactId>
<version>${keycloak.version}</version>
@@ -1016,7 +1027,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
- <version>3.0.0-M4</version>
+ <version>3.1.2</version>
<configuration>
<classesDirectory>${project.build.outputDirectory}</classesDirectory>
</configuration>