Update vulnerabilities for TCAGEN2
[dcaegen2/analytics/tca-gen2.git] / dcae-analytics / dcae-analytics-web / pom.xml
index d331f45..8108ec4 100644 (file)
@@ -1,7 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
+  ~ ============LICENSE_START=======================================================
+  ~ TCAgen2
   ~ ================================================================================
   ~ Copyright (c) 2018-2019 AT&T Intellectual Property. All rights reserved.
+  ~ Copyright (c) 2021 Samsung Electronics. All rights reserved.
+  ~ Copyright (c) 2021 Nokia Intellectual Property. All rights reserved.
+  ~ Copyright (c) 2021-2022 Wipro Limited.
   ~ ================================================================================
   ~ Licensed under the Apache License, Version 2.0 (the "License");
   ~ you may not use this file except in compliance with the License.
@@ -27,7 +32,7 @@
     <parent>
         <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
         <artifactId>dcae-analytics</artifactId>
-        <version>1.0.0-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
 
     <artifactId>dcae-analytics-web</artifactId>
     <description>Contains common web code for all DCAE Analytics Modules</description>
 
     <properties>
-        <main.basedir>${project.parent.basedir}</main.basedir>
+            <main.basedir>${project.parent.basedir}</main.basedir>
+            <undertow-core.version>2.2.17.Final</undertow-core.version>
+            <httpclient.version>4.5.13</httpclient.version>
+            <onap-gerrit-review>-changelog-missing</onap-gerrit-review>
     </properties>
 
-
     <dependencies>
 
         <!-- PROJECT DEPENDENCIES -->
             <groupId>${project.groupId}</groupId>
             <artifactId>dcae-analytics-model</artifactId>
         </dependency>
+        <!-- PROJECT DEPENDENCIES -->
+        <dependency>
+            <groupId>${project.groupId}</groupId>
+            <artifactId>dcae-analytics-tca-core</artifactId>
+        </dependency>
 
         <!-- ECOMP LOGGER -->
         <dependency>
             <groupId>org.springframework.integration</groupId>
             <artifactId>spring-integration-mongodb</artifactId>
         </dependency>
-
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-data-mongodb</artifactId>
+        </dependency>
 
         <!-- APACHE HTTP CLIENT -->
         <dependency>
             <groupId>org.apache.httpcomponents</groupId>
             <artifactId>httpclient</artifactId>
+            <version>${httpclient.version}</version>
         </dependency>
 
         <!-- UTILITIES -->
         <dependency>
             <groupId>io.undertow</groupId>
             <artifactId>undertow-core</artifactId>
-            <version>2.0.17.Final</version>
+            <version>${undertow-core.version}</version>
         </dependency>
 
     </dependencies>
 
-
-    <dependencyManagement>
-      <dependencies>
-        <dependency>
-          <groupId>org.springframework</groupId>
-          <artifactId>spring-core</artifactId>
-          <version>5.0.11.RELEASE</version>
-        </dependency>
-      </dependencies>
-    </dependencyManagement>
 </project>