blob: 9f9dc562808eef6f6b630c6917b394635626bf16 [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>
Tomasz Golabekb836d342019-06-11 13:41:48 +0200213 <groupId>org.apache.commons</groupId>
214 <artifactId>commons-configuration2</artifactId>
215 <version>${commons-configuration}</version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300216 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200217
Michael Lando451a3402017-02-19 10:28:42 +0200218 <dependency>
shrikantawachar2623c842019-05-20 12:11:54 +0530219 <groupId>org.janusgraph</groupId>
220 <artifactId>janusgraph-core</artifactId>
221 <version>${janusgraph.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200222 <scope>compile</scope>
223 <exclusions>
224 <exclusion>
225 <groupId>org.json</groupId>
226 <artifactId>json</artifactId>
227 </exclusion>
Michael Landob3d48982017-06-11 14:22:02 +0300228 <exclusion>
229 <groupId>org.slf4j</groupId>
230 <artifactId>slf4j-log4j12</artifactId>
231 </exclusion>
Tal Gitelman76783962018-09-06 18:16:24 +0300232 <exclusion>
233 <artifactId>commons-collections</artifactId>
234 <groupId>commons-collections</groupId>
235 </exclusion>
shrikantawachar2623c842019-05-20 12:11:54 +0530236 <exclusion>
237 <artifactId>groovy</artifactId>
238 <groupId>org.codehaus.groovy</groupId>
239 </exclusion>
Michael Lando451a3402017-02-19 10:28:42 +0200240 </exclusions>
241 </dependency>
242
243 <dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300244 <groupId>com.googlecode.json-simple</groupId>
245 <artifactId>json-simple</artifactId>
246 <version>${json-simple.version}</version>
247 <scope>compile</scope>
248 </dependency>
249
250 <dependency>
shrikantawachar2623c842019-05-20 12:11:54 +0530251 <groupId>org.janusgraph</groupId>
252 <artifactId>janusgraph-cassandra</artifactId>
253 <version>${janusgraph.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200254 <scope>compile</scope>
Michael Landob3d48982017-06-11 14:22:02 +0300255 <exclusions>
256 <exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200257 <groupId>org.slf4j</groupId>
258 <artifactId>slf4j-log4j12</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300259 </exclusion>
260 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200261 </dependency>
262
263 <dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200264 <groupId>commons-logging</groupId>
265 <artifactId>commons-logging</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200266 <version>${commons-logging}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200267 <scope>compile</scope>
268 </dependency>
269
270 <dependency>
271 <groupId>commons-codec</groupId>
272 <artifactId>commons-codec</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200273 <version>${commons-codec}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200274 <scope>compile</scope>
275 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200276
277 <dependency>
278 <groupId>com.fasterxml.jackson.core</groupId>
279 <artifactId>jackson-databind</artifactId>
280 <version>${jackson.version}</version>
281 <scope>compile</scope>
282 </dependency>
283
Michael Lando5b593492018-07-29 16:13:45 +0300284 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
Michael Lando451a3402017-02-19 10:28:42 +0200285 <dependency>
286 <groupId>com.fasterxml.jackson.core</groupId>
287 <artifactId>jackson-annotations</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300288 <version>${jackson-annotations.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200289 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300290
Michael Lando451a3402017-02-19 10:28:42 +0200291 <dependency>
292 <groupId>com.google.code.gson</groupId>
293 <artifactId>gson</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300294 <version>${gson.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200295 <scope>compile</scope>
296 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300297
Michael Lando451a3402017-02-19 10:28:42 +0200298 <dependency>
299 <groupId>org.apache.httpcomponents</groupId>
300 <artifactId>httpclient</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200301 <version>${httpclient.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>httpcore</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200308 <version>${httpcore.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 <!-- Spring 4 dependencies -->
313 <dependency>
314 <groupId>org.springframework</groupId>
315 <artifactId>spring-core</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200316 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200317 <scope>compile</scope>
318 </dependency>
319
320 <dependency>
321 <groupId>org.springframework</groupId>
322 <artifactId>spring-context</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>
Michael Landoed64b5e2017-06-09 03:19:04 +0300326
Michael Lando451a3402017-02-19 10:28:42 +0200327 <dependency>
328 <groupId>org.springframework</groupId>
329 <artifactId>spring-expression</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-beans</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300337 <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-aop</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200344 <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 <!-- Spring 4 dependencies end -->
349 <!-- JavaConfig need this library -->
350 <dependency>
351 <groupId>cglib</groupId>
352 <artifactId>cglib</artifactId>
353 <version>3.2.4</version>
354 <scope>compile</scope>
355 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300356
Michael Lando451a3402017-02-19 10:28:42 +0200357 <dependency>
358 <groupId>org.yaml</groupId>
359 <artifactId>snakeyaml</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300360 <version>${snakeyaml.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200361 <scope>compile</scope>
362 </dependency>
363
Michael Landoed64b5e2017-06-09 03:19:04 +0300364 <dependency>
365 <groupId>org.functionaljava</groupId>
366 <artifactId>functionaljava</artifactId>
367 <version>${functionaljava.version}</version>
368 <scope>compile</scope>
369 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200370
371 <dependency>
372 <groupId>org.elasticsearch</groupId>
373 <artifactId>elasticsearch</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200374 <version>${elastic-search.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200375 <scope>compile</scope>
376 </dependency>
377
378 <dependency>
379 <groupId>com.fasterxml.jackson.dataformat</groupId>
380 <artifactId>jackson-dataformat-yaml</artifactId>
381 <version>${jackson.version}</version>
382 <scope>compile</scope>
383 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300384
Michael Lando451a3402017-02-19 10:28:42 +0200385 <!-- CASSANDRA -->
386 <dependency>
387 <groupId>com.datastax.cassandra</groupId>
388 <artifactId>cassandra-driver-core</artifactId>
389 <version>${cassandra.driver.version}</version>
390 <scope>compile</scope>
391 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300392
Michael Lando451a3402017-02-19 10:28:42 +0200393 <dependency>
394 <groupId>com.datastax.cassandra</groupId>
395 <artifactId>cassandra-driver-mapping</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 <!-- CASSANDRA END -->
Michael Lando5b593492018-07-29 16:13:45 +0300401
Michael Landoa5445102018-03-04 14:53:33 +0200402 <!-- OPEN CSV -->
Michael Lando5b593492018-07-29 16:13:45 +0300403 <dependency>
404 <groupId>com.opencsv</groupId>
405 <artifactId>opencsv</artifactId>
406 <version>4.0</version>
407 <scope>compile</scope>
408 </dependency>
409
Michael Lando451a3402017-02-19 10:28:42 +0200410 <dependency>
411 <groupId>org.apache.poi</groupId>
412 <artifactId>com.springsource.org.apache.poi</artifactId>
413 <version>3.9.0.FINAL</version>
414 <scope>compile</scope>
415 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300416
Michael Lando451a3402017-02-19 10:28:42 +0200417 <dependency>
418 <groupId>org.jdom</groupId>
419 <artifactId>jdom</artifactId>
420 <version>2.0.2</version>
421 <scope>compile</scope>
422 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300423
Michael Lando5b593492018-07-29 16:13:45 +0300424 <!-- Temporary, till building the populate task which adding all components
Michael Landoed64b5e2017-06-09 03:19:04 +0300425 to cache. We will use Serialization Utils. -->
Michael Lando451a3402017-02-19 10:28:42 +0200426 <dependency>
427 <groupId>de.ruedigermoeller</groupId>
428 <artifactId>fst</artifactId>
429 <version>2.47</version>
430 <scope>compile</scope>
431 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200432
Michael Landoed64b5e2017-06-09 03:19:04 +0300433 <!-- testing -->
Parshad Patel8b8061e2019-03-18 16:02:43 +0900434 <dependency>
435 <groupId>org.hamcrest</groupId>
436 <artifactId>hamcrest-all</artifactId>
437 <version>${hamcrest-all.version}</version>
438 <scope>test</scope>
439 </dependency>
440
Michael Landoed64b5e2017-06-09 03:19:04 +0300441 <dependency>
442 <groupId>junit</groupId>
443 <artifactId>junit</artifactId>
444 <version>${junit.version}</version>
445 <scope>test</scope>
446 </dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300447
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200448 <dependency>
449 <groupId>org.testng</groupId>
450 <artifactId>testng</artifactId>
451 <version>${testng.version}</version>
452 <scope>test</scope>
453 </dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300454
455 <dependency>
456 <groupId>org.mockito</groupId>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200457 <artifactId>mockito-core</artifactId>
Michael Lando75aacbb2017-07-17 21:12:03 +0300458 <scope>test</scope>
459 </dependency>
Tal Gitelmane0199372018-09-18 11:57:53 +0300460
Michael Lando5b593492018-07-29 16:13:45 +0300461 <dependency>
462 <groupId>org.assertj</groupId>
463 <artifactId>assertj-core</artifactId>
464 <scope>test</scope>
465 </dependency>
466 <!-- testing end -->
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300467
468 <dependency>
469 <groupId>io.netty</groupId>
470 <artifactId>netty-all</artifactId>
471 </dependency>
472
473 <dependency>
474 <groupId>io.netty</groupId>
475 <artifactId>netty-handler</artifactId>
476 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300477 </dependencies>
478
479 <build>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200480 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
Michael Landoed64b5e2017-06-09 03:19:04 +0300481 <plugins>
Michael Lando9a6c8fc2018-06-11 13:26:35 +0300482 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300483 <groupId>org.apache.maven.plugins</groupId>
Michael Lando451a3402017-02-19 10:28:42 +0200484 <artifactId>maven-deploy-plugin</artifactId>
Michael Lando451a3402017-02-19 10:28:42 +0200485 <configuration>
486 <skip>true</skip>
487 </configuration>
488 </plugin>
489
490 <plugin>
491 <groupId>org.apache.maven.plugins</groupId>
492 <artifactId>maven-assembly-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200493 <executions>
Michael Lando451a3402017-02-19 10:28:42 +0200494 <execution>
495 <configuration>
Michael Landoed64b5e2017-06-09 03:19:04 +0300496 <finalName>sdctool</finalName>
Michael Lando451a3402017-02-19 10:28:42 +0200497 <appendAssemblyId>false</appendAssemblyId>
Michael Lando02ab6512018-04-05 23:32:27 +0300498 <descriptors>
499 <descriptor>${project.basedir}/tarball.xml</descriptor>
500 </descriptors>
Michael Lando451a3402017-02-19 10:28:42 +0200501 </configuration>
502 <id>assemble-file</id>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200503 <phase>verify</phase>
Michael Lando451a3402017-02-19 10:28:42 +0200504 <goals>
505 <goal>single</goal>
506 </goals>
507 </execution>
508 </executions>
509 </plugin>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200510 <plugin>
511 <groupId>org.apache.maven.plugins</groupId>
512 <artifactId>maven-shade-plugin</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300513 <executions>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200514 <execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200515 <phase>package</phase>
516 <goals>
517 <goal>shade</goal>
518 </goals>
519 <configuration>
520 <filters>
521 <filter>
522 <artifact>org.openecomp.sdc:*</artifact>
523 <excludes>
524 <exclude>**/elasticsearch.yml</exclude>
525 </excludes>
526 </filter>
527 <filter>
528 <artifact>*:*</artifact>
529 <excludes>
530 <exclude>META-INF/*.SF</exclude>
531 <exclude>META-INF/*.DSA</exclude>
532 <exclude>META-INF/*.RSA</exclude>
533 </excludes>
534 </filter>
535 </filters>
536 <transformers>
537 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
538 </transformers>
539 </configuration>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200540 </execution>
541 </executions>
542 </plugin>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200543 <plugin>
544 <groupId>ru.yaal.maven</groupId>
545 <artifactId>write-text-files-maven-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200546 <configuration>
547 <charset>UTF-8</charset>
548 <files>
549 <file>
550 <path>
Tal Gitelmanc4d387d2019-03-28 11:00:54 +0200551 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200552 </path>
553 <lines>
554 <line>normal['version'] ="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</line>
555 </lines>
556 </file>
557 </files>
558 </configuration>
559 <executions>
560 <execution>
561 <id>write-text-files</id>
562 <phase>prepare-package</phase>
563 <goals>
564 <goal>write-text-files</goal>
565 </goals>
566 </execution>
567 </executions>
568 </plugin>
569 <plugin>
570 <groupId>org.apache.maven.plugins</groupId>
571 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200572 <executions>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200573 <execution>
574 <id>copy-tosca-folder</id>
575 <!-- here the phase you need -->
576 <phase>compile</phase>
577 <goals>
578 <goal>copy-resources</goal>
579 </goals>
580 <configuration>
581 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
582 <resources>
583 <resource>
584 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
585 <filtering>true</filtering>
586 </resource>
587 </resources>
588 </configuration>
589 </execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200590 </executions>
591 </plugin>
dekstroza37843cb2018-05-18 14:42:24 +0100592 <plugin>
593 <groupId>com.github.sylvainlaurent.maven</groupId>
594 <artifactId>yaml-json-validator-maven-plugin</artifactId>
595 <executions>
596 <execution>
597 <id>validate</id>
598 <phase>validate</phase>
599 <goals>
600 <goal>validate</goal>
601 </goals>
602 <configuration>
603 <validationSets>
604 <validationSet>
605 <includes>
606 <include>src/main/resources/**/*.y*ml</include>
607 <include>src/test/resources/**/*.y*ml</include>
608 </includes>
609 </validationSet>
610 <validationSet>
611 <includes>
612 <include>src/main/resources/**/*.json</include>
613 <include>src/test/resources/**/*.json</include>
614 </includes>
k.kazak8d526072019-05-29 14:50:05 +0200615 <excludes>
616 <exclude>src/test/resources/graphError.json</exclude>
617 </excludes>
dekstroza37843cb2018-05-18 14:42:24 +0100618 </validationSet>
619 </validationSets>
620 </configuration>
621 </execution>
622 </executions>
623 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200624 </plugins>
625 </build>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200626 <profiles>
627 <profile>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200628 <id>docker</id>
629 <activation>
630 <activeByDefault>false</activeByDefault>
631 </activation>
632 <build>
633 <plugins>
634 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300635 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200636 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200637 <executions>
638 <execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200639 <id>copy-sdctool</id>
640 <phase>verify</phase>
641 <goals>
642 <goal>copy-resources</goal>
643 </goals>
644 <configuration>
645 <outputDirectory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</outputDirectory>
646 <resources>
647 <resource>
648 <directory>${project.parent.basedir}/asdctool/target</directory>
649 <includes>
650 <include>sdctool.tar</include>
651 </includes>
652 </resource>
653 </resources>
654 </configuration>
655 </execution>
656 </executions>
657 </plugin>
658 <plugin>
659 <groupId>io.fabric8</groupId>
660 <artifactId>docker-maven-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200661 <configuration>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200662 <apiVersion>1.23</apiVersion>
663 <registry>nexus3.onap.org:10001</registry>
664 <authConfig>
665 <pull>
666 <username>docker</username>
667 <password>docker</password>
668 </pull>
669 </authConfig>
670 <images>
671 <!-- Build cassandra-init image -->
672 <image>
673 <name>onap/sdc-cassandra-init</name>
674 <alias>sdc-cassandra-init</alias>
675 <build>
676 <cleanup>try</cleanup>
677 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
678 <tags>
679 <tag>${docker.tag}</tag>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200680 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
681 </tags>
682 </build>
683 </image>
684 </images>
685 </configuration>
686 <executions>
687 <execution>
688 <id>clean-images</id>
689 <phase>pre-clean</phase>
690 <goals>
691 <goal>remove</goal>
692 </goals>
693 <configuration>
694 <removeAll>true</removeAll>
695 <image>onap/sdc-cassandra-init</image>
696 </configuration>
697 </execution>
698
699 <execution>
700 <id>generate-images</id>
701 <phase>install</phase>
702 <goals>
703 <goal>build</goal>
704 </goals>
705 </execution>
706
707 <execution>
708 <id>push-images</id>
709 <phase>deploy</phase>
710 <goals>
711 <goal>push</goal>
712 </goals>
713 <configuration>
714 <image>onap/sdc-cassandra-init</image>
715 </configuration>
716 </execution>
717 </executions>
718 </plugin>
719 </plugins>
720 </build>
721 </profile>
722 </profiles>
k.kazak8d526072019-05-29 14:50:05 +0200723</project>