blob: c8a0e6480c51cf61e1e5e6fb3fe2d6da73dfba7f [file] [log] [blame]
elinuxhenrikd661dbc2018-08-17 12:34:58 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ ============LICENSE_START=======================================================
Joanna Jeremicz52804062022-02-11 12:55:30 +01004 ~ Copyright (C) 2018-2022 NOKIA Intellectual Property. All rights reserved.
ajay_dp0018cc9e642021-01-29 17:44:27 +05305 ~ Copyright (C) 2018-2021 Nordix Foundation. All rights reserved.
Vijay Venkatesh Kumaraeb9a862019-07-20 05:46:14 +00006 ~ Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
Alexander Mazuruk015b5482021-02-18 17:04:21 +01007 ~ Copyright (c) 2021 Samsung Electronics. All rights reserved.
elinuxhenrikf3945942018-09-14 15:49:10 +02008 ~ ================================================================================
elinuxhenrikd661dbc2018-08-17 12:34:58 +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 ~
elinuxhenrikf3945942018-09-14 15:49:10 +020013 ~ http://www.apache.org/licenses/LICENSE-2.0
elinuxhenrikd661dbc2018-08-17 12:34:58 +020014 ~
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">
ajay_dp0018cc9e642021-01-29 17:44:27 +053025 <modelVersion>4.0.0</modelVersion>
Vijay Venkatesh Kumar0ae7a7f2018-10-05 14:14:00 +020026
ajay_dp0018cc9e642021-01-29 17:44:27 +053027 <parent>
28 <groupId>org.onap.dcaegen2.collectors</groupId>
29 <artifactId>datafile</artifactId>
Tomasz Wrobel8cdd6de2022-03-10 15:13:43 +010030 <version>1.7.1-SNAPSHOT</version>
ajay_dp0018cc9e642021-01-29 17:44:27 +053031 </parent>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020032
ajay_dp0018cc9e642021-01-29 17:44:27 +053033 <groupId>org.onap.dcaegen2.collectors.datafile</groupId>
34 <artifactId>datafile-app-server</artifactId>
35 <packaging>jar</packaging>
elinuxhenrikf3945942018-09-14 15:49:10 +020036
ajay_dp0018cc9e642021-01-29 17:44:27 +053037 <properties>
38 <docker.image.name>onap/${project.groupId}.${project.artifactId}</docker.image.name>
39 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
40 <docker-client.version>8.7.1</docker-client.version>
Joanna Jeremicz52804062022-02-11 12:55:30 +010041 <tomcat-embed-core.version>9.0.56</tomcat-embed-core.version>
ajay_dp0018cc9e642021-01-29 17:44:27 +053042 </properties>
elinuxhenrikf3945942018-09-14 15:49:10 +020043
Krzysztof Gajewski42c23b62020-12-15 11:19:51 +010044 <dependencies>
ajay_dp0018cc9e642021-01-29 17:44:27 +053045 <dependency>
46 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
47 <artifactId>cbs-client</artifactId>
48 </dependency>
49 <dependency>
50 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
51 <artifactId>dmaap-client</artifactId>
52 </dependency>
53 <dependency>
54 <groupId>org.onap.dcaegen2.services.sdk.security</groupId>
55 <artifactId>ssl</artifactId>
56 </dependency>
57 <dependency>
58 <groupId>org.apache.httpcomponents</groupId>
59 <artifactId>httpasyncclient</artifactId>
60 </dependency>
61 <dependency>
62 <groupId>org.apache.commons</groupId>
63 <artifactId>commons-lang3</artifactId>
64 </dependency>
65 <dependency>
66 <groupId>commons-io</groupId>
67 <artifactId>commons-io</artifactId>
68 </dependency>
69 <dependency>
70 <groupId>commons-net</groupId>
71 <artifactId>commons-net</artifactId>
72 </dependency>
73 <dependency>
74 <groupId>com.jcraft</groupId>
75 <artifactId>jsch</artifactId>
76 </dependency>
77 <dependency>
78 <groupId>org.springframework.boot</groupId>
79 <artifactId>spring-boot-configuration-processor</artifactId>
80 <optional>true</optional>
81 </dependency>
82 <dependency>
83 <groupId>org.immutables</groupId>
84 <artifactId>value</artifactId>
85 </dependency>
86 <dependency>
87 <groupId>javax.validation</groupId>
88 <artifactId>validation-api</artifactId>
89 </dependency>
90 <dependency>
91 <groupId>org.springframework.boot</groupId>
92 <artifactId>spring-boot</artifactId>
93 </dependency>
94 <dependency>
95 <groupId>org.springframework</groupId>
96 <artifactId>spring-web</artifactId>
97 </dependency>
98 <dependency>
99 <groupId>org.springframework</groupId>
100 <artifactId>spring-webmvc</artifactId>
101 </dependency>
102 <dependency>
103 <groupId>com.spotify</groupId>
104 <artifactId>docker-client</artifactId>
105 <version>${docker-client.version}</version>
106 </dependency>
107 <dependency>
108 <groupId>org.apache.tomcat.embed</groupId>
109 <artifactId>tomcat-embed-core</artifactId>
110 <version>${tomcat-embed-core.version}</version>
111 </dependency>
112 <dependency>
113 <groupId>org.springframework</groupId>
114 <artifactId>spring-webflux</artifactId>
115 </dependency>
116 <dependency>
117 <groupId>org.springframework.boot</groupId>
118 <artifactId>spring-boot-autoconfigure</artifactId>
119 </dependency>
Krzysztof Gajewski60553392021-02-15 14:07:44 +0100120 <dependency>
121 <groupId>org.apache.httpcomponents.core5</groupId>
122 <artifactId>httpcore5</artifactId>
123 </dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530124
125 <!-- Actuator dependencies -->
126 <dependency>
127 <groupId>org.springframework.boot</groupId>
128 <artifactId>spring-boot-starter-actuator</artifactId>
129 </dependency>
130 <dependency>
131 <groupId>javax.xml.bind</groupId>
132 <artifactId>jaxb-api</artifactId>
133 </dependency>
134
135 <!--TESTS DEPENDENCIES -->
136 <dependency>
137 <groupId>io.projectreactor</groupId>
138 <artifactId>reactor-test</artifactId>
139 <scope>test</scope>
140 </dependency>
141 <dependency>
142 <groupId>org.junit.jupiter</groupId>
143 <artifactId>junit-jupiter-engine</artifactId>
144 <scope>test</scope>
145 </dependency>
146 <dependency>
147 <groupId>org.springframework.boot</groupId>
148 <artifactId>spring-boot-starter-test</artifactId>
149 <scope>test</scope>
150 </dependency>
151 <dependency>
152 <groupId>org.testng</groupId>
153 <artifactId>testng</artifactId>
154 <scope>test</scope>
155 </dependency>
156 <dependency>
157 <groupId>org.awaitility</groupId>
158 <artifactId>awaitility</artifactId>
159 <scope>test</scope>
160 </dependency>
161 <dependency>
162 <groupId>org.mockito</groupId>
163 <artifactId>mockito-junit-jupiter</artifactId>
164 <scope>test</scope>
165 </dependency>
Krzysztof Gajewski3eced292021-01-13 12:47:27 +0100166 <dependency>
167 <groupId>org.powermock</groupId>
168 <artifactId>powermock-module-junit4</artifactId>
169 <scope>test</scope>
170 </dependency>
171 <dependency>
172 <groupId>org.powermock</groupId>
173 <artifactId>powermock-api-mockito2</artifactId>
174 <scope>test</scope>
175 </dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530176
177 <!--REQUIRED TO GENERATE DOCUMENTATION -->
178 <dependency>
179 <groupId>io.springfox</groupId>
180 <artifactId>springfox-spring-web</artifactId>
181 </dependency>
182 <dependency>
183 <groupId>io.springfox</groupId>
184 <artifactId>springfox-spi</artifactId>
185 </dependency>
186 <dependency>
187 <groupId>io.springfox</groupId>
188 <artifactId>springfox-core</artifactId>
189 </dependency>
190 <dependency>
191 <groupId>org.springdoc</groupId>
192 <artifactId>springdoc-openapi-ui</artifactId>
193 </dependency>
194 <dependency>
195 <groupId>io.springfox</groupId>
196 <artifactId>springfox-swagger2</artifactId>
197 </dependency>
198 <dependency>
199 <groupId>io.springfox</groupId>
200 <artifactId>springfox-swagger-ui</artifactId>
201 </dependency>
202 <dependency>
203 <groupId>org.springdoc</groupId>
204 <artifactId>springdoc-openapi-data-rest</artifactId>
205 </dependency>
206 <dependency>
207 <groupId>com.fasterxml.jackson.core</groupId>
208 <artifactId>jackson-databind</artifactId>
209 </dependency>
Krzysztof Gajewski42c23b62020-12-15 11:19:51 +0100210 </dependencies>
Krzysztof Gajewski42c23b62020-12-15 11:19:51 +0100211
ajay_dp0018cc9e642021-01-29 17:44:27 +0530212 <build>
213 <resources>
RehanRazac6c15ca2019-03-07 15:42:51 +0000214 <resource>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530215 <directory>src/main/resources</directory>
RehanRazac6c15ca2019-03-07 15:42:51 +0000216 </resource>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530217 </resources>
PatrikBuhr4dc06d02019-04-11 15:27:07 +0000218
ajay_dp0018cc9e642021-01-29 17:44:27 +0530219 <plugins>
220 <plugin>
221 <groupId>org.springframework.boot</groupId>
222 <artifactId>spring-boot-maven-plugin</artifactId>
223 <configuration>
224 <finalName>${project.artifactId}</finalName>
225 <mainClass>org.onap.dcaegen2.collectors.datafile.MainApp</mainClass>
226 </configuration>
227 <executions>
228 <execution>
229 <goals>
230 <goal>build-info</goal>
231 </goals>
232 </execution>
233 </executions>
234 </plugin>
235 <plugin>
236 <groupId>com.spotify</groupId>
237 <artifactId>docker-maven-plugin</artifactId>
238 <configuration>
239 <serverId>${onap.nexus.dockerregistry.daily}</serverId>
240 <imageName>${onap.nexus.dockerregistry.daily}/${docker.image.name}</imageName>
241 <imageTags>
242 <imageTag>${project.version}-${maven.build.timestamp}Z</imageTag>
243 <imageTag>${project.version}</imageTag>
244 <imageTag>latest</imageTag>
245 </imageTags>
246 <dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory>
247 <resources>
248 <resource>
249 <directory>${project.build.directory}</directory>
250 <include>${project.artifactId}.jar</include>
251 <targetPath>/target</targetPath>
252 </resource>
253 <resource>
254 <targetPath>/config</targetPath>
255 <directory>${project.basedir}/config</directory>
256 <include>*</include>
257 </resource>
258 </resources>
259 </configuration>
260 </plugin>
261 <plugin>
262 <groupId>pl.project13.maven</groupId>
263 <artifactId>git-commit-id-plugin</artifactId>
264 <executions>
265 <execution>
266 <id>get-the-git-infos</id>
267 <goals>
268 <goal>revision</goal>
269 </goals>
270 </execution>
271 </executions>
272 <configuration>
273 <verbose>true</verbose>
274 <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
275 <dateFormat>MM-dd-yyyy '@' HH:mm:ss Z</dateFormat>
276 <generateGitPropertiesFile>true</generateGitPropertiesFile>
277 <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties
278 </generateGitPropertiesFilename>
279 <failOnNoGitDirectory>true</failOnNoGitDirectory>
280 </configuration>
281 </plugin>
282 </plugins>
283 </build>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200284</project>