blob: 64b6f656427ec14dcae7df642f52de4b8cada12b [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 Gajewski60553392021-02-15 14:07:44 +010029 <version>1.5.4-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>
Krzysztof Gajewski60553392021-02-15 14:07:44 +0100119 <dependency>
120 <groupId>org.apache.httpcomponents.core5</groupId>
121 <artifactId>httpcore5</artifactId>
122 </dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530123
124 <!-- Actuator dependencies -->
125 <dependency>
126 <groupId>org.springframework.boot</groupId>
127 <artifactId>spring-boot-starter-actuator</artifactId>
128 </dependency>
129 <dependency>
130 <groupId>javax.xml.bind</groupId>
131 <artifactId>jaxb-api</artifactId>
132 </dependency>
133
134 <!--TESTS DEPENDENCIES -->
135 <dependency>
136 <groupId>io.projectreactor</groupId>
137 <artifactId>reactor-test</artifactId>
138 <scope>test</scope>
139 </dependency>
140 <dependency>
141 <groupId>org.junit.jupiter</groupId>
142 <artifactId>junit-jupiter-engine</artifactId>
143 <scope>test</scope>
144 </dependency>
145 <dependency>
146 <groupId>org.springframework.boot</groupId>
147 <artifactId>spring-boot-starter-test</artifactId>
148 <scope>test</scope>
149 </dependency>
150 <dependency>
151 <groupId>org.testng</groupId>
152 <artifactId>testng</artifactId>
153 <scope>test</scope>
154 </dependency>
155 <dependency>
156 <groupId>org.awaitility</groupId>
157 <artifactId>awaitility</artifactId>
158 <scope>test</scope>
159 </dependency>
160 <dependency>
161 <groupId>org.mockito</groupId>
162 <artifactId>mockito-junit-jupiter</artifactId>
163 <scope>test</scope>
164 </dependency>
Krzysztof Gajewski3eced292021-01-13 12:47:27 +0100165 <dependency>
166 <groupId>org.powermock</groupId>
167 <artifactId>powermock-module-junit4</artifactId>
168 <scope>test</scope>
169 </dependency>
170 <dependency>
171 <groupId>org.powermock</groupId>
172 <artifactId>powermock-api-mockito2</artifactId>
173 <scope>test</scope>
174 </dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530175
176 <!--REQUIRED TO GENERATE DOCUMENTATION -->
177 <dependency>
178 <groupId>io.springfox</groupId>
179 <artifactId>springfox-spring-web</artifactId>
180 </dependency>
181 <dependency>
182 <groupId>io.springfox</groupId>
183 <artifactId>springfox-spi</artifactId>
184 </dependency>
185 <dependency>
186 <groupId>io.springfox</groupId>
187 <artifactId>springfox-core</artifactId>
188 </dependency>
189 <dependency>
190 <groupId>org.springdoc</groupId>
191 <artifactId>springdoc-openapi-ui</artifactId>
192 </dependency>
193 <dependency>
194 <groupId>io.springfox</groupId>
195 <artifactId>springfox-swagger2</artifactId>
196 </dependency>
197 <dependency>
198 <groupId>io.springfox</groupId>
199 <artifactId>springfox-swagger-ui</artifactId>
200 </dependency>
201 <dependency>
202 <groupId>org.springdoc</groupId>
203 <artifactId>springdoc-openapi-data-rest</artifactId>
204 </dependency>
205 <dependency>
206 <groupId>com.fasterxml.jackson.core</groupId>
207 <artifactId>jackson-databind</artifactId>
208 </dependency>
Krzysztof Gajewski42c23b62020-12-15 11:19:51 +0100209 </dependencies>
Krzysztof Gajewski42c23b62020-12-15 11:19:51 +0100210
ajay_dp0018cc9e642021-01-29 17:44:27 +0530211 <build>
212 <resources>
RehanRazac6c15ca2019-03-07 15:42:51 +0000213 <resource>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530214 <directory>src/main/resources</directory>
RehanRazac6c15ca2019-03-07 15:42:51 +0000215 </resource>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530216 </resources>
PatrikBuhr4dc06d02019-04-11 15:27:07 +0000217
ajay_dp0018cc9e642021-01-29 17:44:27 +0530218 <plugins>
219 <plugin>
220 <groupId>org.springframework.boot</groupId>
221 <artifactId>spring-boot-maven-plugin</artifactId>
222 <configuration>
223 <finalName>${project.artifactId}</finalName>
224 <mainClass>org.onap.dcaegen2.collectors.datafile.MainApp</mainClass>
225 </configuration>
226 <executions>
227 <execution>
228 <goals>
229 <goal>build-info</goal>
230 </goals>
231 </execution>
232 </executions>
233 </plugin>
234 <plugin>
235 <groupId>com.spotify</groupId>
236 <artifactId>docker-maven-plugin</artifactId>
237 <configuration>
238 <serverId>${onap.nexus.dockerregistry.daily}</serverId>
239 <imageName>${onap.nexus.dockerregistry.daily}/${docker.image.name}</imageName>
240 <imageTags>
241 <imageTag>${project.version}-${maven.build.timestamp}Z</imageTag>
242 <imageTag>${project.version}</imageTag>
243 <imageTag>latest</imageTag>
244 </imageTags>
245 <dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory>
246 <resources>
247 <resource>
248 <directory>${project.build.directory}</directory>
249 <include>${project.artifactId}.jar</include>
250 <targetPath>/target</targetPath>
251 </resource>
252 <resource>
253 <targetPath>/config</targetPath>
254 <directory>${project.basedir}/config</directory>
255 <include>*</include>
256 </resource>
257 </resources>
258 </configuration>
259 </plugin>
260 <plugin>
261 <groupId>pl.project13.maven</groupId>
262 <artifactId>git-commit-id-plugin</artifactId>
263 <executions>
264 <execution>
265 <id>get-the-git-infos</id>
266 <goals>
267 <goal>revision</goal>
268 </goals>
269 </execution>
270 </executions>
271 <configuration>
272 <verbose>true</verbose>
273 <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
274 <dateFormat>MM-dd-yyyy '@' HH:mm:ss Z</dateFormat>
275 <generateGitPropertiesFile>true</generateGitPropertiesFile>
276 <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties
277 </generateGitPropertiesFilename>
278 <failOnNoGitDirectory>true</failOnNoGitDirectory>
279 </configuration>
280 </plugin>
281 </plugins>
282 </build>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200283</project>