blob: ff865be9faf91822076e94e8142200845ef8ac4b [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>
PatrikBuhr0bc6dc52022-08-16 09:37:02 +020051 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
52 <artifactId>cbs-client</artifactId>
53 </dependency>
54 <dependency>
55 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
56 <artifactId>dmaap-client</artifactId>
57 </dependency>
58 <dependency>
59 <groupId>org.onap.dcaegen2.services.sdk.security</groupId>
60 <artifactId>ssl</artifactId>
61 </dependency>
62 <dependency>
63 <groupId>org.apache.httpcomponents</groupId>
64 <artifactId>httpasyncclient</artifactId>
65 </dependency>
66 <dependency>
67 <groupId>org.apache.commons</groupId>
68 <artifactId>commons-lang3</artifactId>
69 </dependency>
70 <dependency>
71 <groupId>commons-io</groupId>
72 <artifactId>commons-io</artifactId>
73 </dependency>
74 <dependency>
75 <groupId>commons-net</groupId>
76 <artifactId>commons-net</artifactId>
77 </dependency>
78 <dependency>
79 <groupId>com.jcraft</groupId>
80 <artifactId>jsch</artifactId>
81 </dependency>
82 <dependency>
83 <groupId>org.springframework.boot</groupId>
84 <artifactId>spring-boot-configuration-processor</artifactId>
85 <optional>true</optional>
86 </dependency>
87 <dependency>
88 <groupId>org.immutables</groupId>
89 <artifactId>value</artifactId>
90 </dependency>
91 <dependency>
92 <groupId>javax.validation</groupId>
93 <artifactId>validation-api</artifactId>
94 </dependency>
95 <dependency>
96 <groupId>org.springframework.boot</groupId>
97 <artifactId>spring-boot</artifactId>
98 </dependency>
99 <dependency>
100 <groupId>org.springframework</groupId>
101 <artifactId>spring-web</artifactId>
102 </dependency>
103 <dependency>
104 <groupId>org.springframework</groupId>
105 <artifactId>spring-webmvc</artifactId>
106 </dependency>
107 <dependency>
108 <groupId>com.spotify</groupId>
109 <artifactId>docker-client</artifactId>
110 <version>${docker-client.version}</version>
111 </dependency>
112 <dependency>
113 <groupId>org.apache.tomcat.embed</groupId>
114 <artifactId>tomcat-embed-core</artifactId>
115 <version>${tomcat-embed-core.version}</version>
116 </dependency>
117 <dependency>
118 <groupId>org.springframework</groupId>
119 <artifactId>spring-webflux</artifactId>
120 </dependency>
121 <dependency>
122 <groupId>org.springframework.boot</groupId>
123 <artifactId>spring-boot-autoconfigure</artifactId>
124 </dependency>
125 <dependency>
126 <groupId>org.apache.httpcomponents.core5</groupId>
127 <artifactId>httpcore5</artifactId>
128 </dependency>
PatrikBuhr0bc6dc52022-08-16 09:37:02 +0200129 <!-- Actuator dependencies -->
130 <dependency>
131 <groupId>org.springframework.boot</groupId>
132 <artifactId>spring-boot-starter-actuator</artifactId>
133 </dependency>
134 <dependency>
135 <groupId>javax.xml.bind</groupId>
136 <artifactId>jaxb-api</artifactId>
137 </dependency>
PatrikBuhr0bc6dc52022-08-16 09:37:02 +0200138 <!--TESTS DEPENDENCIES -->
139 <dependency>
140 <groupId>io.projectreactor</groupId>
141 <artifactId>reactor-test</artifactId>
142 <scope>test</scope>
143 </dependency>
144 <dependency>
145 <groupId>org.junit.jupiter</groupId>
146 <artifactId>junit-jupiter-engine</artifactId>
147 <scope>test</scope>
148 </dependency>
149 <dependency>
150 <groupId>org.springframework.boot</groupId>
151 <artifactId>spring-boot-starter-test</artifactId>
152 <scope>test</scope>
153 </dependency>
154 <dependency>
155 <groupId>org.junit.vintage</groupId>
156 <artifactId>junit-vintage-engine</artifactId>
157 <version>5.7.0</version>
158 <scope>test</scope>
159 </dependency>
160 <dependency>
161 <groupId>org.testng</groupId>
162 <artifactId>testng</artifactId>
163 <scope>test</scope>
164 </dependency>
165 <dependency>
166 <groupId>org.awaitility</groupId>
167 <artifactId>awaitility</artifactId>
168 <scope>test</scope>
169 </dependency>
170 <dependency>
171 <groupId>org.mockito</groupId>
172 <artifactId>mockito-junit-jupiter</artifactId>
173 <scope>test</scope>
174 </dependency>
175 <dependency>
176 <groupId>org.powermock</groupId>
177 <artifactId>powermock-module-junit4</artifactId>
178 <scope>test</scope>
179 </dependency>
180 <dependency>
181 <groupId>org.powermock</groupId>
182 <artifactId>powermock-api-mockito2</artifactId>
183 <scope>test</scope>
184 </dependency>
PatrikBuhr0bc6dc52022-08-16 09:37:02 +0200185 <!--REQUIRED TO GENERATE DOCUMENTATION -->
186 <dependency>
187 <groupId>io.springfox</groupId>
188 <artifactId>springfox-spring-web</artifactId>
189 </dependency>
190 <dependency>
191 <groupId>io.springfox</groupId>
192 <artifactId>springfox-spi</artifactId>
193 </dependency>
194 <dependency>
195 <groupId>io.springfox</groupId>
196 <artifactId>springfox-core</artifactId>
197 </dependency>
198 <dependency>
199 <groupId>org.springdoc</groupId>
200 <artifactId>springdoc-openapi-ui</artifactId>
201 </dependency>
202 <dependency>
203 <groupId>io.springfox</groupId>
204 <artifactId>springfox-swagger2</artifactId>
205 </dependency>
206 <dependency>
207 <groupId>io.springfox</groupId>
208 <artifactId>springfox-swagger-ui</artifactId>
209 </dependency>
210 <dependency>
211 <groupId>org.springdoc</groupId>
212 <artifactId>springdoc-openapi-data-rest</artifactId>
213 </dependency>
214 <dependency>
215 <groupId>com.fasterxml.jackson.core</groupId>
216 <artifactId>jackson-databind</artifactId>
217 </dependency>
218 </dependencies>
PatrikBuhr0bc6dc52022-08-16 09:37:02 +0200219 <build>
220 <resources>
221 <resource>
222 <directory>src/main/resources</directory>
223 </resource>
224 </resources>
PatrikBuhr0bc6dc52022-08-16 09:37:02 +0200225 <plugins>
226 <plugin>
227 <groupId>org.springframework.boot</groupId>
228 <artifactId>spring-boot-maven-plugin</artifactId>
229 <configuration>
230 <finalName>${project.artifactId}</finalName>
231 <mainClass>org.onap.dcaegen2.collectors.datafile.MainApp</mainClass>
232 </configuration>
233 <executions>
234 <execution>
235 <goals>
236 <goal>build-info</goal>
237 </goals>
238 </execution>
239 </executions>
240 </plugin>
241 <plugin>
242 <groupId>com.spotify</groupId>
243 <artifactId>docker-maven-plugin</artifactId>
244 <configuration>
245 <serverId>${onap.nexus.dockerregistry.daily}</serverId>
246 <imageName>${onap.nexus.dockerregistry.daily}/${docker.image.name}</imageName>
247 <imageTags>
248 <imageTag>${project.version}-${maven.build.timestamp}Z</imageTag>
249 <imageTag>${project.version}</imageTag>
250 <imageTag>latest</imageTag>
251 </imageTags>
252 <dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory>
253 <resources>
254 <resource>
255 <directory>${project.build.directory}</directory>
256 <include>${project.artifactId}.jar</include>
257 <targetPath>/target</targetPath>
258 </resource>
259 <resource>
260 <targetPath>/config</targetPath>
261 <directory>${project.basedir}/config</directory>
262 <include>*</include>
263 </resource>
264 </resources>
265 </configuration>
266 </plugin>
267 <plugin>
268 <groupId>pl.project13.maven</groupId>
269 <artifactId>git-commit-id-plugin</artifactId>
270 <executions>
271 <execution>
272 <id>get-the-git-infos</id>
273 <goals>
274 <goal>revision</goal>
275 </goals>
276 </execution>
277 </executions>
278 <configuration>
279 <verbose>true</verbose>
280 <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
281 <dateFormat>MM-dd-yyyy '@' HH:mm:ss Z</dateFormat>
282 <generateGitPropertiesFile>true</generateGitPropertiesFile>
283 <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties
284 </generateGitPropertiesFilename>
285 <failOnNoGitDirectory>true</failOnNoGitDirectory>
286 </configuration>
287 </plugin>
288 </plugins>
289 </build>
PatrikBuhra10bbf72022-08-16 14:23:15 +0200290</project>