Fixes bug: Tests did not run because of  maven-surefire-plugin configuration

Change-Id: I703861b63fdac76bb437962c14cdc2cc0f42f57d
diff --git a/Changes b/Changes
index 0feb351..0820e22 100644
--- a/Changes
+++ b/Changes
@@ -3,12 +3,13 @@
     - Upgrade Jetty to 11.0.12.
     - Upgrade Jersey to 3.1.7.
     - Upgrade dependencies following dependabot.
-    - Fixes md014 violations in README.
+    - Fixes md014 violations in README. (hebasta)
+    - Fixes bug: Tests did not run because of maven-surefire-plugin configuration (hebasta)
 
 0.2.11 2024-1-10
     - Upgrade dependency on Jackson following dependabot.
     - Upgrade dependency on Maven following dependabot.
-    - Retrieves the version of the export plugin from pom.xml (closes #99)
+    - Retrieves the version of the export plugin from pom.xml (closes #99)(hebasta)
 
 0.2.10 2023-11-30
     - Change default api port to 443.
diff --git a/pom.xml b/pom.xml
index ab3667d..a8e1edd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,13 +24,6 @@
     </dependency>
 
     <dependency>
-      <groupId>org.apache.maven.plugins</groupId>
-      <artifactId>maven-surefire-plugin</artifactId>
-      <version>3.0.0-M5</version>
-      <type>maven-plugin</type>
-    </dependency>
-    
-    <dependency>
       <groupId>com.fasterxml.jackson.core</groupId>
       <artifactId>jackson-databind</artifactId>
       <version>2.17.1</version>
@@ -230,14 +223,23 @@
           </execution>
         </executions>
       </plugin>
+      
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
         <version>3.0.0-M5</version>
+        <dependencies>
+          <dependency>
+            <groupId>org.apache.maven.surefire</groupId>
+            <artifactId>surefire-junit4</artifactId>
+            <version>3.0.0-M5</version>
+          </dependency>
+        </dependencies>
         <configuration>
           <argLine>-Dfile.encoding=UTF-8</argLine>
         </configuration>
       </plugin>
     </plugins>
+  
   </build>
 </project>