Fix mongodb errors on application startup
[dcaegen2/analytics/tca-gen2.git] / dcae-analytics / dcae-analytics-web / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ ================================================================================
4   ~ Copyright (c) 2018-2019 AT&T Intellectual Property. All rights reserved.
5   ~ Copyright (c) 2021 Samsung Electronics. All rights reserved.
6   ~ Copyright (c) 2021 Nokia Intellectual Property. All rights reserved.
7   ~ ================================================================================
8   ~ Licensed under the Apache License, Version 2.0 (the "License");
9   ~ you may not use this file except in compliance with the License.
10   ~ You may obtain a copy of the License at
11   ~
12   ~      http://www.apache.org/licenses/LICENSE-2.0
13   ~
14   ~ Unless required by applicable law or agreed to in writing, software
15   ~ distributed under the License is distributed on an "AS IS" BASIS,
16   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   ~ See the License for the specific language governing permissions and
18   ~ limitations under the License.
19   ~ ============LICENSE_END=========================================================
20   ~
21   -->
22
23 <project xmlns="http://maven.apache.org/POM/4.0.0"
24          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
26
27     <modelVersion>4.0.0</modelVersion>
28
29     <parent>
30         <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
31         <artifactId>dcae-analytics</artifactId>
32         <version>1.3.0-SNAPSHOT</version>
33     </parent>
34
35     <artifactId>dcae-analytics-web</artifactId>
36     <packaging>jar</packaging>
37
38     <!-- THIS MODULE CONTAINS WEB RELATED COMMON CODE FOR ALL DCAE ANALYTICS MODULES -->
39     <name>DCAE Analytics Web</name>
40     <description>Contains common web code for all DCAE Analytics Modules</description>
41
42     <properties>
43         <main.basedir>${project.parent.basedir}</main.basedir>
44     </properties>
45
46
47     <dependencies>
48
49         <!-- PROJECT DEPENDENCIES -->
50         <dependency>
51             <groupId>${project.groupId}</groupId>
52             <artifactId>dcae-analytics-model</artifactId>
53         </dependency>
54         <!-- PROJECT DEPENDENCIES -->
55         <dependency>
56             <groupId>${project.groupId}</groupId>
57             <artifactId>dcae-analytics-tca-core</artifactId>
58         </dependency>
59
60         <!-- ECOMP LOGGER -->
61         <dependency>
62             <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
63             <artifactId>eelf-logger-logback-impl</artifactId>
64         </dependency>
65
66         <!-- SPRING DEPENDENCIES -->
67         <dependency>
68             <groupId>org.springframework.boot</groupId>
69             <artifactId>spring-boot-starter-web</artifactId>
70             <!-- EXCLUDE DEFAULT TOMCAT, AS UNDERTOW IS PREFERRED OVER TOMCAT -->
71             <exclusions>
72                 <exclusion>
73                     <groupId>org.springframework.boot</groupId>
74                     <artifactId>spring-boot-starter-tomcat</artifactId>
75                 </exclusion>
76                 <exclusion>
77                     <groupId>io.undertow</groupId>
78                     <artifactId>undertow-core</artifactId>
79                 </exclusion>
80             </exclusions>
81         </dependency>
82
83         <dependency>
84             <groupId>org.springframework.boot</groupId>
85             <artifactId>spring-boot-starter-undertow</artifactId>
86             <exclusions>
87                 <exclusion>
88                     <groupId>io.undertow</groupId>
89                     <artifactId>undertow-websockets-jsr</artifactId>
90                 </exclusion>
91             </exclusions>
92         </dependency>
93
94
95         <!-- SPRING INTEGRATION -->
96         <dependency>
97             <groupId>org.springframework.boot</groupId>
98             <artifactId>spring-boot-starter-integration</artifactId>
99         </dependency>
100         <dependency>
101             <groupId>org.springframework.integration</groupId>
102             <artifactId>spring-integration-http</artifactId>
103         </dependency>
104         <dependency>
105             <groupId>org.springframework.integration</groupId>
106             <artifactId>spring-integration-mongodb</artifactId>
107         </dependency>
108         <dependency>
109             <groupId>org.springframework.boot</groupId>
110             <artifactId>spring-boot-starter-data-mongodb</artifactId>
111         </dependency>
112
113         <!-- APACHE HTTP CLIENT -->
114         <dependency>
115             <groupId>org.apache.httpcomponents</groupId>
116             <artifactId>httpclient</artifactId>
117         </dependency>
118
119         <!-- UTILITIES -->
120         <dependency>
121             <groupId>org.apache.commons</groupId>
122             <artifactId>commons-text</artifactId>
123         </dependency>
124
125         <!-- CODE GENERATION -->
126         <dependency>
127             <groupId>org.projectlombok</groupId>
128             <artifactId>lombok</artifactId>
129             <scope>provided</scope>
130         </dependency>
131
132         <!-- FIND BUGS -->
133         <dependency>
134             <groupId>com.google.code.findbugs</groupId>
135             <artifactId>jsr305</artifactId>
136         </dependency>
137         <dependency>
138             <groupId>com.google.code.findbugs</groupId>
139             <artifactId>annotations</artifactId>
140         </dependency>
141
142         <!-- TEST DEPENDENCIES -->
143         <dependency>
144             <groupId>${project.groupId}</groupId>
145             <artifactId>dcae-analytics-test</artifactId>
146         </dependency>
147          <!-- https://mvnrepository.com/artifact/io.undertow/undertow-core -->
148         <dependency>
149             <groupId>io.undertow</groupId>
150             <artifactId>undertow-core</artifactId>
151         </dependency>
152
153     </dependencies>
154
155 </project>