Use policy/parent for dependency management 80/128780/6
authorliamfallon <liam.fallon@est.tech>
Thu, 21 Apr 2022 17:04:38 +0000 (18:04 +0100)
committerliamfallon <liam.fallon@est.tech>
Fri, 22 Apr 2022 10:05:34 +0000 (11:05 +0100)
We use policy/parent for dependency management so that we can control
the spring and spring boot versions that are pulled in.

Issue-ID: POLICY-4070
Change-Id: I1f8da1f1eb660c748110ecc25ca445c3c9cb202e
Signed-off-by: liamfallon <liam.fallon@est.tech>
runtime-acm/pom.xml
runtime/pom.xml
runtime/src/main/resources/boot-message.txt

index 20751a2..7648175 100644 (file)
         <dependency>
             <groupId>com.google.code.gson</groupId>
             <artifactId>gson</artifactId>
-            <version>2.8.4</version>
         </dependency>
     </dependencies>
 
index ba48109..5236520 100644 (file)
         </profile>
     </profiles>
 
-    <dependencyManagement>
-        <dependencies>
-            <dependency>
-                <groupId>org.springframework.boot</groupId>
-                <artifactId>spring-boot-dependencies</artifactId>
-                <version>${version.springboot}</version>
-                <type>pom</type>
-                <scope>import</scope>
-            </dependency>
-        </dependencies>
-    </dependencyManagement>
     <dependencies>
         <dependency>
             <groupId>org.onap.policy.clamp</groupId>
             <version>1.0.2</version>
         </dependency>
         <!-- Other dependencies to fix nexus IQ reported vulnerabilities -->
+        <dependency>
+            <groupId>javax.validation</groupId>
+            <artifactId>validation-api</artifactId>
+            <version>2.0.1.Final</version>
+        </dependency>
         <dependency>
             <groupId>commons-codec</groupId>
             <artifactId>commons-codec</artifactId>
             </plugin>
         </plugins>
     </build>
-</project>
+</project>
\ No newline at end of file
index 5a6cf18..a7be5c6 100644 (file)
@@ -1,9 +1,9 @@
 
-   ___  _   _    _    ____    ___     _              _           _
-  / _ \| \ | |  / \  |  _ \  |_ _|___| |_ __ _ _ __ | |__  _   _| |
- | | | |  \| | / _ \ | |_) |  | |/ __| __/ _` | '_ \| '_ \| | | | |
- | |_| | |\  |/ ___ \|  __/   | |\__ \ || (_| | | | | |_) | |_| | |
-  \___/|_| \_/_/   \_\_|     |___|___/\__\__,_|_| |_|_.__/ \__,_|_|
+   __   _   _    _    ____
+  / _ \| \ | |  / \  |  _ \
+ | | | |  \| | / _ \ | |_) |
+ | |_| | |\  |/ ___ \|  __/
+  \___/|_| \_/_/   \_\_|
   ____   ___  _     ___ ______   __     ____ _        _    __  __ ____
  |  _ \ / _ \| |   |_ _/ ___\ \ / /    / ___| |      / \  |  \/  |  _ \
  | |_) | | | | |    | | |    \ V /____| |   | |     / _ \ | |\/| | |_) |
@@ -13,4 +13,4 @@
 
 
 
-   :: Starting ::                    
\ No newline at end of file
+   :: Starting ::