Reenable tests for the common module 69/140169/1
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fri, 7 Feb 2025 12:10:45 +0000 (13:10 +0100)
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fri, 7 Feb 2025 12:10:45 +0000 (13:10 +0100)
- add vintage engine dep to reenable tests in common module
- resolve build warning about jsonobject library in tests
- change mockito-core dep scope to test
- resolve build warning about duplicate declarations of appc dependencies

Issue-ID: SO-4136
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: Ic8bbfb3723e1dac42e7d9b57a919eb54c9426b51

common/pom.xml

index 3d7fd5c..bb2ca7b 100644 (file)
           <groupId>org.apache.commons</groupId>
           <artifactId>commons-lang3</artifactId>
         </exclusion>
+        <exclusion>
+          <groupId>com.vaadin.external.google</groupId>
+          <artifactId>android-json</artifactId>
+        </exclusion>
       </exclusions>
     </dependency>
     <dependency>
     <dependency>
       <groupId>org.mockito</groupId>
       <artifactId>mockito-core</artifactId>
+      <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.json</groupId>
       <artifactId>spring-boot-starter-test</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>org.junit.vintage</groupId>
+      <artifactId>junit-vintage-engine</artifactId>
+      <scope>test</scope>
+    </dependency>
     <dependency>
       <groupId>org.onap.aaf.authz</groupId>
       <artifactId>aaf-cadi-client</artifactId>
         </exclusion>
       </exclusions>
     </dependency>
-    <dependency>
-      <groupId>org.onap.appc.client</groupId>
-      <artifactId>client-lib</artifactId>
-      <version>${appc.client.version}</version>
-      <exclusions>
-        <exclusion>
-          <groupId>org.mockito</groupId>
-          <artifactId>mockito-core</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>org.powermock</groupId>
-          <artifactId>powermock-module-junit4</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>org.powermock</groupId>
-          <artifactId>powermock-api-mockito</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>org.onap.appc.client</groupId>
-      <artifactId>client-kit</artifactId>
-      <version>${appc.client.version}</version>
-      <exclusions>
-        <exclusion>
-          <groupId>org.mockito</groupId>
-          <artifactId>mockito-core</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
     <dependency>
       <groupId>org.projectlombok</groupId>
       <artifactId>lombok</artifactId>
     <dependency>
       <groupId>org.junit.jupiter</groupId>
       <artifactId>junit-jupiter-engine</artifactId>
-      <version>5.5.2</version>
     </dependency>
   </dependencies>
   <dependencyManagement>