blob: 7f0437e4beca8c0d8d4215ef892df74bb00d27e9 [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>
MichaelMorris0560a3a2023-10-27 18:18:46 +010012 <version>1.13.6-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>org.janusgraph</groupId>
359 <artifactId>janusgraph-cassandra</artifactId>
360 <version>${janusgraph.version}</version>
361 <scope>compile</scope>
362 <exclusions>
363 <exclusion>
vasrazdffdf562023-05-18 16:13:52 +0100364 <groupId>joda-time</groupId>
365 <artifactId>joda-time</artifactId>
366 </exclusion>
367 <exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200368 <groupId>org.slf4j</groupId>
369 <artifactId>slf4j-log4j12</artifactId>
370 </exclusion>
vasrazc81c95b2021-05-31 23:08:39 +0100371 <exclusion>
372 <groupId>org.apache.thrift</groupId>
373 <artifactId>libthrift</artifactId>
374 </exclusion>
375 <exclusion>
376 <groupId>org.codehaus.jackson</groupId>
377 <artifactId>jackson-mapper-asl</artifactId>
378 </exclusion>
vasraz66af7c52021-07-20 23:22:45 +0100379 <exclusion>
380 <groupId>org.hibernate</groupId>
381 <artifactId>hibernate-validator</artifactId>
382 </exclusion>
vasrazb65fcbf2021-07-26 15:01:06 +0100383 <exclusion>
384 <groupId>org.apache.cassandra</groupId>
385 <artifactId>cassandra-all</artifactId>
386 </exclusion>
vasrazdfe98bd2023-07-05 22:22:43 +0100387 <exclusion>
388 <groupId>javax.validation</groupId>
389 <artifactId>validation-api</artifactId>
390 </exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200391 </exclusions>
392 </dependency>
393
394 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200395 <groupId>commons-codec</groupId>
396 <artifactId>commons-codec</artifactId>
397 <version>${commons-codec}</version>
398 <scope>compile</scope>
399 </dependency>
400
401 <dependency>
402 <groupId>com.fasterxml.jackson.core</groupId>
403 <artifactId>jackson-databind</artifactId>
404 <version>${jackson.version}</version>
vasrazca685bb2020-06-11 17:05:29 +0100405 <exclusions>
406 <exclusion>
407 <groupId>com.fasterxml.jackson.core</groupId>
408 <artifactId>jackson-core</artifactId>
409 </exclusion>
410 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200411 </dependency>
412
413 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
414 <dependency>
415 <groupId>com.fasterxml.jackson.core</groupId>
416 <artifactId>jackson-annotations</artifactId>
417 <version>${jackson-annotations.version}</version>
418 </dependency>
419
420 <dependency>
421 <groupId>com.google.code.gson</groupId>
422 <artifactId>gson</artifactId>
423 <version>${gson.version}</version>
424 <scope>compile</scope>
425 </dependency>
426
427 <dependency>
vasrazdfe98bd2023-07-05 22:22:43 +0100428 <groupId>org.apache.httpcomponents.client5</groupId>
429 <artifactId>httpclient5</artifactId>
ys969316a9fce2020-01-19 13:50:02 +0200430 <version>${httpclient.version}</version>
431 <scope>compile</scope>
vasraz987fc742021-11-29 17:42:02 +0000432 <exclusions>
433 <exclusion>
434 <groupId>org.apache.httpcomponents</groupId>
435 <artifactId>httpcore</artifactId>
436 </exclusion>
437 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200438 </dependency>
439
440 <dependency>
441 <groupId>org.apache.httpcomponents</groupId>
442 <artifactId>httpcore</artifactId>
443 <version>${httpcore.version}</version>
444 <scope>compile</scope>
445 </dependency>
446
447 <!-- Spring 4 dependencies -->
448 <dependency>
449 <groupId>org.springframework</groupId>
450 <artifactId>spring-core</artifactId>
451 <version>${spring.version}</version>
452 <scope>compile</scope>
453 </dependency>
454
455 <dependency>
456 <groupId>org.springframework</groupId>
457 <artifactId>spring-context</artifactId>
458 <version>${spring.version}</version>
459 <scope>compile</scope>
vasraz8dbc7322021-06-26 14:23:12 +0100460 <exclusions>
461 <exclusion>
462 <groupId>org.springframework</groupId>
463 <artifactId>spring-expression</artifactId>
464 </exclusion>
465 <exclusion>
466 <groupId>org.springframework</groupId>
467 <artifactId>spring-core</artifactId>
468 </exclusion>
469 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200470 </dependency>
471
472 <dependency>
473 <groupId>org.springframework</groupId>
474 <artifactId>spring-expression</artifactId>
475 <version>${spring.version}</version>
476 <scope>compile</scope>
477 </dependency>
478
479 <dependency>
480 <groupId>org.springframework</groupId>
481 <artifactId>spring-beans</artifactId>
482 <version>${spring.version}</version>
483 <scope>compile</scope>
484 </dependency>
485
486 <dependency>
487 <groupId>org.springframework</groupId>
488 <artifactId>spring-aop</artifactId>
489 <version>${spring.version}</version>
490 <scope>compile</scope>
vasraz8dbc7322021-06-26 14:23:12 +0100491 <exclusions>
492 <exclusion>
493 <groupId>org.springframework</groupId>
494 <artifactId>spring-core</artifactId>
495 </exclusion>
496 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200497 </dependency>
498
499 <!-- Spring 4 dependencies end -->
500 <!-- JavaConfig need this library -->
501 <dependency>
502 <groupId>cglib</groupId>
503 <artifactId>cglib</artifactId>
504 <version>3.2.4</version>
505 <scope>compile</scope>
506 </dependency>
507
508 <dependency>
509 <groupId>org.yaml</groupId>
510 <artifactId>snakeyaml</artifactId>
511 <version>${snakeyaml.version}</version>
512 <scope>compile</scope>
513 </dependency>
514
515 <dependency>
516 <groupId>org.functionaljava</groupId>
517 <artifactId>functionaljava</artifactId>
518 <version>${functionaljava.version}</version>
519 <scope>compile</scope>
520 </dependency>
521
522 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200523 <groupId>com.fasterxml.jackson.dataformat</groupId>
524 <artifactId>jackson-dataformat-yaml</artifactId>
525 <version>${jackson.version}</version>
vasrazca685bb2020-06-11 17:05:29 +0100526 <exclusions>
527 <exclusion>
528 <groupId>com.fasterxml.jackson.core</groupId>
529 <artifactId>jackson-core</artifactId>
530 </exclusion>
531 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200532 </dependency>
533
534 <!-- CASSANDRA -->
535 <dependency>
536 <groupId>com.datastax.cassandra</groupId>
537 <artifactId>cassandra-driver-core</artifactId>
538 <version>${cassandra.driver.version}</version>
539 <scope>compile</scope>
vasraz59d0b402022-08-16 10:11:06 +0100540 <exclusions>
541 <exclusion>
542 <groupId>com.github.jnr</groupId>
543 <artifactId>jnr-posix</artifactId>
544 </exclusion>
545 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200546 </dependency>
547
548 <dependency>
549 <groupId>com.datastax.cassandra</groupId>
550 <artifactId>cassandra-driver-mapping</artifactId>
551 <version>${cassandra.driver.version}</version>
552 <scope>compile</scope>
553 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200554
555 <!-- CASSANDRA END -->
556
557 <!-- OPEN CSV -->
558 <dependency>
559 <groupId>com.opencsv</groupId>
560 <artifactId>opencsv</artifactId>
561 <version>4.0</version>
562 <scope>compile</scope>
563 </dependency>
564
565 <dependency>
566 <groupId>org.apache.poi</groupId>
567 <artifactId>poi</artifactId>
568 <version>${apache-poi.version}</version>
569 </dependency>
570
ys969316a9fce2020-01-19 13:50:02 +0200571 <!-- Temporary, till building the populate task which adding all components
572 to cache. We will use Serialization Utils. -->
573 <dependency>
574 <groupId>de.ruedigermoeller</groupId>
575 <artifactId>fst</artifactId>
576 <version>2.47</version>
vasrazca685bb2020-06-11 17:05:29 +0100577 <exclusions>
578 <exclusion>
579 <groupId>com.fasterxml.jackson.core</groupId>
580 <artifactId>jackson-core</artifactId>
581 </exclusion>
582 </exclusions>
ys969316a9fce2020-01-19 13:50:02 +0200583 </dependency>
584
585 <!-- testing -->
586 <dependency>
587 <groupId>org.hamcrest</groupId>
588 <artifactId>hamcrest-all</artifactId>
589 <version>${hamcrest-all.version}</version>
590 <scope>test</scope>
591 </dependency>
592
593 <dependency>
Baumel, Dvir (db384r)3e879322020-03-23 16:21:05 +0200594 <groupId>org.junit.jupiter</groupId>
595 <artifactId>junit-jupiter</artifactId>
596 <version>${junitJupiter.version}</version>
597 <scope>test</scope>
598 </dependency>
599
600 <dependency>
601 <groupId>org.mockito</groupId>
602 <artifactId>mockito-junit-jupiter</artifactId>
603 <version>${mockitoJupiter.version}</version>
604 <scope>test</scope>
605 </dependency>
606
607 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200608 <groupId>org.assertj</groupId>
609 <artifactId>assertj-core</artifactId>
610 <scope>test</scope>
611 </dependency>
612
613 <dependency>
614 <groupId>com.google.code.bean-matchers</groupId>
615 <artifactId>bean-matchers</artifactId>
616 <version>${bean-matchers.version}</version>
617 <scope>test</scope>
618 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200619 <!-- testing end -->
620
621 <dependency>
622 <groupId>io.netty</groupId>
623 <artifactId>netty-all</artifactId>
624 </dependency>
625
626 <dependency>
627 <groupId>io.netty</groupId>
628 <artifactId>netty-handler</artifactId>
629 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200630 </dependencies>
631
632 <build>
633 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
634 <plugins>
635 <plugin>
636 <groupId>org.apache.maven.plugins</groupId>
637 <artifactId>maven-deploy-plugin</artifactId>
638 <configuration>
639 <skip>true</skip>
640 </configuration>
641 </plugin>
642
643 <plugin>
644 <groupId>org.apache.maven.plugins</groupId>
645 <artifactId>maven-assembly-plugin</artifactId>
vasrazdffdf562023-05-18 16:13:52 +0100646 <version>${mvn.assembly.version}</version>
ys969316a9fce2020-01-19 13:50:02 +0200647 <executions>
648 <execution>
649 <configuration>
650 <finalName>sdctool</finalName>
651 <appendAssemblyId>false</appendAssemblyId>
652 <descriptors>
653 <descriptor>${project.basedir}/tarball.xml</descriptor>
654 </descriptors>
655 </configuration>
656 <id>assemble-file</id>
657 <phase>verify</phase>
658 <goals>
659 <goal>single</goal>
660 </goals>
661 </execution>
662 </executions>
663 </plugin>
664 <plugin>
665 <groupId>org.apache.maven.plugins</groupId>
666 <artifactId>maven-shade-plugin</artifactId>
667 <executions>
668 <execution>
669 <phase>package</phase>
670 <goals>
671 <goal>shade</goal>
672 </goals>
673 <configuration>
674 <filters>
675 <filter>
676 <artifact>org.openecomp.sdc:*</artifact>
677 <excludes>
678 <exclude>**/elasticsearch.yml</exclude>
679 </excludes>
680 </filter>
681 <filter>
682 <artifact>*:*</artifact>
683 <excludes>
684 <exclude>META-INF/*.SF</exclude>
685 <exclude>META-INF/*.DSA</exclude>
686 <exclude>META-INF/*.RSA</exclude>
687 </excludes>
688 </filter>
689 </filters>
690 <transformers>
691 <transformer
692 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
693 </transformers>
694 </configuration>
695 </execution>
696 </executions>
697 </plugin>
698 <plugin>
699 <groupId>ru.yaal.maven</groupId>
700 <artifactId>write-text-files-maven-plugin</artifactId>
701 <configuration>
702 <charset>UTF-8</charset>
703 <files>
704 <file>
705 <path>
706 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb
707 </path>
708 <lines>
andre.schmid8f967e42020-01-22 14:49:32 +0000709 <line>
710 normal['version']="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
ys969316a9fce2020-01-19 13:50:02 +0200711 </line>
712 </lines>
713 </file>
714 </files>
715 </configuration>
716 <executions>
717 <execution>
718 <id>write-text-files</id>
719 <phase>prepare-package</phase>
720 <goals>
721 <goal>write-text-files</goal>
722 </goals>
723 </execution>
724 </executions>
725 </plugin>
726 <plugin>
727 <groupId>org.apache.maven.plugins</groupId>
728 <artifactId>maven-resources-plugin</artifactId>
729 <executions>
730 <execution>
731 <id>copy-tosca-folder</id>
732 <!-- here the phase you need -->
733 <phase>compile</phase>
734 <goals>
735 <goal>copy-resources</goal>
736 </goals>
737 <configuration>
738 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
739 <resources>
740 <resource>
741 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
742 </directory>
ys969316a9fce2020-01-19 13:50:02 +0200743 </resource>
744 </resources>
745 </configuration>
746 </execution>
747 </executions>
748 </plugin>
749 <plugin>
750 <groupId>com.github.sylvainlaurent.maven</groupId>
751 <artifactId>yaml-json-validator-maven-plugin</artifactId>
752 <executions>
753 <execution>
754 <id>validate</id>
755 <phase>validate</phase>
756 <goals>
757 <goal>validate</goal>
758 </goals>
759 <configuration>
760 <validationSets>
761 <validationSet>
762 <includes>
763 <include>src/main/resources/**/*.y*ml</include>
764 <include>src/test/resources/**/*.y*ml</include>
765 </includes>
766 </validationSet>
767 <validationSet>
768 <includes>
769 <include>src/main/resources/**/*.json</include>
770 <include>src/test/resources/**/*.json</include>
771 </includes>
772 <excludes>
773 <exclude>src/test/resources/graphError.json</exclude>
774 </excludes>
775 </validationSet>
776 </validationSets>
JulienBe6bd3d3a2020-06-24 15:35:23 +0200777 <skip>${skipYamlJsonValidator}</skip>
ys969316a9fce2020-01-19 13:50:02 +0200778 </configuration>
779 </execution>
780 </executions>
781 </plugin>
782 </plugins>
783 </build>
784 <profiles>
785 <profile>
786 <id>docker</id>
787 <activation>
788 <activeByDefault>false</activeByDefault>
789 </activation>
790 <build>
791 <plugins>
792 <plugin>
793 <groupId>org.apache.maven.plugins</groupId>
andre.schmid7b60bd72021-09-28 11:24:44 +0100794 <artifactId>maven-clean-plugin</artifactId>
795 <executions>
796 <execution>
797 <id>clean.sdctool.tar</id>
798 <phase>initialize</phase>
799 <goals>
800 <goal>clean</goal>
801 </goals>
802 <configuration>
803 <filesets>
804 <fileset>
805 <directory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
806 <includes>
807 <include>sdctool.tar</include>
808 </includes>
809 </fileset>
810 </filesets>
811 </configuration>
812 </execution>
813 </executions>
814 </plugin>
815 <plugin>
816 <groupId>org.apache.maven.plugins</groupId>
ys969316a9fce2020-01-19 13:50:02 +0200817 <artifactId>maven-resources-plugin</artifactId>
818 <executions>
819 <execution>
820 <id>copy-sdctool</id>
821 <phase>verify</phase>
822 <goals>
823 <goal>copy-resources</goal>
824 </goals>
825 <configuration>
826 <outputDirectory>
827 ${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default
828 </outputDirectory>
andre.schmid7b60bd72021-09-28 11:24:44 +0100829 <overwrite>true</overwrite>
ys969316a9fce2020-01-19 13:50:02 +0200830 <resources>
831 <resource>
832 <directory>${project.parent.basedir}/asdctool/target</directory>
833 <includes>
834 <include>sdctool.tar</include>
835 </includes>
836 </resource>
837 </resources>
838 </configuration>
839 </execution>
840 </executions>
841 </plugin>
842 <plugin>
843 <groupId>io.fabric8</groupId>
844 <artifactId>docker-maven-plugin</artifactId>
845 <configuration>
sebdetdf353be2020-09-21 22:13:05 +0200846 <verbose>${verbose}</verbose>
sebdet591810d2020-09-17 15:07:23 +0200847 <apiVersion>${docker.api.version}</apiVersion>
vasraz8b1002a2021-12-08 22:12:52 +0000848 <registry>${docker.registry}</registry>
ys969316a9fce2020-01-19 13:50:02 +0200849 <authConfig>
850 <pull>
vasraz8b1002a2021-12-08 22:12:52 +0000851 <username>${docker.username}</username>
852 <password>${docker.password}</password>
ys969316a9fce2020-01-19 13:50:02 +0200853 </pull>
854 </authConfig>
855 <images>
856 <!-- Build cassandra-init image -->
857 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000858 <name>${docker.namespace}/sdc-cassandra-init</name>
ys969316a9fce2020-01-19 13:50:02 +0200859 <alias>sdc-cassandra-init</alias>
860 <build>
861 <cleanup>try</cleanup>
862 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
863 <tags>
sebdetb988cb62020-09-25 15:48:10 +0200864 <tag>latest</tag>
ys969316a9fce2020-01-19 13:50:02 +0200865 <tag>
866 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
867 </tag>
vasraz66af7c52021-07-20 23:22:45 +0100868 <tag>
869 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
870 </tag>
ys969316a9fce2020-01-19 13:50:02 +0200871 </tags>
872 </build>
873 </image>
874 </images>
875 </configuration>
876 <executions>
877 <execution>
878 <id>clean-images</id>
879 <phase>pre-clean</phase>
880 <goals>
881 <goal>remove</goal>
882 </goals>
883 <configuration>
884 <removeAll>true</removeAll>
vasraz8b1002a2021-12-08 22:12:52 +0000885 <image>${docker.namespace}/sdc-cassandra-init</image>
ys969316a9fce2020-01-19 13:50:02 +0200886 </configuration>
887 </execution>
888
889 <execution>
890 <id>generate-images</id>
891 <phase>install</phase>
892 <goals>
893 <goal>build</goal>
894 </goals>
895 </execution>
896
897 <execution>
898 <id>push-images</id>
899 <phase>deploy</phase>
900 <goals>
901 <goal>push</goal>
902 </goals>
903 <configuration>
vasraz8b1002a2021-12-08 22:12:52 +0000904 <image>${docker.namespace}/sdc-cassandra-init</image>
ys969316a9fce2020-01-19 13:50:02 +0200905 </configuration>
906 </execution>
907 </executions>
908 </plugin>
909 </plugins>
910 </build>
911 </profile>
912 </profiles>
k.kazak8d526072019-05-29 14:50:05 +0200913</project>