blob: d754deced70d07edf711a4c9a435eefe6c0d227f [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>
Piotr Darosza67f45c2019-06-13 12:56:13 +0200240 <exclusion>
241 <groupId>org.apache.thrift</groupId>
242 <artifactId>libthrift</artifactId>
243 </exclusion>
Michael Lando451a3402017-02-19 10:28:42 +0200244 </exclusions>
245 </dependency>
246
247 <dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300248 <groupId>com.googlecode.json-simple</groupId>
249 <artifactId>json-simple</artifactId>
250 <version>${json-simple.version}</version>
251 <scope>compile</scope>
252 </dependency>
253
254 <dependency>
shrikantawachar2623c842019-05-20 12:11:54 +0530255 <groupId>org.janusgraph</groupId>
256 <artifactId>janusgraph-cassandra</artifactId>
257 <version>${janusgraph.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200258 <scope>compile</scope>
Michael Landob3d48982017-06-11 14:22:02 +0300259 <exclusions>
260 <exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200261 <groupId>org.slf4j</groupId>
262 <artifactId>slf4j-log4j12</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300263 </exclusion>
264 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200265 </dependency>
266
267 <dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200268 <groupId>commons-logging</groupId>
269 <artifactId>commons-logging</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200270 <version>${commons-logging}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200271 <scope>compile</scope>
272 </dependency>
273
274 <dependency>
275 <groupId>commons-codec</groupId>
276 <artifactId>commons-codec</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200277 <version>${commons-codec}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200278 <scope>compile</scope>
279 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200280
281 <dependency>
282 <groupId>com.fasterxml.jackson.core</groupId>
283 <artifactId>jackson-databind</artifactId>
284 <version>${jackson.version}</version>
285 <scope>compile</scope>
286 </dependency>
287
Michael Lando5b593492018-07-29 16:13:45 +0300288 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
Michael Lando451a3402017-02-19 10:28:42 +0200289 <dependency>
290 <groupId>com.fasterxml.jackson.core</groupId>
291 <artifactId>jackson-annotations</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300292 <version>${jackson-annotations.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200293 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300294
Michael Lando451a3402017-02-19 10:28:42 +0200295 <dependency>
296 <groupId>com.google.code.gson</groupId>
297 <artifactId>gson</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300298 <version>${gson.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200299 <scope>compile</scope>
300 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300301
Michael Lando451a3402017-02-19 10:28:42 +0200302 <dependency>
303 <groupId>org.apache.httpcomponents</groupId>
304 <artifactId>httpclient</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200305 <version>${httpclient.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200306 <scope>compile</scope>
307 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300308
Michael Lando451a3402017-02-19 10:28:42 +0200309 <dependency>
310 <groupId>org.apache.httpcomponents</groupId>
311 <artifactId>httpcore</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200312 <version>${httpcore.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200313 <scope>compile</scope>
314 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300315
Michael Lando451a3402017-02-19 10:28:42 +0200316 <!-- Spring 4 dependencies -->
317 <dependency>
318 <groupId>org.springframework</groupId>
319 <artifactId>spring-core</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200320 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200321 <scope>compile</scope>
322 </dependency>
323
324 <dependency>
325 <groupId>org.springframework</groupId>
326 <artifactId>spring-context</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200327 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200328 <scope>compile</scope>
329 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300330
Michael Lando451a3402017-02-19 10:28:42 +0200331 <dependency>
332 <groupId>org.springframework</groupId>
333 <artifactId>spring-expression</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200334 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200335 <scope>compile</scope>
336 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300337
Michael Lando451a3402017-02-19 10:28:42 +0200338 <dependency>
339 <groupId>org.springframework</groupId>
340 <artifactId>spring-beans</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300341 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200342 <scope>compile</scope>
343 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300344
Michael Lando451a3402017-02-19 10:28:42 +0200345 <dependency>
346 <groupId>org.springframework</groupId>
347 <artifactId>spring-aop</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200348 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200349 <scope>compile</scope>
350 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300351
Michael Lando451a3402017-02-19 10:28:42 +0200352 <!-- Spring 4 dependencies end -->
353 <!-- JavaConfig need this library -->
354 <dependency>
355 <groupId>cglib</groupId>
356 <artifactId>cglib</artifactId>
357 <version>3.2.4</version>
358 <scope>compile</scope>
359 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300360
Michael Lando451a3402017-02-19 10:28:42 +0200361 <dependency>
362 <groupId>org.yaml</groupId>
363 <artifactId>snakeyaml</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300364 <version>${snakeyaml.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200365 <scope>compile</scope>
366 </dependency>
367
Michael Landoed64b5e2017-06-09 03:19:04 +0300368 <dependency>
369 <groupId>org.functionaljava</groupId>
370 <artifactId>functionaljava</artifactId>
371 <version>${functionaljava.version}</version>
372 <scope>compile</scope>
373 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200374
375 <dependency>
376 <groupId>org.elasticsearch</groupId>
377 <artifactId>elasticsearch</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200378 <version>${elastic-search.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200379 <scope>compile</scope>
380 </dependency>
381
382 <dependency>
383 <groupId>com.fasterxml.jackson.dataformat</groupId>
384 <artifactId>jackson-dataformat-yaml</artifactId>
385 <version>${jackson.version}</version>
386 <scope>compile</scope>
387 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300388
Michael Lando451a3402017-02-19 10:28:42 +0200389 <!-- CASSANDRA -->
390 <dependency>
391 <groupId>com.datastax.cassandra</groupId>
392 <artifactId>cassandra-driver-core</artifactId>
393 <version>${cassandra.driver.version}</version>
394 <scope>compile</scope>
395 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300396
Michael Lando451a3402017-02-19 10:28:42 +0200397 <dependency>
398 <groupId>com.datastax.cassandra</groupId>
399 <artifactId>cassandra-driver-mapping</artifactId>
400 <version>${cassandra.driver.version}</version>
401 <scope>compile</scope>
402 </dependency>
Piotr Darosza67f45c2019-06-13 12:56:13 +0200403 <dependency>
404 <groupId>org.apache.thrift</groupId>
405 <artifactId>libthrift</artifactId>
406 <version>${libthrift.version}</version>
407 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300408
Michael Lando451a3402017-02-19 10:28:42 +0200409 <!-- CASSANDRA END -->
Michael Lando5b593492018-07-29 16:13:45 +0300410
Michael Landoa5445102018-03-04 14:53:33 +0200411 <!-- OPEN CSV -->
Michael Lando5b593492018-07-29 16:13:45 +0300412 <dependency>
413 <groupId>com.opencsv</groupId>
414 <artifactId>opencsv</artifactId>
415 <version>4.0</version>
416 <scope>compile</scope>
417 </dependency>
418
Michael Lando451a3402017-02-19 10:28:42 +0200419 <dependency>
420 <groupId>org.apache.poi</groupId>
Tomasz Golabek47292bc2019-06-05 16:14:17 +0200421 <artifactId>poi</artifactId>
422 <version>${apache-poi.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200423 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300424
Michael Lando451a3402017-02-19 10:28:42 +0200425 <dependency>
426 <groupId>org.jdom</groupId>
427 <artifactId>jdom</artifactId>
428 <version>2.0.2</version>
429 <scope>compile</scope>
430 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300431
Michael Lando5b593492018-07-29 16:13:45 +0300432 <!-- Temporary, till building the populate task which adding all components
Michael Landoed64b5e2017-06-09 03:19:04 +0300433 to cache. We will use Serialization Utils. -->
Michael Lando451a3402017-02-19 10:28:42 +0200434 <dependency>
435 <groupId>de.ruedigermoeller</groupId>
436 <artifactId>fst</artifactId>
437 <version>2.47</version>
438 <scope>compile</scope>
439 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200440
Michael Landoed64b5e2017-06-09 03:19:04 +0300441 <!-- testing -->
Parshad Patel8b8061e2019-03-18 16:02:43 +0900442 <dependency>
443 <groupId>org.hamcrest</groupId>
444 <artifactId>hamcrest-all</artifactId>
445 <version>${hamcrest-all.version}</version>
446 <scope>test</scope>
447 </dependency>
448
Michael Landoed64b5e2017-06-09 03:19:04 +0300449 <dependency>
450 <groupId>junit</groupId>
451 <artifactId>junit</artifactId>
452 <version>${junit.version}</version>
453 <scope>test</scope>
454 </dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300455
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200456 <dependency>
457 <groupId>org.testng</groupId>
458 <artifactId>testng</artifactId>
459 <version>${testng.version}</version>
460 <scope>test</scope>
461 </dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300462
463 <dependency>
464 <groupId>org.mockito</groupId>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200465 <artifactId>mockito-core</artifactId>
Michael Lando75aacbb2017-07-17 21:12:03 +0300466 <scope>test</scope>
467 </dependency>
Tal Gitelmane0199372018-09-18 11:57:53 +0300468
Tomasz Golabekaa18a952019-06-07 09:28:23 +0200469 <dependency>
470 <groupId>org.assertj</groupId>
471 <artifactId>assertj-core</artifactId>
472 <scope>test</scope>
473 </dependency>
474
475 <dependency>
476 <groupId>com.github.stefanbirkner</groupId>
477 <artifactId>system-rules</artifactId>
478 <version>1.19.0</version>
479 <scope>test</scope>
480 </dependency>
481
482 <!-- testing end -->
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300483
484 <dependency>
485 <groupId>io.netty</groupId>
486 <artifactId>netty-all</artifactId>
487 </dependency>
488
489 <dependency>
490 <groupId>io.netty</groupId>
491 <artifactId>netty-handler</artifactId>
492 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300493 </dependencies>
494
495 <build>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200496 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
Michael Landoed64b5e2017-06-09 03:19:04 +0300497 <plugins>
Michael Lando9a6c8fc2018-06-11 13:26:35 +0300498 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300499 <groupId>org.apache.maven.plugins</groupId>
Michael Lando451a3402017-02-19 10:28:42 +0200500 <artifactId>maven-deploy-plugin</artifactId>
Michael Lando451a3402017-02-19 10:28:42 +0200501 <configuration>
502 <skip>true</skip>
503 </configuration>
504 </plugin>
505
506 <plugin>
507 <groupId>org.apache.maven.plugins</groupId>
508 <artifactId>maven-assembly-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200509 <executions>
Michael Lando451a3402017-02-19 10:28:42 +0200510 <execution>
511 <configuration>
Michael Landoed64b5e2017-06-09 03:19:04 +0300512 <finalName>sdctool</finalName>
Michael Lando451a3402017-02-19 10:28:42 +0200513 <appendAssemblyId>false</appendAssemblyId>
Michael Lando02ab6512018-04-05 23:32:27 +0300514 <descriptors>
515 <descriptor>${project.basedir}/tarball.xml</descriptor>
516 </descriptors>
Michael Lando451a3402017-02-19 10:28:42 +0200517 </configuration>
518 <id>assemble-file</id>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200519 <phase>verify</phase>
Michael Lando451a3402017-02-19 10:28:42 +0200520 <goals>
521 <goal>single</goal>
522 </goals>
523 </execution>
524 </executions>
525 </plugin>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200526 <plugin>
527 <groupId>org.apache.maven.plugins</groupId>
528 <artifactId>maven-shade-plugin</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300529 <executions>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200530 <execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200531 <phase>package</phase>
532 <goals>
533 <goal>shade</goal>
534 </goals>
535 <configuration>
536 <filters>
537 <filter>
538 <artifact>org.openecomp.sdc:*</artifact>
539 <excludes>
540 <exclude>**/elasticsearch.yml</exclude>
541 </excludes>
542 </filter>
543 <filter>
544 <artifact>*:*</artifact>
545 <excludes>
546 <exclude>META-INF/*.SF</exclude>
547 <exclude>META-INF/*.DSA</exclude>
548 <exclude>META-INF/*.RSA</exclude>
549 </excludes>
550 </filter>
551 </filters>
552 <transformers>
553 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
554 </transformers>
555 </configuration>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200556 </execution>
557 </executions>
558 </plugin>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200559 <plugin>
560 <groupId>ru.yaal.maven</groupId>
561 <artifactId>write-text-files-maven-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200562 <configuration>
563 <charset>UTF-8</charset>
564 <files>
565 <file>
566 <path>
Tal Gitelmanc4d387d2019-03-28 11:00:54 +0200567 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200568 </path>
569 <lines>
570 <line>normal['version'] ="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</line>
571 </lines>
572 </file>
573 </files>
574 </configuration>
575 <executions>
576 <execution>
577 <id>write-text-files</id>
578 <phase>prepare-package</phase>
579 <goals>
580 <goal>write-text-files</goal>
581 </goals>
582 </execution>
583 </executions>
584 </plugin>
585 <plugin>
586 <groupId>org.apache.maven.plugins</groupId>
587 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200588 <executions>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200589 <execution>
590 <id>copy-tosca-folder</id>
591 <!-- here the phase you need -->
592 <phase>compile</phase>
593 <goals>
594 <goal>copy-resources</goal>
595 </goals>
596 <configuration>
597 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
598 <resources>
599 <resource>
600 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
601 <filtering>true</filtering>
602 </resource>
603 </resources>
604 </configuration>
605 </execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200606 </executions>
607 </plugin>
dekstroza37843cb2018-05-18 14:42:24 +0100608 <plugin>
609 <groupId>com.github.sylvainlaurent.maven</groupId>
610 <artifactId>yaml-json-validator-maven-plugin</artifactId>
611 <executions>
612 <execution>
613 <id>validate</id>
614 <phase>validate</phase>
615 <goals>
616 <goal>validate</goal>
617 </goals>
618 <configuration>
619 <validationSets>
620 <validationSet>
621 <includes>
622 <include>src/main/resources/**/*.y*ml</include>
623 <include>src/test/resources/**/*.y*ml</include>
624 </includes>
625 </validationSet>
626 <validationSet>
627 <includes>
628 <include>src/main/resources/**/*.json</include>
629 <include>src/test/resources/**/*.json</include>
630 </includes>
k.kazak8d526072019-05-29 14:50:05 +0200631 <excludes>
632 <exclude>src/test/resources/graphError.json</exclude>
633 </excludes>
dekstroza37843cb2018-05-18 14:42:24 +0100634 </validationSet>
635 </validationSets>
636 </configuration>
637 </execution>
638 </executions>
639 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200640 </plugins>
641 </build>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200642 <profiles>
643 <profile>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200644 <id>docker</id>
645 <activation>
646 <activeByDefault>false</activeByDefault>
647 </activation>
648 <build>
649 <plugins>
650 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300651 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200652 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200653 <executions>
654 <execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200655 <id>copy-sdctool</id>
656 <phase>verify</phase>
657 <goals>
658 <goal>copy-resources</goal>
659 </goals>
660 <configuration>
661 <outputDirectory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</outputDirectory>
662 <resources>
663 <resource>
664 <directory>${project.parent.basedir}/asdctool/target</directory>
665 <includes>
666 <include>sdctool.tar</include>
667 </includes>
668 </resource>
669 </resources>
670 </configuration>
671 </execution>
672 </executions>
673 </plugin>
674 <plugin>
675 <groupId>io.fabric8</groupId>
676 <artifactId>docker-maven-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200677 <configuration>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200678 <apiVersion>1.23</apiVersion>
679 <registry>nexus3.onap.org:10001</registry>
680 <authConfig>
681 <pull>
682 <username>docker</username>
683 <password>docker</password>
684 </pull>
685 </authConfig>
686 <images>
687 <!-- Build cassandra-init image -->
688 <image>
689 <name>onap/sdc-cassandra-init</name>
690 <alias>sdc-cassandra-init</alias>
691 <build>
692 <cleanup>try</cleanup>
693 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
694 <tags>
695 <tag>${docker.tag}</tag>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200696 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
697 </tags>
698 </build>
699 </image>
700 </images>
701 </configuration>
702 <executions>
703 <execution>
704 <id>clean-images</id>
705 <phase>pre-clean</phase>
706 <goals>
707 <goal>remove</goal>
708 </goals>
709 <configuration>
710 <removeAll>true</removeAll>
711 <image>onap/sdc-cassandra-init</image>
712 </configuration>
713 </execution>
714
715 <execution>
716 <id>generate-images</id>
717 <phase>install</phase>
718 <goals>
719 <goal>build</goal>
720 </goals>
721 </execution>
722
723 <execution>
724 <id>push-images</id>
725 <phase>deploy</phase>
726 <goals>
727 <goal>push</goal>
728 </goals>
729 <configuration>
730 <image>onap/sdc-cassandra-init</image>
731 </configuration>
732 </execution>
733 </executions>
734 </plugin>
735 </plugins>
736 </build>
737 </profile>
738 </profiles>
k.kazak8d526072019-05-29 14:50:05 +0200739</project>