blob: d7ac069d4506d531e5cff0ab77d9a4241e400855 [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Yuli Shlosberg0875ce02018-01-25 13:53:36 +02002 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Michael Lando451a3402017-02-19 10:28:42 +02003 <modelVersion>4.0.0</modelVersion>
4
Michael Landoed64b5e2017-06-09 03:19:04 +03005 <artifactId>asdctool</artifactId>
Michael Lando451a3402017-02-19 10:28:42 +02006 <packaging>jar</packaging>
7
8 <parent>
9 <groupId>org.openecomp.sdc</groupId>
10 <artifactId>sdc-main</artifactId>
Sonsino, Ofir (os0695)55c536e2019-05-07 18:30:15 +030011 <version>1.5.0-SNAPSHOT</version>
Michael Lando451a3402017-02-19 10:28:42 +020012 </parent>
13
Michael Lando451a3402017-02-19 10:28:42 +020014 <dependencies>
Michael Landoc0ac0152017-02-27 23:48:43 +020015
Michael Landoc34b77c2017-02-28 19:03:11 +020016 <dependency>
Michael Landoc34b77c2017-02-28 19:03:11 +020017 <groupId>com.google.guava</groupId>
18 <artifactId>guava</artifactId>
19 <version>${guava.version}</version>
20 <scope>compile</scope>
21 </dependency>
22
Michael Lando451a3402017-02-19 10:28:42 +020023 <!-- ASDC dependencies -->
24 <dependency>
25 <groupId>org.openecomp.sdc.be</groupId>
26 <artifactId>common-be</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +030027 <version>${project.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +020028 <scope>compile</scope>
29 </dependency>
30 <dependency>
31 <groupId>org.openecomp.sdc</groupId>
32 <artifactId>common-app-api</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +030033 <version>${project.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +020034 <scope>compile</scope>
35 </dependency>
36
37 <dependency>
38 <groupId>org.openecomp.sdc.be</groupId>
39 <artifactId>catalog-dao</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +030040 <version>${project.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +020041 <scope>compile</scope>
42 </dependency>
43
44 <dependency>
45 <groupId>org.openecomp.sdc.be</groupId>
46 <artifactId>catalog-model</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +030047 <version>${project.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +020048 <scope>compile</scope>
49 </dependency>
50
Michael Landof5500c32017-07-19 11:23:23 +030051
Michael Lando451a3402017-02-19 10:28:42 +020052 <dependency>
53 <groupId>org.openecomp.sdc</groupId>
54 <artifactId>catalog-be</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +030055 <version>${project.version}</version>
56
Michael Lando451a3402017-02-19 10:28:42 +020057 <!-- Comment Out in order to debug in eclipse -->
Yuli Shlosberg0875ce02018-01-25 13:53:36 +020058 <classifier>classes</classifier>
Michael Lando451a3402017-02-19 10:28:42 +020059
Yuli Shlosberg0875ce02018-01-25 13:53:36 +020060 <exclusions>
61 <exclusion>
Michael Landof5500c32017-07-19 11:23:23 +030062 <groupId>org.openecomp.ecompsdkos</groupId>
63 <artifactId>epsdk-fw</artifactId>
64 </exclusion>
65
66 <exclusion>
amitjai42c920b2018-04-27 13:28:57 +053067 <groupId>org.onap.sdc.common</groupId>
amitjai42c920b2018-04-27 13:28:57 +053068 <artifactId>onap-common-lib</artifactId>
Michael Landof5500c32017-07-19 11:23:23 +030069 </exclusion>
Michael Lando5b593492018-07-29 16:13:45 +030070
Michael Landoa5445102018-03-04 14:53:33 +020071 <exclusion>
72 <groupId>com.att.nsa</groupId>
73 <artifactId>cambriaClient</artifactId>
74 </exclusion>
75 <exclusion>
Michael Lando5b593492018-07-29 16:13:45 +030076 <groupId>com.att.nsa</groupId>
77 <artifactId>dmaapClient</artifactId>
78 </exclusion>
Michael Landoa5445102018-03-04 14:53:33 +020079 <exclusion>
80 <artifactId>slf4j-log4j12</artifactId>
81 <groupId>org.slf4j</groupId>
82 </exclusion>
Michael Lando5b593492018-07-29 16:13:45 +030083
Yuli Shlosberg0875ce02018-01-25 13:53:36 +020084 </exclusions>
Michael Landof5500c32017-07-19 11:23:23 +030085
Yuli Shlosberg0875ce02018-01-25 13:53:36 +020086 <scope>compile</scope>
Michael Landoed64b5e2017-06-09 03:19:04 +030087 </dependency>
88
Michael Landof5500c32017-07-19 11:23:23 +030089 <dependency>
Tal Gitelman7d05e162018-10-10 14:52:54 +030090 <groupId>org.onap.portal.sdk</groupId>
Michael Landof5500c32017-07-19 11:23:23 +030091 <artifactId>epsdk-fw</artifactId>
92 <version>${ecomp.version}</version>
93 <scope>compile</scope>
94 <exclusions>
95 <exclusion>
96 <groupId>com.att.nsa</groupId>
97 <artifactId>cambriaClient</artifactId>
98 </exclusion>
Michael Landoa5445102018-03-04 14:53:33 +020099 <exclusion>
Michael Lando5b593492018-07-29 16:13:45 +0300100 <groupId>com.att.nsa</groupId>
101 <artifactId>dmaapClient</artifactId>
102 </exclusion>
Michael Landof5500c32017-07-19 11:23:23 +0300103 <exclusion>
104 <artifactId>slf4j-log4j12</artifactId>
105 <groupId>org.slf4j</groupId>
106 </exclusion>
107 </exclusions>
108 </dependency>
109
110
Michael Landof5500c32017-07-19 11:23:23 +0300111
Michael Landoed64b5e2017-06-09 03:19:04 +0300112 <!-- ASDC dependencies end -->
Michael Lando451a3402017-02-19 10:28:42 +0200113 <dependency>
114 <groupId>org.eclipse.jetty</groupId>
115 <artifactId>jetty-server</artifactId>
Michael Landod618ad62018-05-13 22:27:13 +0300116 <version>${jetty.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200117 <scope>compile</scope>
118 </dependency>
119
Yuli Shlosberg32b9a7e2018-10-14 16:48:21 +0300120 <dependency>
121 <groupId>org.eclipse.jetty</groupId>
122 <artifactId>jetty-util</artifactId>
123 <version>${jetty.version}</version>
124 <scope>compile</scope>
125 </dependency>
126
Michael Lando451a3402017-02-19 10:28:42 +0200127 <!-- listen to file changes -->
128 <dependency>
129 <groupId>org.apache.commons</groupId>
130 <artifactId>commons-jci-core</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300131 <version>${commons-jci-core.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200132 <scope>compile</scope>
133 </dependency>
134
135 <dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300136 <groupId>commons-cli</groupId>
137 <artifactId>commons-cli</artifactId>
138 <version>1.4</version>
139 </dependency>
140
141 <dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200142 <groupId>org.eclipse.jetty</groupId>
143 <artifactId>jetty-servlet</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300144 <version>${jetty.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200145 <scope>compile</scope>
146 </dependency>
147
148 <dependency>
149 <groupId>org.glassfish.jersey.core</groupId>
150 <artifactId>jersey-server</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300151 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200152 <scope>compile</scope>
153 </dependency>
154
155 <dependency>
156 <groupId>org.glassfish.jersey.containers</groupId>
157 <artifactId>jersey-container-servlet-core</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300158 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200159 <scope>compile</scope>
160 </dependency>
161
162 <dependency>
163 <groupId>org.glassfish.jersey.containers</groupId>
164 <artifactId>jersey-container-jetty-http</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300165 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200166 <scope>compile</scope>
167 </dependency>
168
169 <dependency>
170 <groupId>org.glassfish.jersey.media</groupId>
171 <artifactId>jersey-media-moxy</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300172 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200173 <scope>compile</scope>
174 </dependency>
175
176 <dependency>
177 <groupId>org.glassfish.jersey.media</groupId>
178 <artifactId>jersey-media-multipart</artifactId>
179 <version>2.14</version>
180 <scope>compile</scope>
181 </dependency>
182
183 <!-- slf4j + logback -->
184 <dependency>
185 <groupId>org.slf4j</groupId>
186 <artifactId>slf4j-api</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300187 <version>${slf4j-api.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200188 <scope>compile</scope>
189 </dependency>
190
191 <dependency>
192 <groupId>ch.qos.logback</groupId>
193 <artifactId>logback-classic</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200194 <version>${logback.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200195 <scope>compile</scope>
196 </dependency>
197
198 <dependency>
199 <groupId>ch.qos.logback</groupId>
200 <artifactId>logback-core</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200201 <version>${logback.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200202 <scope>compile</scope>
203 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300204
Michael Lando451a3402017-02-19 10:28:42 +0200205 <!-- groovy -->
206 <dependency>
207 <groupId>org.codehaus.groovy</groupId>
Tal Gitelmana3b79a22018-09-25 17:22:34 +0300208 <artifactId>groovy</artifactId>
Michael Lando451a3402017-02-19 10:28:42 +0200209 <scope>compile</scope>
210 </dependency>
211
Michael Landoed64b5e2017-06-09 03:19:04 +0300212 <dependency>
213 <groupId>commons-configuration</groupId>
214 <artifactId>commons-configuration</artifactId>
215 <version>1.6</version>
216 <scope>compile</scope>
Tal Gitelman76783962018-09-06 18:16:24 +0300217 <exclusions>
218 <exclusion>
219 <artifactId>commons-collections</artifactId>
220 <groupId>commons-collections</groupId>
221 </exclusion>
222 </exclusions>
Michael Landoed64b5e2017-06-09 03:19:04 +0300223 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200224
Michael Lando451a3402017-02-19 10:28:42 +0200225 <dependency>
shrikantawachar2623c842019-05-20 12:11:54 +0530226 <groupId>org.janusgraph</groupId>
227 <artifactId>janusgraph-core</artifactId>
228 <version>${janusgraph.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200229 <scope>compile</scope>
230 <exclusions>
231 <exclusion>
232 <groupId>org.json</groupId>
233 <artifactId>json</artifactId>
234 </exclusion>
Michael Landob3d48982017-06-11 14:22:02 +0300235 <exclusion>
236 <groupId>org.slf4j</groupId>
237 <artifactId>slf4j-log4j12</artifactId>
238 </exclusion>
Tal Gitelman76783962018-09-06 18:16:24 +0300239 <exclusion>
240 <artifactId>commons-collections</artifactId>
241 <groupId>commons-collections</groupId>
242 </exclusion>
shrikantawachar2623c842019-05-20 12:11:54 +0530243 <exclusion>
244 <artifactId>groovy</artifactId>
245 <groupId>org.codehaus.groovy</groupId>
246 </exclusion>
Michael Lando451a3402017-02-19 10:28:42 +0200247 </exclusions>
248 </dependency>
249
250 <dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300251 <groupId>com.googlecode.json-simple</groupId>
252 <artifactId>json-simple</artifactId>
253 <version>${json-simple.version}</version>
254 <scope>compile</scope>
255 </dependency>
256
257 <dependency>
shrikantawachar2623c842019-05-20 12:11:54 +0530258 <groupId>org.janusgraph</groupId>
259 <artifactId>janusgraph-cassandra</artifactId>
260 <version>${janusgraph.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200261 <scope>compile</scope>
Michael Landob3d48982017-06-11 14:22:02 +0300262 <exclusions>
263 <exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200264 <groupId>org.slf4j</groupId>
265 <artifactId>slf4j-log4j12</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300266 </exclusion>
267 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200268 </dependency>
269
270 <dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200271 <groupId>commons-logging</groupId>
272 <artifactId>commons-logging</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200273 <version>${commons-logging}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200274 <scope>compile</scope>
275 </dependency>
276
277 <dependency>
278 <groupId>commons-codec</groupId>
279 <artifactId>commons-codec</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200280 <version>${commons-codec}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200281 <scope>compile</scope>
282 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200283
284 <dependency>
285 <groupId>com.fasterxml.jackson.core</groupId>
286 <artifactId>jackson-databind</artifactId>
287 <version>${jackson.version}</version>
288 <scope>compile</scope>
289 </dependency>
290
Michael Lando5b593492018-07-29 16:13:45 +0300291 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
Michael Lando451a3402017-02-19 10:28:42 +0200292 <dependency>
293 <groupId>com.fasterxml.jackson.core</groupId>
294 <artifactId>jackson-annotations</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300295 <version>${jackson-annotations.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200296 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300297
Michael Lando451a3402017-02-19 10:28:42 +0200298 <dependency>
299 <groupId>com.google.code.gson</groupId>
300 <artifactId>gson</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300301 <version>${gson.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200302 <scope>compile</scope>
303 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300304
Michael Lando451a3402017-02-19 10:28:42 +0200305 <dependency>
306 <groupId>org.apache.httpcomponents</groupId>
307 <artifactId>httpclient</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200308 <version>${httpclient.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200309 <scope>compile</scope>
310 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300311
Michael Lando451a3402017-02-19 10:28:42 +0200312 <dependency>
313 <groupId>org.apache.httpcomponents</groupId>
314 <artifactId>httpcore</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200315 <version>${httpcore.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200316 <scope>compile</scope>
317 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300318
Michael Lando451a3402017-02-19 10:28:42 +0200319 <!-- Spring 4 dependencies -->
320 <dependency>
321 <groupId>org.springframework</groupId>
322 <artifactId>spring-core</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200323 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200324 <scope>compile</scope>
325 </dependency>
326
327 <dependency>
328 <groupId>org.springframework</groupId>
329 <artifactId>spring-context</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200330 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200331 <scope>compile</scope>
332 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300333
Michael Lando451a3402017-02-19 10:28:42 +0200334 <dependency>
335 <groupId>org.springframework</groupId>
336 <artifactId>spring-expression</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200337 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200338 <scope>compile</scope>
339 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300340
Michael Lando451a3402017-02-19 10:28:42 +0200341 <dependency>
342 <groupId>org.springframework</groupId>
343 <artifactId>spring-beans</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300344 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200345 <scope>compile</scope>
346 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300347
Michael Lando451a3402017-02-19 10:28:42 +0200348 <dependency>
349 <groupId>org.springframework</groupId>
350 <artifactId>spring-aop</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200351 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200352 <scope>compile</scope>
353 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300354
Michael Lando451a3402017-02-19 10:28:42 +0200355 <!-- Spring 4 dependencies end -->
356 <!-- JavaConfig need this library -->
357 <dependency>
358 <groupId>cglib</groupId>
359 <artifactId>cglib</artifactId>
360 <version>3.2.4</version>
361 <scope>compile</scope>
362 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300363
Michael Lando451a3402017-02-19 10:28:42 +0200364 <dependency>
365 <groupId>org.yaml</groupId>
366 <artifactId>snakeyaml</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300367 <version>${snakeyaml.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200368 <scope>compile</scope>
369 </dependency>
370
Michael Landoed64b5e2017-06-09 03:19:04 +0300371 <dependency>
372 <groupId>org.functionaljava</groupId>
373 <artifactId>functionaljava</artifactId>
374 <version>${functionaljava.version}</version>
375 <scope>compile</scope>
376 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200377
378 <dependency>
379 <groupId>org.elasticsearch</groupId>
380 <artifactId>elasticsearch</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200381 <version>${elastic-search.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200382 <scope>compile</scope>
383 </dependency>
384
385 <dependency>
386 <groupId>com.fasterxml.jackson.dataformat</groupId>
387 <artifactId>jackson-dataformat-yaml</artifactId>
388 <version>${jackson.version}</version>
389 <scope>compile</scope>
390 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300391
Michael Lando451a3402017-02-19 10:28:42 +0200392 <!-- CASSANDRA -->
393 <dependency>
394 <groupId>com.datastax.cassandra</groupId>
395 <artifactId>cassandra-driver-core</artifactId>
396 <version>${cassandra.driver.version}</version>
397 <scope>compile</scope>
398 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300399
Michael Lando451a3402017-02-19 10:28:42 +0200400 <dependency>
401 <groupId>com.datastax.cassandra</groupId>
402 <artifactId>cassandra-driver-mapping</artifactId>
403 <version>${cassandra.driver.version}</version>
404 <scope>compile</scope>
405 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300406
Michael Lando451a3402017-02-19 10:28:42 +0200407 <!-- CASSANDRA END -->
Michael Lando5b593492018-07-29 16:13:45 +0300408
Michael Landoa5445102018-03-04 14:53:33 +0200409 <!-- OPEN CSV -->
Michael Lando5b593492018-07-29 16:13:45 +0300410 <dependency>
411 <groupId>com.opencsv</groupId>
412 <artifactId>opencsv</artifactId>
413 <version>4.0</version>
414 <scope>compile</scope>
415 </dependency>
416
Michael Lando451a3402017-02-19 10:28:42 +0200417 <dependency>
418 <groupId>org.apache.poi</groupId>
419 <artifactId>com.springsource.org.apache.poi</artifactId>
420 <version>3.9.0.FINAL</version>
421 <scope>compile</scope>
422 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300423
Michael Lando451a3402017-02-19 10:28:42 +0200424 <dependency>
425 <groupId>org.jdom</groupId>
426 <artifactId>jdom</artifactId>
427 <version>2.0.2</version>
428 <scope>compile</scope>
429 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300430
Michael Lando5b593492018-07-29 16:13:45 +0300431 <!-- Temporary, till building the populate task which adding all components
Michael Landoed64b5e2017-06-09 03:19:04 +0300432 to cache. We will use Serialization Utils. -->
Michael Lando451a3402017-02-19 10:28:42 +0200433 <dependency>
434 <groupId>de.ruedigermoeller</groupId>
435 <artifactId>fst</artifactId>
436 <version>2.47</version>
437 <scope>compile</scope>
438 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200439
Michael Landoed64b5e2017-06-09 03:19:04 +0300440 <!-- testing -->
Parshad Patel8b8061e2019-03-18 16:02:43 +0900441 <dependency>
442 <groupId>org.hamcrest</groupId>
443 <artifactId>hamcrest-all</artifactId>
444 <version>${hamcrest-all.version}</version>
445 <scope>test</scope>
446 </dependency>
447
Michael Landoed64b5e2017-06-09 03:19:04 +0300448 <dependency>
449 <groupId>junit</groupId>
450 <artifactId>junit</artifactId>
451 <version>${junit.version}</version>
452 <scope>test</scope>
453 </dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300454
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200455 <dependency>
456 <groupId>org.testng</groupId>
457 <artifactId>testng</artifactId>
458 <version>${testng.version}</version>
459 <scope>test</scope>
460 </dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300461
462 <dependency>
463 <groupId>org.mockito</groupId>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200464 <artifactId>mockito-core</artifactId>
Michael Lando75aacbb2017-07-17 21:12:03 +0300465 <scope>test</scope>
466 </dependency>
Tal Gitelmane0199372018-09-18 11:57:53 +0300467
Michael Lando5b593492018-07-29 16:13:45 +0300468 <dependency>
469 <groupId>org.assertj</groupId>
470 <artifactId>assertj-core</artifactId>
471 <scope>test</scope>
472 </dependency>
473 <!-- testing end -->
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300474
475 <dependency>
476 <groupId>io.netty</groupId>
477 <artifactId>netty-all</artifactId>
478 </dependency>
479
480 <dependency>
481 <groupId>io.netty</groupId>
482 <artifactId>netty-handler</artifactId>
483 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300484 </dependencies>
485
486 <build>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200487 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
Michael Landoed64b5e2017-06-09 03:19:04 +0300488 <plugins>
Michael Lando9a6c8fc2018-06-11 13:26:35 +0300489 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300490 <groupId>org.apache.maven.plugins</groupId>
Michael Lando451a3402017-02-19 10:28:42 +0200491 <artifactId>maven-deploy-plugin</artifactId>
Michael Lando451a3402017-02-19 10:28:42 +0200492 <configuration>
493 <skip>true</skip>
494 </configuration>
495 </plugin>
496
497 <plugin>
498 <groupId>org.apache.maven.plugins</groupId>
499 <artifactId>maven-assembly-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200500 <executions>
Michael Lando451a3402017-02-19 10:28:42 +0200501 <execution>
502 <configuration>
Michael Landoed64b5e2017-06-09 03:19:04 +0300503 <finalName>sdctool</finalName>
Michael Lando451a3402017-02-19 10:28:42 +0200504 <appendAssemblyId>false</appendAssemblyId>
Michael Lando02ab6512018-04-05 23:32:27 +0300505 <descriptors>
506 <descriptor>${project.basedir}/tarball.xml</descriptor>
507 </descriptors>
Michael Lando451a3402017-02-19 10:28:42 +0200508 </configuration>
509 <id>assemble-file</id>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200510 <phase>verify</phase>
Michael Lando451a3402017-02-19 10:28:42 +0200511 <goals>
512 <goal>single</goal>
513 </goals>
514 </execution>
515 </executions>
516 </plugin>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200517 <plugin>
518 <groupId>org.apache.maven.plugins</groupId>
519 <artifactId>maven-shade-plugin</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300520 <executions>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200521 <execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200522 <phase>package</phase>
523 <goals>
524 <goal>shade</goal>
525 </goals>
526 <configuration>
527 <filters>
528 <filter>
529 <artifact>org.openecomp.sdc:*</artifact>
530 <excludes>
531 <exclude>**/elasticsearch.yml</exclude>
532 </excludes>
533 </filter>
534 <filter>
535 <artifact>*:*</artifact>
536 <excludes>
537 <exclude>META-INF/*.SF</exclude>
538 <exclude>META-INF/*.DSA</exclude>
539 <exclude>META-INF/*.RSA</exclude>
540 </excludes>
541 </filter>
542 </filters>
543 <transformers>
544 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
545 </transformers>
546 </configuration>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200547 </execution>
548 </executions>
549 </plugin>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200550 <plugin>
551 <groupId>ru.yaal.maven</groupId>
552 <artifactId>write-text-files-maven-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200553 <configuration>
554 <charset>UTF-8</charset>
555 <files>
556 <file>
557 <path>
Tal Gitelmanc4d387d2019-03-28 11:00:54 +0200558 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200559 </path>
560 <lines>
561 <line>normal['version'] ="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</line>
562 </lines>
563 </file>
564 </files>
565 </configuration>
566 <executions>
567 <execution>
568 <id>write-text-files</id>
569 <phase>prepare-package</phase>
570 <goals>
571 <goal>write-text-files</goal>
572 </goals>
573 </execution>
574 </executions>
575 </plugin>
576 <plugin>
577 <groupId>org.apache.maven.plugins</groupId>
578 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200579 <executions>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200580 <execution>
581 <id>copy-tosca-folder</id>
582 <!-- here the phase you need -->
583 <phase>compile</phase>
584 <goals>
585 <goal>copy-resources</goal>
586 </goals>
587 <configuration>
588 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
589 <resources>
590 <resource>
591 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
592 <filtering>true</filtering>
593 </resource>
594 </resources>
595 </configuration>
596 </execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200597 </executions>
598 </plugin>
dekstroza37843cb2018-05-18 14:42:24 +0100599 <plugin>
600 <groupId>com.github.sylvainlaurent.maven</groupId>
601 <artifactId>yaml-json-validator-maven-plugin</artifactId>
602 <executions>
603 <execution>
604 <id>validate</id>
605 <phase>validate</phase>
606 <goals>
607 <goal>validate</goal>
608 </goals>
609 <configuration>
610 <validationSets>
611 <validationSet>
612 <includes>
613 <include>src/main/resources/**/*.y*ml</include>
614 <include>src/test/resources/**/*.y*ml</include>
615 </includes>
616 </validationSet>
617 <validationSet>
618 <includes>
619 <include>src/main/resources/**/*.json</include>
620 <include>src/test/resources/**/*.json</include>
621 </includes>
k.kazak8d526072019-05-29 14:50:05 +0200622 <excludes>
623 <exclude>src/test/resources/graphError.json</exclude>
624 </excludes>
dekstroza37843cb2018-05-18 14:42:24 +0100625 </validationSet>
626 </validationSets>
627 </configuration>
628 </execution>
629 </executions>
630 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200631 </plugins>
632 </build>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200633 <profiles>
634 <profile>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200635 <id>docker</id>
636 <activation>
637 <activeByDefault>false</activeByDefault>
638 </activation>
639 <build>
640 <plugins>
641 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300642 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200643 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200644 <executions>
645 <execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200646 <id>copy-sdctool</id>
647 <phase>verify</phase>
648 <goals>
649 <goal>copy-resources</goal>
650 </goals>
651 <configuration>
652 <outputDirectory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</outputDirectory>
653 <resources>
654 <resource>
655 <directory>${project.parent.basedir}/asdctool/target</directory>
656 <includes>
657 <include>sdctool.tar</include>
658 </includes>
659 </resource>
660 </resources>
661 </configuration>
662 </execution>
663 </executions>
664 </plugin>
665 <plugin>
666 <groupId>io.fabric8</groupId>
667 <artifactId>docker-maven-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200668 <configuration>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200669 <apiVersion>1.23</apiVersion>
670 <registry>nexus3.onap.org:10001</registry>
671 <authConfig>
672 <pull>
673 <username>docker</username>
674 <password>docker</password>
675 </pull>
676 </authConfig>
677 <images>
678 <!-- Build cassandra-init image -->
679 <image>
680 <name>onap/sdc-cassandra-init</name>
681 <alias>sdc-cassandra-init</alias>
682 <build>
683 <cleanup>try</cleanup>
684 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
685 <tags>
686 <tag>${docker.tag}</tag>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200687 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
688 </tags>
689 </build>
690 </image>
691 </images>
692 </configuration>
693 <executions>
694 <execution>
695 <id>clean-images</id>
696 <phase>pre-clean</phase>
697 <goals>
698 <goal>remove</goal>
699 </goals>
700 <configuration>
701 <removeAll>true</removeAll>
702 <image>onap/sdc-cassandra-init</image>
703 </configuration>
704 </execution>
705
706 <execution>
707 <id>generate-images</id>
708 <phase>install</phase>
709 <goals>
710 <goal>build</goal>
711 </goals>
712 </execution>
713
714 <execution>
715 <id>push-images</id>
716 <phase>deploy</phase>
717 <goals>
718 <goal>push</goal>
719 </goals>
720 <configuration>
721 <image>onap/sdc-cassandra-init</image>
722 </configuration>
723 </execution>
724 </executions>
725 </plugin>
726 </plugins>
727 </build>
728 </profile>
729 </profiles>
k.kazak8d526072019-05-29 14:50:05 +0200730</project>