blob: 762d7491640d6ecfdecfa902c6aa7bcb05b658fa [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>
Tomasz Golabek47292bc2019-06-05 16:14:17 +0200412 <artifactId>poi</artifactId>
413 <version>${apache-poi.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200414 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300415
Michael Lando451a3402017-02-19 10:28:42 +0200416 <dependency>
417 <groupId>org.jdom</groupId>
418 <artifactId>jdom</artifactId>
419 <version>2.0.2</version>
420 <scope>compile</scope>
421 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300422
Michael Lando5b593492018-07-29 16:13:45 +0300423 <!-- Temporary, till building the populate task which adding all components
Michael Landoed64b5e2017-06-09 03:19:04 +0300424 to cache. We will use Serialization Utils. -->
Michael Lando451a3402017-02-19 10:28:42 +0200425 <dependency>
426 <groupId>de.ruedigermoeller</groupId>
427 <artifactId>fst</artifactId>
428 <version>2.47</version>
429 <scope>compile</scope>
430 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200431
Michael Landoed64b5e2017-06-09 03:19:04 +0300432 <!-- testing -->
Parshad Patel8b8061e2019-03-18 16:02:43 +0900433 <dependency>
434 <groupId>org.hamcrest</groupId>
435 <artifactId>hamcrest-all</artifactId>
436 <version>${hamcrest-all.version}</version>
437 <scope>test</scope>
438 </dependency>
439
Michael Landoed64b5e2017-06-09 03:19:04 +0300440 <dependency>
441 <groupId>junit</groupId>
442 <artifactId>junit</artifactId>
443 <version>${junit.version}</version>
444 <scope>test</scope>
445 </dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300446
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200447 <dependency>
448 <groupId>org.testng</groupId>
449 <artifactId>testng</artifactId>
450 <version>${testng.version}</version>
451 <scope>test</scope>
452 </dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300453
454 <dependency>
455 <groupId>org.mockito</groupId>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200456 <artifactId>mockito-core</artifactId>
Michael Lando75aacbb2017-07-17 21:12:03 +0300457 <scope>test</scope>
458 </dependency>
Tal Gitelmane0199372018-09-18 11:57:53 +0300459
Michael Lando5b593492018-07-29 16:13:45 +0300460 <dependency>
461 <groupId>org.assertj</groupId>
462 <artifactId>assertj-core</artifactId>
463 <scope>test</scope>
464 </dependency>
465 <!-- testing end -->
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300466
467 <dependency>
468 <groupId>io.netty</groupId>
469 <artifactId>netty-all</artifactId>
470 </dependency>
471
472 <dependency>
473 <groupId>io.netty</groupId>
474 <artifactId>netty-handler</artifactId>
475 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300476 </dependencies>
477
478 <build>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200479 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
Michael Landoed64b5e2017-06-09 03:19:04 +0300480 <plugins>
Michael Lando9a6c8fc2018-06-11 13:26:35 +0300481 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300482 <groupId>org.apache.maven.plugins</groupId>
Michael Lando451a3402017-02-19 10:28:42 +0200483 <artifactId>maven-deploy-plugin</artifactId>
Michael Lando451a3402017-02-19 10:28:42 +0200484 <configuration>
485 <skip>true</skip>
486 </configuration>
487 </plugin>
488
489 <plugin>
490 <groupId>org.apache.maven.plugins</groupId>
491 <artifactId>maven-assembly-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200492 <executions>
Michael Lando451a3402017-02-19 10:28:42 +0200493 <execution>
494 <configuration>
Michael Landoed64b5e2017-06-09 03:19:04 +0300495 <finalName>sdctool</finalName>
Michael Lando451a3402017-02-19 10:28:42 +0200496 <appendAssemblyId>false</appendAssemblyId>
Michael Lando02ab6512018-04-05 23:32:27 +0300497 <descriptors>
498 <descriptor>${project.basedir}/tarball.xml</descriptor>
499 </descriptors>
Michael Lando451a3402017-02-19 10:28:42 +0200500 </configuration>
501 <id>assemble-file</id>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200502 <phase>verify</phase>
Michael Lando451a3402017-02-19 10:28:42 +0200503 <goals>
504 <goal>single</goal>
505 </goals>
506 </execution>
507 </executions>
508 </plugin>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200509 <plugin>
510 <groupId>org.apache.maven.plugins</groupId>
511 <artifactId>maven-shade-plugin</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300512 <executions>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200513 <execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200514 <phase>package</phase>
515 <goals>
516 <goal>shade</goal>
517 </goals>
518 <configuration>
519 <filters>
520 <filter>
521 <artifact>org.openecomp.sdc:*</artifact>
522 <excludes>
523 <exclude>**/elasticsearch.yml</exclude>
524 </excludes>
525 </filter>
526 <filter>
527 <artifact>*:*</artifact>
528 <excludes>
529 <exclude>META-INF/*.SF</exclude>
530 <exclude>META-INF/*.DSA</exclude>
531 <exclude>META-INF/*.RSA</exclude>
532 </excludes>
533 </filter>
534 </filters>
535 <transformers>
536 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
537 </transformers>
538 </configuration>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200539 </execution>
540 </executions>
541 </plugin>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200542 <plugin>
543 <groupId>ru.yaal.maven</groupId>
544 <artifactId>write-text-files-maven-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200545 <configuration>
546 <charset>UTF-8</charset>
547 <files>
548 <file>
549 <path>
Tal Gitelmanc4d387d2019-03-28 11:00:54 +0200550 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200551 </path>
552 <lines>
553 <line>normal['version'] ="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</line>
554 </lines>
555 </file>
556 </files>
557 </configuration>
558 <executions>
559 <execution>
560 <id>write-text-files</id>
561 <phase>prepare-package</phase>
562 <goals>
563 <goal>write-text-files</goal>
564 </goals>
565 </execution>
566 </executions>
567 </plugin>
568 <plugin>
569 <groupId>org.apache.maven.plugins</groupId>
570 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200571 <executions>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200572 <execution>
573 <id>copy-tosca-folder</id>
574 <!-- here the phase you need -->
575 <phase>compile</phase>
576 <goals>
577 <goal>copy-resources</goal>
578 </goals>
579 <configuration>
580 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
581 <resources>
582 <resource>
583 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
584 <filtering>true</filtering>
585 </resource>
586 </resources>
587 </configuration>
588 </execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200589 </executions>
590 </plugin>
dekstroza37843cb2018-05-18 14:42:24 +0100591 <plugin>
592 <groupId>com.github.sylvainlaurent.maven</groupId>
593 <artifactId>yaml-json-validator-maven-plugin</artifactId>
594 <executions>
595 <execution>
596 <id>validate</id>
597 <phase>validate</phase>
598 <goals>
599 <goal>validate</goal>
600 </goals>
601 <configuration>
602 <validationSets>
603 <validationSet>
604 <includes>
605 <include>src/main/resources/**/*.y*ml</include>
606 <include>src/test/resources/**/*.y*ml</include>
607 </includes>
608 </validationSet>
609 <validationSet>
610 <includes>
611 <include>src/main/resources/**/*.json</include>
612 <include>src/test/resources/**/*.json</include>
613 </includes>
k.kazak8d526072019-05-29 14:50:05 +0200614 <excludes>
615 <exclude>src/test/resources/graphError.json</exclude>
616 </excludes>
dekstroza37843cb2018-05-18 14:42:24 +0100617 </validationSet>
618 </validationSets>
619 </configuration>
620 </execution>
621 </executions>
622 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200623 </plugins>
624 </build>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200625 <profiles>
626 <profile>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200627 <id>docker</id>
628 <activation>
629 <activeByDefault>false</activeByDefault>
630 </activation>
631 <build>
632 <plugins>
633 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300634 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200635 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200636 <executions>
637 <execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200638 <id>copy-sdctool</id>
639 <phase>verify</phase>
640 <goals>
641 <goal>copy-resources</goal>
642 </goals>
643 <configuration>
644 <outputDirectory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</outputDirectory>
645 <resources>
646 <resource>
647 <directory>${project.parent.basedir}/asdctool/target</directory>
648 <includes>
649 <include>sdctool.tar</include>
650 </includes>
651 </resource>
652 </resources>
653 </configuration>
654 </execution>
655 </executions>
656 </plugin>
657 <plugin>
658 <groupId>io.fabric8</groupId>
659 <artifactId>docker-maven-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200660 <configuration>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200661 <apiVersion>1.23</apiVersion>
662 <registry>nexus3.onap.org:10001</registry>
663 <authConfig>
664 <pull>
665 <username>docker</username>
666 <password>docker</password>
667 </pull>
668 </authConfig>
669 <images>
670 <!-- Build cassandra-init image -->
671 <image>
672 <name>onap/sdc-cassandra-init</name>
673 <alias>sdc-cassandra-init</alias>
674 <build>
675 <cleanup>try</cleanup>
676 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
677 <tags>
678 <tag>${docker.tag}</tag>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200679 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
680 </tags>
681 </build>
682 </image>
683 </images>
684 </configuration>
685 <executions>
686 <execution>
687 <id>clean-images</id>
688 <phase>pre-clean</phase>
689 <goals>
690 <goal>remove</goal>
691 </goals>
692 <configuration>
693 <removeAll>true</removeAll>
694 <image>onap/sdc-cassandra-init</image>
695 </configuration>
696 </execution>
697
698 <execution>
699 <id>generate-images</id>
700 <phase>install</phase>
701 <goals>
702 <goal>build</goal>
703 </goals>
704 </execution>
705
706 <execution>
707 <id>push-images</id>
708 <phase>deploy</phase>
709 <goals>
710 <goal>push</goal>
711 </goals>
712 <configuration>
713 <image>onap/sdc-cassandra-init</image>
714 </configuration>
715 </execution>
716 </executions>
717 </plugin>
718 </plugins>
719 </build>
720 </profile>
721 </profiles>
k.kazak8d526072019-05-29 14:50:05 +0200722</project>