blob: f01f7556517d86ed6753bb69cb114fe541469fb3 [file] [log] [blame]
ys969316a9fce2020-01-19 13:50:02 +02001<project xmlns="http://maven.apache.org/POM/4.0.0"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
Michael Lando451a3402017-02-19 10:28:42 +02005
ys969316a9fce2020-01-19 13:50:02 +02006 <artifactId>asdctool</artifactId>
7 <packaging>jar</packaging>
Michael Lando451a3402017-02-19 10:28:42 +02008
ys969316a9fce2020-01-19 13:50:02 +02009 <parent>
10 <groupId>org.openecomp.sdc</groupId>
11 <artifactId>sdc-main</artifactId>
MichaelMorris56446132023-07-14 18:59:57 +010012 <version>1.13.3-SNAPSHOT</version>
ys969316a9fce2020-01-19 13:50:02 +020013 </parent>
Michael Lando451a3402017-02-19 10:28:42 +020014
vasrazdffdf562023-05-18 16:13:52 +010015 <properties>
16 <apache-poi.version>5.2.3</apache-poi.version>
17 </properties>
18
ys969316a9fce2020-01-19 13:50:02 +020019 <dependencies>
Tomasz Golabekaa18a952019-06-07 09:28:23 +020020 <dependency>
ys969316a9fce2020-01-19 13:50:02 +020021 <groupId>com.google.guava</groupId>
22 <artifactId>guava</artifactId>
23 <version>${guava.version}</version>
24 <scope>compile</scope>
25 </dependency>
Tomasz Golabekaa18a952019-06-07 09:28:23 +020026
ys969316a9fce2020-01-19 13:50:02 +020027 <!-- ASDC dependencies -->
28 <dependency>
29 <groupId>org.openecomp.sdc.be</groupId>
30 <artifactId>common-be</artifactId>
31 <version>${project.version}</version>
32 <scope>compile</scope>
vasraz8dbc7322021-06-26 14:23:12 +010033 <exclusions>
34 <exclusion>
35 <groupId>org.springframework</groupId>
36 <artifactId>spring-core</artifactId>
37 </exclusion>
38 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +020039 </dependency>
40 <dependency>
41 <groupId>org.openecomp.sdc</groupId>
42 <artifactId>common-app-api</artifactId>
43 <version>${project.version}</version>
44 <scope>compile</scope>
vasraz987fc742021-11-29 17:42:02 +000045 <exclusions>
46 <exclusion>
47 <groupId>org.apache.httpcomponents</groupId>
48 <artifactId>httpcore</artifactId>
49 </exclusion>
vasraze4055452022-07-13 23:11:18 +010050 <exclusion>
51 <groupId>org.functionaljava</groupId>
52 <artifactId>functionaljava</artifactId>
53 </exclusion>
vasraz987fc742021-11-29 17:42:02 +000054 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +020055 </dependency>
vasrazca685bb2020-06-11 17:05:29 +010056 <dependency>
57 <groupId>com.fasterxml.jackson.core</groupId>
58 <artifactId>jackson-core</artifactId>
59 <version>${jackson.version}</version>
60 </dependency>
Tomasz Golabek5c55e232019-08-22 15:03:50 +020061
ys969316a9fce2020-01-19 13:50:02 +020062 <dependency>
63 <groupId>org.openecomp.sdc.be</groupId>
64 <artifactId>catalog-dao</artifactId>
65 <version>${project.version}</version>
vasrazca685bb2020-06-11 17:05:29 +010066 <exclusions>
67 <exclusion>
68 <groupId>com.fasterxml.jackson.core</groupId>
69 <artifactId>jackson-core</artifactId>
70 </exclusion>
71 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +020072 </dependency>
Tomasz Golabekaa18a952019-06-07 09:28:23 +020073
ys969316a9fce2020-01-19 13:50:02 +020074 <dependency>
75 <groupId>org.openecomp.sdc.be</groupId>
76 <artifactId>catalog-model</artifactId>
77 <version>${project.version}</version>
vasrazca685bb2020-06-11 17:05:29 +010078 <exclusions>
79 <exclusion>
80 <groupId>com.fasterxml.jackson.core</groupId>
81 <artifactId>jackson-core</artifactId>
82 </exclusion>
83 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +020084 </dependency>
Yuli Shlosberg79e36272018-10-02 14:45:26 +030085
Yuli Shlosberg79e36272018-10-02 14:45:26 +030086
ys969316a9fce2020-01-19 13:50:02 +020087 <dependency>
88 <groupId>org.openecomp.sdc</groupId>
89 <artifactId>catalog-be</artifactId>
90 <version>${project.version}</version>
Michael Landoed64b5e2017-06-09 03:19:04 +030091
ys969316a9fce2020-01-19 13:50:02 +020092 <!-- Comment Out in order to debug in eclipse -->
93 <classifier>classes</classifier>
Michael Lando451a3402017-02-19 10:28:42 +020094
ys969316a9fce2020-01-19 13:50:02 +020095 <exclusions>
96 <exclusion>
vasrazca685bb2020-06-11 17:05:29 +010097 <groupId>com.fasterxml.jackson.core</groupId>
98 <artifactId>jackson-core</artifactId>
99 </exclusion>
100 <exclusion>
vasraz086406a2021-02-22 09:50:07 +0000101 <groupId>org.eclipse.jetty</groupId>
102 <artifactId>jetty-http</artifactId>
103 </exclusion>
104 <exclusion>
vasrazc81c95b2021-05-31 23:08:39 +0100105 <groupId>org.eclipse.jetty</groupId>
106 <artifactId>jetty-servlets</artifactId>
107 </exclusion>
108 <exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200109 <groupId>org.openecomp.ecompsdkos</groupId>
110 <artifactId>epsdk-fw</artifactId>
111 </exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200112
ys969316a9fce2020-01-19 13:50:02 +0200113 <exclusion>
114 <groupId>org.onap.sdc.common</groupId>
115 <artifactId>onap-common-lib</artifactId>
116 </exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200117
ys969316a9fce2020-01-19 13:50:02 +0200118 <exclusion>
119 <groupId>com.att.nsa</groupId>
120 <artifactId>cambriaClient</artifactId>
121 </exclusion>
122 <exclusion>
123 <groupId>com.att.nsa</groupId>
124 <artifactId>dmaapClient</artifactId>
125 </exclusion>
126 <exclusion>
127 <artifactId>slf4j-log4j12</artifactId>
128 <groupId>org.slf4j</groupId>
129 </exclusion>
vasraz8dbc7322021-06-26 14:23:12 +0100130 <exclusion>
131 <groupId>org.springframework</groupId>
132 <artifactId>spring-web</artifactId>
133 </exclusion>
134 <exclusion>
135 <groupId>org.springframework</groupId>
136 <artifactId>spring-webmvc</artifactId>
137 </exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200138
139 </exclusions>
140
141 <scope>compile</scope>
142 </dependency>
143
144 <dependency>
145 <groupId>org.onap.portal.sdk</groupId>
146 <artifactId>epsdk-fw</artifactId>
147 <version>${ecomp.version}</version>
148 <scope>compile</scope>
149 <exclusions>
150 <exclusion>
151 <groupId>com.att.nsa</groupId>
152 <artifactId>cambriaClient</artifactId>
153 </exclusion>
154 <exclusion>
155 <groupId>com.att.nsa</groupId>
156 <artifactId>dmaapClient</artifactId>
157 </exclusion>
158 <exclusion>
159 <artifactId>slf4j-log4j12</artifactId>
160 <groupId>org.slf4j</groupId>
161 </exclusion>
sebdeta9fffd22020-10-08 13:28:36 +0200162 <exclusion>
163 <artifactId>log4j</artifactId>
164 <groupId>log4j</groupId>
165 </exclusion>
vasraz99ac5dc2023-03-06 15:56:57 +0000166 <exclusion>
167 <groupId>javax.servlet</groupId>
168 <artifactId>javax.servlet-api</artifactId>
169 </exclusion>
vasrazdfe98bd2023-07-05 22:22:43 +0100170 <exclusion>
171 <groupId>org.onap.aaf.authz</groupId>
172 <artifactId>aaf-cadi-aaf</artifactId>
173 </exclusion>
174 <exclusion>
175 <groupId>org.onap.aaf.authz</groupId>
176 <artifactId>aaf-cadi-client</artifactId>
177 </exclusion>
178 <exclusion>
179 <groupId>org.onap.aaf.authz</groupId>
180 <artifactId>aaf-cadi-core</artifactId>
181 </exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200182 </exclusions>
183 </dependency>
184
ys969316a9fce2020-01-19 13:50:02 +0200185 <!-- ASDC dependencies end -->
186 <dependency>
187 <groupId>org.eclipse.jetty</groupId>
188 <artifactId>jetty-server</artifactId>
189 <version>${jetty.version}</version>
190 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000191 <exclusions>
192 <exclusion>
193 <groupId>org.eclipse.jetty</groupId>
194 <artifactId>jetty-http</artifactId>
195 </exclusion>
vasraz99ac5dc2023-03-06 15:56:57 +0000196 <exclusion>
197 <groupId>javax.servlet</groupId>
198 <artifactId>javax.servlet-api</artifactId>
199 </exclusion>
vasraz086406a2021-02-22 09:50:07 +0000200 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200201 </dependency>
202
203 <dependency>
204 <groupId>org.eclipse.jetty</groupId>
205 <artifactId>jetty-util</artifactId>
206 <version>${jetty.version}</version>
207 <scope>compile</scope>
208 </dependency>
209
ys969316a9fce2020-01-19 13:50:02 +0200210 <dependency>
211 <groupId>commons-cli</groupId>
212 <artifactId>commons-cli</artifactId>
213 <version>1.4</version>
214 </dependency>
215
216 <dependency>
217 <groupId>org.eclipse.jetty</groupId>
218 <artifactId>jetty-servlet</artifactId>
219 <version>${jetty.version}</version>
220 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000221 <exclusions>
222 <exclusion>
223 <groupId>org.eclipse.jetty</groupId>
vasrazc81c95b2021-05-31 23:08:39 +0100224 <artifactId>jetty-security</artifactId>
225 </exclusion>
vasraz086406a2021-02-22 09:50:07 +0000226 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200227 </dependency>
228
229 <dependency>
230 <groupId>org.glassfish.jersey.core</groupId>
231 <artifactId>jersey-server</artifactId>
232 <version>${jersey-bom.version}</version>
233 <scope>compile</scope>
234 </dependency>
235
236 <dependency>
237 <groupId>org.glassfish.jersey.containers</groupId>
238 <artifactId>jersey-container-servlet-core</artifactId>
239 <version>${jersey-bom.version}</version>
240 <scope>compile</scope>
241 </dependency>
242
243 <dependency>
244 <groupId>org.glassfish.jersey.containers</groupId>
245 <artifactId>jersey-container-jetty-http</artifactId>
246 <version>${jersey-bom.version}</version>
247 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000248 <exclusions>
249 <exclusion>
250 <groupId>org.eclipse.jetty</groupId>
251 <artifactId>jetty-continuation</artifactId>
252 </exclusion>
253 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200254 </dependency>
255
256 <dependency>
257 <groupId>org.glassfish.jersey.media</groupId>
258 <artifactId>jersey-media-moxy</artifactId>
259 <version>${jersey-bom.version}</version>
260 <scope>compile</scope>
261 </dependency>
262
263 <dependency>
264 <groupId>org.glassfish.jersey.media</groupId>
265 <artifactId>jersey-media-multipart</artifactId>
266 <version>${jersey-bom.version}</version>
267 <scope>compile</scope>
268 </dependency>
269
vasrazdffdf562023-05-18 16:13:52 +0100270 <!-- logback -->
ys969316a9fce2020-01-19 13:50:02 +0200271 <dependency>
272 <groupId>ch.qos.logback</groupId>
273 <artifactId>logback-classic</artifactId>
274 <version>${logback.version}</version>
275 <scope>compile</scope>
276 </dependency>
277
278 <dependency>
279 <groupId>ch.qos.logback</groupId>
280 <artifactId>logback-core</artifactId>
281 <version>${logback.version}</version>
282 <scope>compile</scope>
283 </dependency>
284
285 <!-- groovy -->
286 <dependency>
vasrazdfe98bd2023-07-05 22:22:43 +0100287 <groupId>org.apache.groovy</groupId>
ys969316a9fce2020-01-19 13:50:02 +0200288 <artifactId>groovy</artifactId>
vasrazdfe98bd2023-07-05 22:22:43 +0100289 <version>${groovy.version}</version>
ys969316a9fce2020-01-19 13:50:02 +0200290 </dependency>
291
292 <dependency>
293 <groupId>org.apache.commons</groupId>
294 <artifactId>commons-configuration2</artifactId>
295 <version>${commons-configuration}</version>
296 </dependency>
297
298 <dependency>
299 <groupId>org.janusgraph</groupId>
300 <artifactId>janusgraph-core</artifactId>
301 <version>${janusgraph.version}</version>
302 <scope>compile</scope>
303 <exclusions>
304 <exclusion>
vasraz086406a2021-02-22 09:50:07 +0000305 <groupId>org.apache.tinkerpop</groupId>
vasraz9aef1232022-08-20 18:12:07 +0100306 <artifactId>gremlin-groovy</artifactId>
307 </exclusion>
308 <exclusion>
309 <groupId>org.apache.tinkerpop</groupId>
310 <artifactId>gremlin-core</artifactId>
vasraz086406a2021-02-22 09:50:07 +0000311 </exclusion>
312 <exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200313 <groupId>org.json</groupId>
314 <artifactId>json</artifactId>
315 </exclusion>
316 <exclusion>
317 <groupId>org.slf4j</groupId>
318 <artifactId>slf4j-log4j12</artifactId>
319 </exclusion>
320 <exclusion>
321 <artifactId>commons-collections</artifactId>
322 <groupId>commons-collections</groupId>
323 </exclusion>
324 <exclusion>
325 <artifactId>groovy</artifactId>
326 <groupId>org.codehaus.groovy</groupId>
327 </exclusion>
328 <exclusion>
329 <groupId>org.apache.thrift</groupId>
330 <artifactId>libthrift</artifactId>
331 </exclusion>
vasrazb7ea3ef2021-05-12 13:56:51 +0100332 <exclusion>
333 <groupId>commons-io</groupId>
334 <artifactId>commons-io</artifactId>
335 </exclusion>
vasraz66af7c52021-07-20 23:22:45 +0100336 <exclusion>
337 <groupId>commons-codec</groupId>
338 <artifactId>commons-codec</artifactId>
339 </exclusion>
vasrazb65fcbf2021-07-26 15:01:06 +0100340 <exclusion>
341 <groupId>dom4j</groupId>
342 <artifactId>dom4j</artifactId>
343 </exclusion>
vasraz987fc742021-11-29 17:42:02 +0000344 <exclusion>
345 <groupId>org.slf4j</groupId>
346 <artifactId>jcl-over-slf4j</artifactId>
347 </exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200348 </exclusions>
349 </dependency>
350
351 <dependency>
vasrazb65fcbf2021-07-26 15:01:06 +0100352 <groupId>org.dom4j</groupId>
353 <artifactId>dom4j</artifactId>
354 <version>${org.dom4j.version}</version>
355 </dependency>
356
357 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200358 <groupId>com.googlecode.json-simple</groupId>
359 <artifactId>json-simple</artifactId>
360 <version>${json-simple.version}</version>
361 <scope>compile</scope>
vasrazdfe98bd2023-07-05 22:22:43 +0100362 <exclusions>
363 <exclusion>
364 <groupId>junit</groupId>
365 <artifactId>junit</artifactId>
366 </exclusion>
367 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200368 </dependency>
369
370 <dependency>
371 <groupId>org.janusgraph</groupId>
372 <artifactId>janusgraph-cassandra</artifactId>
373 <version>${janusgraph.version}</version>
374 <scope>compile</scope>
375 <exclusions>
376 <exclusion>
vasrazdffdf562023-05-18 16:13:52 +0100377 <groupId>joda-time</groupId>
378 <artifactId>joda-time</artifactId>
379 </exclusion>
380 <exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200381 <groupId>org.slf4j</groupId>
382 <artifactId>slf4j-log4j12</artifactId>
383 </exclusion>
vasrazc81c95b2021-05-31 23:08:39 +0100384 <exclusion>
385 <groupId>org.apache.thrift</groupId>
386 <artifactId>libthrift</artifactId>
387 </exclusion>
388 <exclusion>
389 <groupId>org.codehaus.jackson</groupId>
390 <artifactId>jackson-mapper-asl</artifactId>
391 </exclusion>
vasraz66af7c52021-07-20 23:22:45 +0100392 <exclusion>
393 <groupId>org.hibernate</groupId>
394 <artifactId>hibernate-validator</artifactId>
395 </exclusion>
vasrazb65fcbf2021-07-26 15:01:06 +0100396 <exclusion>
397 <groupId>org.apache.cassandra</groupId>
398 <artifactId>cassandra-all</artifactId>
399 </exclusion>
vasrazdfe98bd2023-07-05 22:22:43 +0100400 <exclusion>
401 <groupId>javax.validation</groupId>
402 <artifactId>validation-api</artifactId>
403 </exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200404 </exclusions>
405 </dependency>
406
407 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200408 <groupId>commons-codec</groupId>
409 <artifactId>commons-codec</artifactId>
410 <version>${commons-codec}</version>
411 <scope>compile</scope>
412 </dependency>
413
414 <dependency>
415 <groupId>com.fasterxml.jackson.core</groupId>
416 <artifactId>jackson-databind</artifactId>
417 <version>${jackson.version}</version>
vasrazca685bb2020-06-11 17:05:29 +0100418 <exclusions>
419 <exclusion>
420 <groupId>com.fasterxml.jackson.core</groupId>
421 <artifactId>jackson-core</artifactId>
422 </exclusion>
423 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200424 </dependency>
425
426 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
427 <dependency>
428 <groupId>com.fasterxml.jackson.core</groupId>
429 <artifactId>jackson-annotations</artifactId>
430 <version>${jackson-annotations.version}</version>
431 </dependency>
432
433 <dependency>
434 <groupId>com.google.code.gson</groupId>
435 <artifactId>gson</artifactId>
436 <version>${gson.version}</version>
437 <scope>compile</scope>
438 </dependency>
439
440 <dependency>
vasrazdfe98bd2023-07-05 22:22:43 +0100441 <groupId>org.apache.httpcomponents.client5</groupId>
442 <artifactId>httpclient5</artifactId>
ys969316a9fce2020-01-19 13:50:02 +0200443 <version>${httpclient.version}</version>
444 <scope>compile</scope>
vasraz987fc742021-11-29 17:42:02 +0000445 <exclusions>
446 <exclusion>
447 <groupId>org.apache.httpcomponents</groupId>
448 <artifactId>httpcore</artifactId>
449 </exclusion>
450 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200451 </dependency>
452
453 <dependency>
454 <groupId>org.apache.httpcomponents</groupId>
455 <artifactId>httpcore</artifactId>
456 <version>${httpcore.version}</version>
457 <scope>compile</scope>
458 </dependency>
459
460 <!-- Spring 4 dependencies -->
461 <dependency>
462 <groupId>org.springframework</groupId>
463 <artifactId>spring-core</artifactId>
464 <version>${spring.version}</version>
465 <scope>compile</scope>
466 </dependency>
467
468 <dependency>
469 <groupId>org.springframework</groupId>
470 <artifactId>spring-context</artifactId>
471 <version>${spring.version}</version>
472 <scope>compile</scope>
vasraz8dbc7322021-06-26 14:23:12 +0100473 <exclusions>
474 <exclusion>
475 <groupId>org.springframework</groupId>
476 <artifactId>spring-expression</artifactId>
477 </exclusion>
478 <exclusion>
479 <groupId>org.springframework</groupId>
480 <artifactId>spring-core</artifactId>
481 </exclusion>
482 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200483 </dependency>
484
485 <dependency>
486 <groupId>org.springframework</groupId>
487 <artifactId>spring-expression</artifactId>
488 <version>${spring.version}</version>
489 <scope>compile</scope>
490 </dependency>
491
492 <dependency>
493 <groupId>org.springframework</groupId>
494 <artifactId>spring-beans</artifactId>
495 <version>${spring.version}</version>
496 <scope>compile</scope>
497 </dependency>
498
499 <dependency>
500 <groupId>org.springframework</groupId>
501 <artifactId>spring-aop</artifactId>
502 <version>${spring.version}</version>
503 <scope>compile</scope>
vasraz8dbc7322021-06-26 14:23:12 +0100504 <exclusions>
505 <exclusion>
506 <groupId>org.springframework</groupId>
507 <artifactId>spring-core</artifactId>
508 </exclusion>
509 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200510 </dependency>
511
512 <!-- Spring 4 dependencies end -->
513 <!-- JavaConfig need this library -->
514 <dependency>
515 <groupId>cglib</groupId>
516 <artifactId>cglib</artifactId>
517 <version>3.2.4</version>
518 <scope>compile</scope>
519 </dependency>
520
521 <dependency>
522 <groupId>org.yaml</groupId>
523 <artifactId>snakeyaml</artifactId>
524 <version>${snakeyaml.version}</version>
525 <scope>compile</scope>
526 </dependency>
527
528 <dependency>
529 <groupId>org.functionaljava</groupId>
530 <artifactId>functionaljava</artifactId>
531 <version>${functionaljava.version}</version>
532 <scope>compile</scope>
533 </dependency>
534
535 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200536 <groupId>com.fasterxml.jackson.dataformat</groupId>
537 <artifactId>jackson-dataformat-yaml</artifactId>
538 <version>${jackson.version}</version>
vasrazca685bb2020-06-11 17:05:29 +0100539 <exclusions>
540 <exclusion>
541 <groupId>com.fasterxml.jackson.core</groupId>
542 <artifactId>jackson-core</artifactId>
543 </exclusion>
544 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200545 </dependency>
546
547 <!-- CASSANDRA -->
548 <dependency>
549 <groupId>com.datastax.cassandra</groupId>
550 <artifactId>cassandra-driver-core</artifactId>
551 <version>${cassandra.driver.version}</version>
552 <scope>compile</scope>
vasraz59d0b402022-08-16 10:11:06 +0100553 <exclusions>
554 <exclusion>
555 <groupId>com.github.jnr</groupId>
556 <artifactId>jnr-posix</artifactId>
557 </exclusion>
558 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200559 </dependency>
560
561 <dependency>
562 <groupId>com.datastax.cassandra</groupId>
563 <artifactId>cassandra-driver-mapping</artifactId>
564 <version>${cassandra.driver.version}</version>
565 <scope>compile</scope>
566 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200567
568 <!-- CASSANDRA END -->
569
570 <!-- OPEN CSV -->
571 <dependency>
572 <groupId>com.opencsv</groupId>
573 <artifactId>opencsv</artifactId>
574 <version>4.0</version>
575 <scope>compile</scope>
576 </dependency>
577
578 <dependency>
579 <groupId>org.apache.poi</groupId>
580 <artifactId>poi</artifactId>
581 <version>${apache-poi.version}</version>
582 </dependency>
583
ys969316a9fce2020-01-19 13:50:02 +0200584 <!-- Temporary, till building the populate task which adding all components
585 to cache. We will use Serialization Utils. -->
586 <dependency>
587 <groupId>de.ruedigermoeller</groupId>
588 <artifactId>fst</artifactId>
589 <version>2.47</version>
vasrazca685bb2020-06-11 17:05:29 +0100590 <exclusions>
591 <exclusion>
592 <groupId>com.fasterxml.jackson.core</groupId>
593 <artifactId>jackson-core</artifactId>
594 </exclusion>
595 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200596 </dependency>
597
598 <!-- testing -->
599 <dependency>
600 <groupId>org.hamcrest</groupId>
601 <artifactId>hamcrest-all</artifactId>
602 <version>${hamcrest-all.version}</version>
603 <scope>test</scope>
604 </dependency>
605
606 <dependency>
Baumel, Dvir (db384r)3e879322020-03-23 16:21:05 +0200607 <groupId>org.junit.jupiter</groupId>
608 <artifactId>junit-jupiter</artifactId>
609 <version>${junitJupiter.version}</version>
610 <scope>test</scope>
611 </dependency>
612
613 <dependency>
614 <groupId>org.mockito</groupId>
615 <artifactId>mockito-junit-jupiter</artifactId>
616 <version>${mockitoJupiter.version}</version>
617 <scope>test</scope>
618 </dependency>
619
620 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200621 <groupId>org.assertj</groupId>
622 <artifactId>assertj-core</artifactId>
623 <scope>test</scope>
624 </dependency>
625
626 <dependency>
627 <groupId>com.google.code.bean-matchers</groupId>
628 <artifactId>bean-matchers</artifactId>
629 <version>${bean-matchers.version}</version>
630 <scope>test</scope>
631 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200632 <!-- testing end -->
633
634 <dependency>
635 <groupId>io.netty</groupId>
636 <artifactId>netty-all</artifactId>
637 </dependency>
638
639 <dependency>
640 <groupId>io.netty</groupId>
641 <artifactId>netty-handler</artifactId>
642 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200643 </dependencies>
644
645 <build>
646 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
647 <plugins>
648 <plugin>
649 <groupId>org.apache.maven.plugins</groupId>
650 <artifactId>maven-deploy-plugin</artifactId>
651 <configuration>
652 <skip>true</skip>
653 </configuration>
654 </plugin>
655
656 <plugin>
657 <groupId>org.apache.maven.plugins</groupId>
658 <artifactId>maven-assembly-plugin</artifactId>
vasrazdffdf562023-05-18 16:13:52 +0100659 <version>${mvn.assembly.version}</version>
ys969316a9fce2020-01-19 13:50:02 +0200660 <executions>
661 <execution>
662 <configuration>
663 <finalName>sdctool</finalName>
664 <appendAssemblyId>false</appendAssemblyId>
665 <descriptors>
666 <descriptor>${project.basedir}/tarball.xml</descriptor>
667 </descriptors>
668 </configuration>
669 <id>assemble-file</id>
670 <phase>verify</phase>
671 <goals>
672 <goal>single</goal>
673 </goals>
674 </execution>
675 </executions>
676 </plugin>
677 <plugin>
678 <groupId>org.apache.maven.plugins</groupId>
679 <artifactId>maven-shade-plugin</artifactId>
680 <executions>
681 <execution>
682 <phase>package</phase>
683 <goals>
684 <goal>shade</goal>
685 </goals>
686 <configuration>
687 <filters>
688 <filter>
689 <artifact>org.openecomp.sdc:*</artifact>
690 <excludes>
691 <exclude>**/elasticsearch.yml</exclude>
692 </excludes>
693 </filter>
694 <filter>
695 <artifact>*:*</artifact>
696 <excludes>
697 <exclude>META-INF/*.SF</exclude>
698 <exclude>META-INF/*.DSA</exclude>
699 <exclude>META-INF/*.RSA</exclude>
700 </excludes>
701 </filter>
702 </filters>
703 <transformers>
704 <transformer
705 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
706 </transformers>
707 </configuration>
708 </execution>
709 </executions>
710 </plugin>
711 <plugin>
712 <groupId>ru.yaal.maven</groupId>
713 <artifactId>write-text-files-maven-plugin</artifactId>
714 <configuration>
715 <charset>UTF-8</charset>
716 <files>
717 <file>
718 <path>
719 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb
720 </path>
721 <lines>
andre.schmid8f967e42020-01-22 14:49:32 +0000722 <line>
723 normal['version']="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
ys969316a9fce2020-01-19 13:50:02 +0200724 </line>
725 </lines>
726 </file>
727 </files>
728 </configuration>
729 <executions>
730 <execution>
731 <id>write-text-files</id>
732 <phase>prepare-package</phase>
733 <goals>
734 <goal>write-text-files</goal>
735 </goals>
736 </execution>
737 </executions>
738 </plugin>
739 <plugin>
740 <groupId>org.apache.maven.plugins</groupId>
741 <artifactId>maven-resources-plugin</artifactId>
742 <executions>
743 <execution>
744 <id>copy-tosca-folder</id>
745 <!-- here the phase you need -->
746 <phase>compile</phase>
747 <goals>
748 <goal>copy-resources</goal>
749 </goals>
750 <configuration>
751 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
752 <resources>
753 <resource>
754 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
755 </directory>
ys969316a9fce2020-01-19 13:50:02 +0200756 </resource>
757 </resources>
758 </configuration>
759 </execution>
760 </executions>
761 </plugin>
762 <plugin>
763 <groupId>com.github.sylvainlaurent.maven</groupId>
764 <artifactId>yaml-json-validator-maven-plugin</artifactId>
765 <executions>
766 <execution>
767 <id>validate</id>
768 <phase>validate</phase>
769 <goals>
770 <goal>validate</goal>
771 </goals>
772 <configuration>
773 <validationSets>
774 <validationSet>
775 <includes>
776 <include>src/main/resources/**/*.y*ml</include>
777 <include>src/test/resources/**/*.y*ml</include>
778 </includes>
779 </validationSet>
780 <validationSet>
781 <includes>
782 <include>src/main/resources/**/*.json</include>
783 <include>src/test/resources/**/*.json</include>
784 </includes>
785 <excludes>
786 <exclude>src/test/resources/graphError.json</exclude>
787 </excludes>
788 </validationSet>
789 </validationSets>
JulienBe6bd3d3a2020-06-24 15:35:23 +0200790 <skip>${skipYamlJsonValidator}</skip>
ys969316a9fce2020-01-19 13:50:02 +0200791 </configuration>
792 </execution>
793 </executions>
794 </plugin>
795 </plugins>
796 </build>
797 <profiles>
798 <profile>
799 <id>docker</id>
800 <activation>
801 <activeByDefault>false</activeByDefault>
802 </activation>
803 <build>
804 <plugins>
805 <plugin>
806 <groupId>org.apache.maven.plugins</groupId>
andre.schmid7b60bd72021-09-28 11:24:44 +0100807 <artifactId>maven-clean-plugin</artifactId>
808 <executions>
809 <execution>
810 <id>clean.sdctool.tar</id>
811 <phase>initialize</phase>
812 <goals>
813 <goal>clean</goal>
814 </goals>
815 <configuration>
816 <filesets>
817 <fileset>
818 <directory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
819 <includes>
820 <include>sdctool.tar</include>
821 </includes>
822 </fileset>
823 </filesets>
824 </configuration>
825 </execution>
826 </executions>
827 </plugin>
828 <plugin>
829 <groupId>org.apache.maven.plugins</groupId>
ys969316a9fce2020-01-19 13:50:02 +0200830 <artifactId>maven-resources-plugin</artifactId>
831 <executions>
832 <execution>
833 <id>copy-sdctool</id>
834 <phase>verify</phase>
835 <goals>
836 <goal>copy-resources</goal>
837 </goals>
838 <configuration>
839 <outputDirectory>
840 ${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default
841 </outputDirectory>
andre.schmid7b60bd72021-09-28 11:24:44 +0100842 <overwrite>true</overwrite>
ys969316a9fce2020-01-19 13:50:02 +0200843 <resources>
844 <resource>
845 <directory>${project.parent.basedir}/asdctool/target</directory>
846 <includes>
847 <include>sdctool.tar</include>
848 </includes>
849 </resource>
850 </resources>
851 </configuration>
852 </execution>
853 </executions>
854 </plugin>
855 <plugin>
856 <groupId>io.fabric8</groupId>
857 <artifactId>docker-maven-plugin</artifactId>
858 <configuration>
sebdetdf353be2020-09-21 22:13:05 +0200859 <verbose>${verbose}</verbose>
sebdet591810d2020-09-17 15:07:23 +0200860 <apiVersion>${docker.api.version}</apiVersion>
vasraz8b1002a2021-12-08 22:12:52 +0000861 <registry>${docker.registry}</registry>
ys969316a9fce2020-01-19 13:50:02 +0200862 <authConfig>
863 <pull>
vasraz8b1002a2021-12-08 22:12:52 +0000864 <username>${docker.username}</username>
865 <password>${docker.password}</password>
ys969316a9fce2020-01-19 13:50:02 +0200866 </pull>
867 </authConfig>
868 <images>
869 <!-- Build cassandra-init image -->
870 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000871 <name>${docker.namespace}/sdc-cassandra-init</name>
ys969316a9fce2020-01-19 13:50:02 +0200872 <alias>sdc-cassandra-init</alias>
873 <build>
874 <cleanup>try</cleanup>
875 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
876 <tags>
sebdetb988cb62020-09-25 15:48:10 +0200877 <tag>latest</tag>
ys969316a9fce2020-01-19 13:50:02 +0200878 <tag>
879 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
880 </tag>
vasraz66af7c52021-07-20 23:22:45 +0100881 <tag>
882 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
883 </tag>
ys969316a9fce2020-01-19 13:50:02 +0200884 </tags>
885 </build>
886 </image>
887 </images>
888 </configuration>
889 <executions>
890 <execution>
891 <id>clean-images</id>
892 <phase>pre-clean</phase>
893 <goals>
894 <goal>remove</goal>
895 </goals>
896 <configuration>
897 <removeAll>true</removeAll>
vasraz8b1002a2021-12-08 22:12:52 +0000898 <image>${docker.namespace}/sdc-cassandra-init</image>
ys969316a9fce2020-01-19 13:50:02 +0200899 </configuration>
900 </execution>
901
902 <execution>
903 <id>generate-images</id>
904 <phase>install</phase>
905 <goals>
906 <goal>build</goal>
907 </goals>
908 </execution>
909
910 <execution>
911 <id>push-images</id>
912 <phase>deploy</phase>
913 <goals>
914 <goal>push</goal>
915 </goals>
916 <configuration>
vasraz8b1002a2021-12-08 22:12:52 +0000917 <image>${docker.namespace}/sdc-cassandra-init</image>
ys969316a9fce2020-01-19 13:50:02 +0200918 </configuration>
919 </execution>
920 </executions>
921 </plugin>
922 </plugins>
923 </build>
924 </profile>
925 </profiles>
k.kazak8d526072019-05-29 14:50:05 +0200926</project>