blob: 5e0330b00f492722a06cdd845e777987982b3037 [file] [log] [blame]
elinuxhenrikd661dbc2018-08-17 12:34:58 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ ============LICENSE_START=======================================================
Krzysztof Gajewski3eced292021-01-13 12:47:27 +01004 ~ Copyright (C) 2018-2021 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.
elinuxhenrikf3945942018-09-14 15:49:10 +02007 ~ ================================================================================
elinuxhenrikd661dbc2018-08-17 12:34:58 +02008 ~ 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 ~
elinuxhenrikf3945942018-09-14 15:49:10 +020012 ~ http://www.apache.org/licenses/LICENSE-2.0
elinuxhenrikd661dbc2018-08-17 12:34:58 +020013 ~
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<project xmlns="http://maven.apache.org/POM/4.0.0"
22 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 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 +053024 <modelVersion>4.0.0</modelVersion>
Vijay Venkatesh Kumar0ae7a7f2018-10-05 14:14:00 +020025
ajay_dp0018cc9e642021-01-29 17:44:27 +053026 <parent>
27 <groupId>org.onap.dcaegen2.collectors</groupId>
28 <artifactId>datafile</artifactId>
Krzysztof Gajewski3eced292021-01-13 12:47:27 +010029 <version>1.5.3-SNAPSHOT</version>
ajay_dp0018cc9e642021-01-29 17:44:27 +053030 </parent>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020031
ajay_dp0018cc9e642021-01-29 17:44:27 +053032 <groupId>org.onap.dcaegen2.collectors.datafile</groupId>
33 <artifactId>datafile-app-server</artifactId>
34 <packaging>jar</packaging>
elinuxhenrikf3945942018-09-14 15:49:10 +020035
ajay_dp0018cc9e642021-01-29 17:44:27 +053036 <properties>
37 <docker.image.name>onap/${project.groupId}.${project.artifactId}</docker.image.name>
38 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
39 <docker-client.version>8.7.1</docker-client.version>
40 <tomcat-embed-core.version>9.0.39</tomcat-embed-core.version>
41 </properties>
elinuxhenrikf3945942018-09-14 15:49:10 +020042
Krzysztof Gajewski42c23b62020-12-15 11:19:51 +010043 <dependencies>
ajay_dp0018cc9e642021-01-29 17:44:27 +053044 <dependency>
45 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
46 <artifactId>cbs-client</artifactId>
47 </dependency>
48 <dependency>
49 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
50 <artifactId>dmaap-client</artifactId>
51 </dependency>
52 <dependency>
53 <groupId>org.onap.dcaegen2.services.sdk.security</groupId>
54 <artifactId>ssl</artifactId>
55 </dependency>
56 <dependency>
57 <groupId>org.apache.httpcomponents</groupId>
58 <artifactId>httpasyncclient</artifactId>
59 </dependency>
60 <dependency>
61 <groupId>org.apache.commons</groupId>
62 <artifactId>commons-lang3</artifactId>
63 </dependency>
64 <dependency>
65 <groupId>commons-io</groupId>
66 <artifactId>commons-io</artifactId>
67 </dependency>
68 <dependency>
69 <groupId>commons-net</groupId>
70 <artifactId>commons-net</artifactId>
71 </dependency>
72 <dependency>
73 <groupId>com.jcraft</groupId>
74 <artifactId>jsch</artifactId>
75 </dependency>
76 <dependency>
77 <groupId>org.springframework.boot</groupId>
78 <artifactId>spring-boot-configuration-processor</artifactId>
79 <optional>true</optional>
80 </dependency>
81 <dependency>
82 <groupId>org.immutables</groupId>
83 <artifactId>value</artifactId>
84 </dependency>
85 <dependency>
86 <groupId>javax.validation</groupId>
87 <artifactId>validation-api</artifactId>
88 </dependency>
89 <dependency>
90 <groupId>org.springframework.boot</groupId>
91 <artifactId>spring-boot</artifactId>
92 </dependency>
93 <dependency>
94 <groupId>org.springframework</groupId>
95 <artifactId>spring-web</artifactId>
96 </dependency>
97 <dependency>
98 <groupId>org.springframework</groupId>
99 <artifactId>spring-webmvc</artifactId>
100 </dependency>
101 <dependency>
102 <groupId>com.spotify</groupId>
103 <artifactId>docker-client</artifactId>
104 <version>${docker-client.version}</version>
105 </dependency>
106 <dependency>
107 <groupId>org.apache.tomcat.embed</groupId>
108 <artifactId>tomcat-embed-core</artifactId>
109 <version>${tomcat-embed-core.version}</version>
110 </dependency>
111 <dependency>
112 <groupId>org.springframework</groupId>
113 <artifactId>spring-webflux</artifactId>
114 </dependency>
115 <dependency>
116 <groupId>org.springframework.boot</groupId>
117 <artifactId>spring-boot-autoconfigure</artifactId>
118 </dependency>
119
120 <!-- Actuator dependencies -->
121 <dependency>
122 <groupId>org.springframework.boot</groupId>
123 <artifactId>spring-boot-starter-actuator</artifactId>
124 </dependency>
125 <dependency>
126 <groupId>javax.xml.bind</groupId>
127 <artifactId>jaxb-api</artifactId>
128 </dependency>
129
130 <!--TESTS DEPENDENCIES -->
131 <dependency>
132 <groupId>io.projectreactor</groupId>
133 <artifactId>reactor-test</artifactId>
134 <scope>test</scope>
135 </dependency>
136 <dependency>
137 <groupId>org.junit.jupiter</groupId>
138 <artifactId>junit-jupiter-engine</artifactId>
139 <scope>test</scope>
140 </dependency>
141 <dependency>
142 <groupId>org.springframework.boot</groupId>
143 <artifactId>spring-boot-starter-test</artifactId>
144 <scope>test</scope>
145 </dependency>
146 <dependency>
147 <groupId>org.testng</groupId>
148 <artifactId>testng</artifactId>
149 <scope>test</scope>
150 </dependency>
151 <dependency>
152 <groupId>org.awaitility</groupId>
153 <artifactId>awaitility</artifactId>
154 <scope>test</scope>
155 </dependency>
156 <dependency>
157 <groupId>org.mockito</groupId>
158 <artifactId>mockito-junit-jupiter</artifactId>
159 <scope>test</scope>
160 </dependency>
Krzysztof Gajewski3eced292021-01-13 12:47:27 +0100161 <dependency>
162 <groupId>org.powermock</groupId>
163 <artifactId>powermock-module-junit4</artifactId>
164 <scope>test</scope>
165 </dependency>
166 <dependency>
167 <groupId>org.powermock</groupId>
168 <artifactId>powermock-api-mockito2</artifactId>
169 <scope>test</scope>
170 </dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530171
172 <!--REQUIRED TO GENERATE DOCUMENTATION -->
173 <dependency>
174 <groupId>io.springfox</groupId>
175 <artifactId>springfox-spring-web</artifactId>
176 </dependency>
177 <dependency>
178 <groupId>io.springfox</groupId>
179 <artifactId>springfox-spi</artifactId>
180 </dependency>
181 <dependency>
182 <groupId>io.springfox</groupId>
183 <artifactId>springfox-core</artifactId>
184 </dependency>
185 <dependency>
186 <groupId>org.springdoc</groupId>
187 <artifactId>springdoc-openapi-ui</artifactId>
188 </dependency>
189 <dependency>
190 <groupId>io.springfox</groupId>
191 <artifactId>springfox-swagger2</artifactId>
192 </dependency>
193 <dependency>
194 <groupId>io.springfox</groupId>
195 <artifactId>springfox-swagger-ui</artifactId>
196 </dependency>
197 <dependency>
198 <groupId>org.springdoc</groupId>
199 <artifactId>springdoc-openapi-data-rest</artifactId>
200 </dependency>
201 <dependency>
202 <groupId>com.fasterxml.jackson.core</groupId>
203 <artifactId>jackson-databind</artifactId>
204 </dependency>
Krzysztof Gajewski42c23b62020-12-15 11:19:51 +0100205 </dependencies>
Krzysztof Gajewski42c23b62020-12-15 11:19:51 +0100206
ajay_dp0018cc9e642021-01-29 17:44:27 +0530207 <build>
208 <resources>
RehanRazac6c15ca2019-03-07 15:42:51 +0000209 <resource>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530210 <directory>src/main/resources</directory>
RehanRazac6c15ca2019-03-07 15:42:51 +0000211 </resource>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530212 </resources>
PatrikBuhr4dc06d02019-04-11 15:27:07 +0000213
ajay_dp0018cc9e642021-01-29 17:44:27 +0530214 <plugins>
215 <plugin>
216 <groupId>org.springframework.boot</groupId>
217 <artifactId>spring-boot-maven-plugin</artifactId>
218 <configuration>
219 <finalName>${project.artifactId}</finalName>
220 <mainClass>org.onap.dcaegen2.collectors.datafile.MainApp</mainClass>
221 </configuration>
222 <executions>
223 <execution>
224 <goals>
225 <goal>build-info</goal>
226 </goals>
227 </execution>
228 </executions>
229 </plugin>
230 <plugin>
231 <groupId>com.spotify</groupId>
232 <artifactId>docker-maven-plugin</artifactId>
233 <configuration>
234 <serverId>${onap.nexus.dockerregistry.daily}</serverId>
235 <imageName>${onap.nexus.dockerregistry.daily}/${docker.image.name}</imageName>
236 <imageTags>
237 <imageTag>${project.version}-${maven.build.timestamp}Z</imageTag>
238 <imageTag>${project.version}</imageTag>
239 <imageTag>latest</imageTag>
240 </imageTags>
241 <dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory>
242 <resources>
243 <resource>
244 <directory>${project.build.directory}</directory>
245 <include>${project.artifactId}.jar</include>
246 <targetPath>/target</targetPath>
247 </resource>
248 <resource>
249 <targetPath>/config</targetPath>
250 <directory>${project.basedir}/config</directory>
251 <include>*</include>
252 </resource>
253 </resources>
254 </configuration>
255 </plugin>
256 <plugin>
257 <groupId>pl.project13.maven</groupId>
258 <artifactId>git-commit-id-plugin</artifactId>
259 <executions>
260 <execution>
261 <id>get-the-git-infos</id>
262 <goals>
263 <goal>revision</goal>
264 </goals>
265 </execution>
266 </executions>
267 <configuration>
268 <verbose>true</verbose>
269 <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
270 <dateFormat>MM-dd-yyyy '@' HH:mm:ss Z</dateFormat>
271 <generateGitPropertiesFile>true</generateGitPropertiesFile>
272 <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties
273 </generateGitPropertiesFilename>
274 <failOnNoGitDirectory>true</failOnNoGitDirectory>
275 </configuration>
276 </plugin>
277 </plugins>
278 </build>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200279</project>