Upgrade Java 17

Issue-ID: POLICY-4673
Change-Id: I01fd3677687b5d2e065d0cc131b338ed841d7e99
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
diff --git a/pom.xml b/pom.xml
old mode 100644
new mode 100755
index f2be4d5..8e82363
--- a/pom.xml
+++ b/pom.xml
@@ -18,18 +18,17 @@
 <project
         xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
-                            http://maven.apache.org/maven-v4_0_0.xsd">
+        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.onap.policy.parent</groupId>
         <artifactId>integration</artifactId>
-        <version>4.0.0-SNAPSHOT</version>
-        <relativePath />
+        <version>4.0.1-SNAPSHOT</version>
+        <relativePath/>
     </parent>
     <groupId>org.onap.policy.clamp</groupId>
     <artifactId>policy-clamp</artifactId>
-    <version>7.0.0-SNAPSHOT</version>
+    <version>7.0.1-SNAPSHOT</version>
     <name>${project.artifactId}</name>
     <packaging>pom</packaging>
     <description>
@@ -41,18 +40,18 @@
         - policy-clamp-runtime: The runtime server for CLAMP
         - policy-clamp-runtime-acm: The runtime server for Automation Composition Management
         - policy-clamp-participant: Modules for CLAMP automation composition participants
-            o policy-clamp-participant-intermediary: A common JAR that handles participant state and DMaaP handling
-            o policy-clamp-participant-impl-cds: A standard participant for interworking with CDS
-            o policy-clamp-participant-impl-kubernetes: A standard participant for Kubernetes microservices
-            o policy-clamp-participant-impl-policy: A standard participant for handling polcies for Policy Framework
-            o policy-clamp-acm-element-impl: ACM element implementation for integration testing
-            o policy-clamp-participant-impl-http: A standard participant for http configurations
-            o policy-clamp-participant-impl-a1pms: A standard participant for accessing A1-Policy Management Service
-            o policy-clamp-participant-impl-kserve: A standard participant for Kserve
+        o policy-clamp-participant-intermediary: A common JAR that handles participant state and DMaaP handling
+        o policy-clamp-participant-impl-cds: A standard participant for interworking with CDS
+        o policy-clamp-participant-impl-kubernetes: A standard participant for Kubernetes microservices
+        o policy-clamp-participant-impl-policy: A standard participant for handling polcies for Policy Framework
+        o policy-clamp-acm-element-impl: ACM element implementation for integration testing
+        o policy-clamp-participant-impl-http: A standard participant for http configurations
+        o policy-clamp-participant-impl-a1pms: A standard participant for accessing A1-Policy Management Service
+        o policy-clamp-participant-impl-kserve: A standard participant for Kserve
     </description>
     <properties>
-        <policy.common.version>2.0.0-SNAPSHOT</policy.common.version>
-        <policy.models.version>3.0.0-SNAPSHOT</policy.models.version>
+        <policy.common.version>2.0.1-SNAPSHOT</policy.common.version>
+        <policy.models.version>3.0.1-SNAPSHOT</policy.models.version>
     </properties>
     <modules>
         <module>common</module>
@@ -64,17 +63,6 @@
     </modules>
     <dependencies>
         <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.junit.jupiter</groupId>
-            <artifactId>junit-jupiter-engine</artifactId>
-            <version>${version.junit.jupiter}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
             <groupId>commons-cli</groupId>
             <artifactId>commons-cli</artifactId>
         </dependency>
@@ -137,6 +125,10 @@
             </exclusions>
         </dependency>
         <dependency>
+            <groupId>org.apache.tomcat.embed</groupId>
+            <artifactId>tomcat-embed-core</artifactId>
+        </dependency>
+        <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-actuator</artifactId>
         </dependency>
@@ -156,6 +148,12 @@
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-test</artifactId>
             <scope>test</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>com.vaadin.external.google</groupId>
+                    <artifactId>android-json</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <groupId>org.springframework.boot</groupId>
@@ -164,16 +162,10 @@
         <dependency>
             <groupId>io.micrometer</groupId>
             <artifactId>micrometer-registry-prometheus</artifactId>
-            <version>${version.io.micrometer}</version>
         </dependency>
         <dependency>
             <groupId>org.springdoc</groupId>
-            <artifactId>springdoc-openapi-ui</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.mock-server</groupId>
-            <artifactId>mockserver-netty</artifactId>
-            <scope>test</scope>
+            <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
         </dependency>
         <dependency>
             <groupId>org.mock-server</groupId>
@@ -209,10 +201,6 @@
             <artifactId>logback-classic</artifactId>
         </dependency>
         <dependency>
-            <groupId>commons-fileupload</groupId>
-            <artifactId>commons-fileupload</artifactId>
-        </dependency>
-        <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-webflux</artifactId>
         </dependency>
@@ -221,5 +209,14 @@
             <artifactId>kafka-clients</artifactId>
             <scope>provided</scope>
         </dependency>
+        <dependency>
+            <groupId>org.junit.jupiter</groupId>
+            <artifactId>junit-jupiter-engine</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.mockito</groupId>
+            <artifactId>mockito-junit-jupiter</artifactId>
+        </dependency>
     </dependencies>
 </project>