blob: 21849f4636bf183432c7266e23bdc8bb43f39a37 [file] [log] [blame]
PatrikBuhr0bc6dc52022-08-16 09:37:02 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ ============LICENSE_START=======================================================
4 ~ Copyright (C) 2018-2022 Nokia. All rights reserved.
5 ~ Copyright (C) 2018-2021 Nordix Foundation. All rights reserved.
6 ~ Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
7 ~ Copyright (c) 2021 Samsung Electronics. All rights reserved.
PatrikBuhra10bbf72022-08-16 14:23:15 +02008 ~ ================================================================================
PatrikBuhr0bc6dc52022-08-16 09:37:02 +02009 ~ Licensed under the Apache License, Version 2.0 (the "License");
10 ~ you may not use this file except in compliance with the License.
11 ~ You may obtain a copy of the License at
12 ~
13 ~ http://www.apache.org/licenses/LICENSE-2.0
14 ~
15 ~ Unless required by applicable law or agreed to in writing, software
16 ~ distributed under the License is distributed on an "AS IS" BASIS,
17 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 ~ See the License for the specific language governing permissions and
19 ~ limitations under the License.
20 ~ ============LICENSE_END=========================================================
21 -->
22<project xmlns="http://maven.apache.org/POM/4.0.0"
23 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25 <modelVersion>4.0.0</modelVersion>
PatrikBuhr0bc6dc52022-08-16 09:37:02 +020026 <parent>
27 <groupId>org.onap.dcaegen2.collectors</groupId>
28 <artifactId>datafile</artifactId>
29 <version>1.8.0-SNAPSHOT</version>
30 </parent>
PatrikBuhr0bc6dc52022-08-16 09:37:02 +020031 <groupId>org.onap.dcaegen2.collectors.datafile</groupId>
32 <artifactId>datafile-app-server</artifactId>
33 <packaging>jar</packaging>
PatrikBuhr0bc6dc52022-08-16 09:37:02 +020034 <properties>
35 <docker.image.name>onap/${project.groupId}.${project.artifactId}</docker.image.name>
36 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
37 <docker-client.version>8.7.1</docker-client.version>
38 <tomcat-embed-core.version>9.0.56</tomcat-embed-core.version>
39 </properties>
PatrikBuhr0bc6dc52022-08-16 09:37:02 +020040 <dependencies>
41 <dependency>
PatrikBuhra10bbf72022-08-16 14:23:15 +020042 <groupId>io.projectreactor.kafka</groupId>
43 <artifactId>reactor-kafka</artifactId>
44 <version>1.3.9</version>
45 </dependency>
46 <dependency>
47 <groupId>org.projectlombok</groupId>
48 <artifactId>lombok</artifactId>
49 </dependency>
50 <dependency>
PatrikBuhr26cbb632022-08-17 15:19:22 +020051 <groupId>org.awaitility</groupId>
52 <artifactId>awaitility</artifactId>
53 <scope>test</scope>
54 </dependency>
55 <dependency>
PatrikBuhr0bc6dc52022-08-16 09:37:02 +020056 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
57 <artifactId>cbs-client</artifactId>
58 </dependency>
59 <dependency>
60 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
61 <artifactId>dmaap-client</artifactId>
62 </dependency>
63 <dependency>
64 <groupId>org.onap.dcaegen2.services.sdk.security</groupId>
65 <artifactId>ssl</artifactId>
66 </dependency>
67 <dependency>
68 <groupId>org.apache.httpcomponents</groupId>
69 <artifactId>httpasyncclient</artifactId>
70 </dependency>
71 <dependency>
72 <groupId>org.apache.commons</groupId>
73 <artifactId>commons-lang3</artifactId>
74 </dependency>
75 <dependency>
76 <groupId>commons-io</groupId>
77 <artifactId>commons-io</artifactId>
78 </dependency>
79 <dependency>
80 <groupId>commons-net</groupId>
81 <artifactId>commons-net</artifactId>
82 </dependency>
83 <dependency>
84 <groupId>com.jcraft</groupId>
85 <artifactId>jsch</artifactId>
86 </dependency>
87 <dependency>
88 <groupId>org.springframework.boot</groupId>
89 <artifactId>spring-boot-configuration-processor</artifactId>
90 <optional>true</optional>
91 </dependency>
92 <dependency>
93 <groupId>org.immutables</groupId>
94 <artifactId>value</artifactId>
95 </dependency>
96 <dependency>
97 <groupId>javax.validation</groupId>
98 <artifactId>validation-api</artifactId>
99 </dependency>
100 <dependency>
101 <groupId>org.springframework.boot</groupId>
102 <artifactId>spring-boot</artifactId>
103 </dependency>
104 <dependency>
105 <groupId>org.springframework</groupId>
106 <artifactId>spring-web</artifactId>
107 </dependency>
108 <dependency>
109 <groupId>org.springframework</groupId>
110 <artifactId>spring-webmvc</artifactId>
111 </dependency>
112 <dependency>
113 <groupId>com.spotify</groupId>
114 <artifactId>docker-client</artifactId>
115 <version>${docker-client.version}</version>
116 </dependency>
117 <dependency>
118 <groupId>org.apache.tomcat.embed</groupId>
119 <artifactId>tomcat-embed-core</artifactId>
120 <version>${tomcat-embed-core.version}</version>
121 </dependency>
122 <dependency>
123 <groupId>org.springframework</groupId>
124 <artifactId>spring-webflux</artifactId>
125 </dependency>
126 <dependency>
127 <groupId>org.springframework.boot</groupId>
128 <artifactId>spring-boot-autoconfigure</artifactId>
129 </dependency>
130 <dependency>
131 <groupId>org.apache.httpcomponents.core5</groupId>
132 <artifactId>httpcore5</artifactId>
133 </dependency>
PatrikBuhr0bc6dc52022-08-16 09:37:02 +0200134 <!-- Actuator dependencies -->
135 <dependency>
136 <groupId>org.springframework.boot</groupId>
137 <artifactId>spring-boot-starter-actuator</artifactId>
138 </dependency>
139 <dependency>
140 <groupId>javax.xml.bind</groupId>
141 <artifactId>jaxb-api</artifactId>
142 </dependency>
PatrikBuhr0bc6dc52022-08-16 09:37:02 +0200143 <!--TESTS DEPENDENCIES -->
144 <dependency>
145 <groupId>io.projectreactor</groupId>
146 <artifactId>reactor-test</artifactId>
147 <scope>test</scope>
148 </dependency>
149 <dependency>
150 <groupId>org.junit.jupiter</groupId>
151 <artifactId>junit-jupiter-engine</artifactId>
152 <scope>test</scope>
153 </dependency>
154 <dependency>
155 <groupId>org.springframework.boot</groupId>
156 <artifactId>spring-boot-starter-test</artifactId>
157 <scope>test</scope>
158 </dependency>
159 <dependency>
160 <groupId>org.junit.vintage</groupId>
161 <artifactId>junit-vintage-engine</artifactId>
162 <version>5.7.0</version>
163 <scope>test</scope>
164 </dependency>
165 <dependency>
166 <groupId>org.testng</groupId>
167 <artifactId>testng</artifactId>
168 <scope>test</scope>
169 </dependency>
170 <dependency>
171 <groupId>org.awaitility</groupId>
172 <artifactId>awaitility</artifactId>
173 <scope>test</scope>
174 </dependency>
175 <dependency>
176 <groupId>org.mockito</groupId>
177 <artifactId>mockito-junit-jupiter</artifactId>
178 <scope>test</scope>
179 </dependency>
180 <dependency>
181 <groupId>org.powermock</groupId>
182 <artifactId>powermock-module-junit4</artifactId>
183 <scope>test</scope>
184 </dependency>
185 <dependency>
186 <groupId>org.powermock</groupId>
187 <artifactId>powermock-api-mockito2</artifactId>
188 <scope>test</scope>
189 </dependency>
PatrikBuhr0bc6dc52022-08-16 09:37:02 +0200190 <!--REQUIRED TO GENERATE DOCUMENTATION -->
191 <dependency>
192 <groupId>io.springfox</groupId>
193 <artifactId>springfox-spring-web</artifactId>
194 </dependency>
195 <dependency>
196 <groupId>io.springfox</groupId>
197 <artifactId>springfox-spi</artifactId>
198 </dependency>
199 <dependency>
200 <groupId>io.springfox</groupId>
201 <artifactId>springfox-core</artifactId>
202 </dependency>
203 <dependency>
204 <groupId>org.springdoc</groupId>
205 <artifactId>springdoc-openapi-ui</artifactId>
206 </dependency>
207 <dependency>
208 <groupId>io.springfox</groupId>
209 <artifactId>springfox-swagger2</artifactId>
210 </dependency>
211 <dependency>
212 <groupId>io.springfox</groupId>
213 <artifactId>springfox-swagger-ui</artifactId>
214 </dependency>
215 <dependency>
216 <groupId>org.springdoc</groupId>
217 <artifactId>springdoc-openapi-data-rest</artifactId>
218 </dependency>
219 <dependency>
220 <groupId>com.fasterxml.jackson.core</groupId>
221 <artifactId>jackson-databind</artifactId>
222 </dependency>
223 </dependencies>
PatrikBuhr0bc6dc52022-08-16 09:37:02 +0200224 <build>
225 <resources>
226 <resource>
227 <directory>src/main/resources</directory>
228 </resource>
229 </resources>
PatrikBuhr0bc6dc52022-08-16 09:37:02 +0200230 <plugins>
231 <plugin>
232 <groupId>org.springframework.boot</groupId>
233 <artifactId>spring-boot-maven-plugin</artifactId>
234 <configuration>
235 <finalName>${project.artifactId}</finalName>
236 <mainClass>org.onap.dcaegen2.collectors.datafile.MainApp</mainClass>
237 </configuration>
238 <executions>
239 <execution>
240 <goals>
241 <goal>build-info</goal>
242 </goals>
243 </execution>
244 </executions>
245 </plugin>
246 <plugin>
247 <groupId>com.spotify</groupId>
248 <artifactId>docker-maven-plugin</artifactId>
249 <configuration>
250 <serverId>${onap.nexus.dockerregistry.daily}</serverId>
PatrikBuhrb94af512022-08-29 09:52:03 +0200251 <imageName>${docker.image.name}</imageName>
PatrikBuhr0bc6dc52022-08-16 09:37:02 +0200252 <imageTags>
253 <imageTag>${project.version}-${maven.build.timestamp}Z</imageTag>
254 <imageTag>${project.version}</imageTag>
255 <imageTag>latest</imageTag>
256 </imageTags>
257 <dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory>
258 <resources>
259 <resource>
260 <directory>${project.build.directory}</directory>
261 <include>${project.artifactId}.jar</include>
262 <targetPath>/target</targetPath>
263 </resource>
264 <resource>
265 <targetPath>/config</targetPath>
266 <directory>${project.basedir}/config</directory>
267 <include>*</include>
268 </resource>
269 </resources>
270 </configuration>
271 </plugin>
272 <plugin>
273 <groupId>pl.project13.maven</groupId>
274 <artifactId>git-commit-id-plugin</artifactId>
275 <executions>
276 <execution>
277 <id>get-the-git-infos</id>
278 <goals>
279 <goal>revision</goal>
280 </goals>
281 </execution>
282 </executions>
283 <configuration>
284 <verbose>true</verbose>
285 <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
286 <dateFormat>MM-dd-yyyy '@' HH:mm:ss Z</dateFormat>
287 <generateGitPropertiesFile>true</generateGitPropertiesFile>
288 <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties
289 </generateGitPropertiesFilename>
290 <failOnNoGitDirectory>true</failOnNoGitDirectory>
291 </configuration>
292 </plugin>
293 </plugins>
294 </build>
PatrikBuhrb94af512022-08-29 09:52:03 +0200295</project>