blob: c156b9617854de1a6f3327215f4f63c60472a19b [file] [log] [blame]
vasrazfa5bdf02019-08-26 13:39:26 +00001<project xmlns="http://maven.apache.org/POM/4.0.0"
vasraz787cfd52021-03-23 17:47:51 +00002 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">
sebdet591810d2020-09-17 15:07:23 +02004 <modelVersion>4.0.0</modelVersion>
vasrazfa5bdf02019-08-26 13:39:26 +00005
sebdet591810d2020-09-17 15:07:23 +02006 <artifactId>catalog-be</artifactId>
7 <packaging>war</packaging>
vasrazfa5bdf02019-08-26 13:39:26 +00008
sebdet591810d2020-09-17 15:07:23 +02009 <parent>
10 <groupId>org.openecomp.sdc</groupId>
11 <artifactId>sdc-main</artifactId>
ChrisC00acf3d2021-03-22 13:54:06 +010012 <version>1.9.0-SNAPSHOT</version>
sebdet591810d2020-09-17 15:07:23 +020013 </parent>
vasrazfa5bdf02019-08-26 13:39:26 +000014
sebdet591810d2020-09-17 15:07:23 +020015 <properties>
16 <java-hamcrest.version>2.0.0.0</java-hamcrest.version>
vasraz787cfd52021-03-23 17:47:51 +000017 <swagger.version>${swagger-core-mvn-plugin.version}</swagger.version>
sebdet591810d2020-09-17 15:07:23 +020018 <swagger-ui.version>3.25.0</swagger-ui.version>
19 <maven-dependency-plugin.version>3.1.1</maven-dependency-plugin.version>
20 <replacer.plugin.version>1.5.3</replacer.plugin.version>
sebdet591810d2020-09-17 15:07:23 +020021 </properties>
vasrazfa5bdf02019-08-26 13:39:26 +000022
sebdet591810d2020-09-17 15:07:23 +020023 <dependencies>
24 <dependency>
25 <groupId>org.openecomp.sdc</groupId>
26 <artifactId>togglz-rest-services</artifactId>
27 <version>${project.version}</version>
28 </dependency>
29
30 <!--JSON and YAML Parsing-->
31 <dependency>
32 <groupId>com.fasterxml.jackson.core</groupId>
33 <artifactId>jackson-core</artifactId>
34 <version>${jackson.version}</version>
35 </dependency>
36 <dependency>
37 <groupId>com.fasterxml.jackson.dataformat</groupId>
38 <artifactId>jackson-dataformat-yaml</artifactId>
39 <version>${jackson.version}</version>
40 <exclusions>
41 <exclusion>
42 <groupId>com.fasterxml.jackson.core</groupId>
43 <artifactId>jackson-core</artifactId>
44 </exclusion>
45 </exclusions>
46 </dependency>
47
48 <dependency>
49 <groupId>com.fasterxml.jackson.core</groupId>
50 <artifactId>jackson-databind</artifactId>
51 <version>${jackson.version}</version>
52 <exclusions>
53 <exclusion>
54 <groupId>com.fasterxml.jackson.core</groupId>
55 <artifactId>jackson-core</artifactId>
56 </exclusion>
57 </exclusions>
58 </dependency>
59
60 <dependency>
61 <groupId>org.onap.sdc.common</groupId>
62 <artifactId>onap-generic-artifact-browser-service</artifactId>
63 <version>${project.version}</version>
64 <scope>compile</scope>
65 </dependency>
66
67 <!-- Swagger Dependencies Start -->
68 <dependency>
69 <groupId>io.swagger.core.v3</groupId>
70 <artifactId>swagger-jaxrs2</artifactId>
71 <version>${swagger.version}</version>
72 <exclusions>
73 <exclusion>
74 <groupId>com.fasterxml.jackson.core</groupId>
75 <artifactId>jackson-core</artifactId>
76 </exclusion>
77 </exclusions>
78 </dependency>
79 <dependency>
80 <groupId>io.swagger.core.v3</groupId>
81 <artifactId>swagger-annotations</artifactId>
82 <version>${swagger.version}</version>
83 </dependency>
84 <!-- Swagger Dependencies End -->
85
86 <dependency>
87 <groupId>org.openecomp.sdc</groupId>
88 <artifactId>common-app-api</artifactId>
89 <version>${project.version}</version>
90 <exclusions>
91 <exclusion>
92 <groupId>com.fasterxml.jackson.core</groupId>
93 <artifactId>jackson-core</artifactId>
94 </exclusion>
95 </exclusions>
96 </dependency>
97
98 <dependency>
99 <groupId>javax.ws.rs</groupId>
100 <artifactId>javax.ws.rs-api</artifactId>
101 <version>${ws.rs.version}</version>
102 </dependency>
103
104 <dependency>
105 <groupId>org.openecomp.sdc.be</groupId>
106 <artifactId>common-be</artifactId>
107 <version>${project.version}</version>
108 <scope>compile</scope>
109 </dependency>
110 <dependency>
111 <groupId>org.openecomp.sdc.be</groupId>
112 <artifactId>common-be</artifactId>
113 <version>${project.version}</version>
114 <type>test-jar</type>
115 <scope>test</scope>
116 </dependency>
117 <dependency>
118 <groupId>org.openecomp.sdc.be</groupId>
119 <artifactId>catalog-dao</artifactId>
120 <version>${project.version}</version>
121 <exclusions>
122 <exclusion>
123 <groupId>com.fasterxml.jackson.core</groupId>
124 <artifactId>jackson-core</artifactId>
125 </exclusion>
126 </exclusions>
127 </dependency>
128
129 <dependency>
130 <groupId>org.openecomp.sdc.be</groupId>
131 <artifactId>catalog-model</artifactId>
132 <version>${project.version}</version>
133 <exclusions>
134 <exclusion>
135 <groupId>com.fasterxml.jackson.core</groupId>
136 <artifactId>jackson-core</artifactId>
137 </exclusion>
138 </exclusions>
139 </dependency>
140
141 <dependency>
142 <groupId>ch.qos.logback</groupId>
143 <artifactId>logback-classic</artifactId>
144 <version>${logback.version}</version>
145 <scope>compile</scope>
146 </dependency>
147
148 <!-- Snake Yaml -->
149 <dependency>
150 <groupId>org.yaml</groupId>
151 <artifactId>snakeyaml</artifactId>
152 <version>${snakeyaml.version}</version>
153 <scope>compile</scope>
154 </dependency>
155
156 <!-- File changes listener -->
157 <dependency>
158 <groupId>org.apache.commons</groupId>
159 <artifactId>commons-jci-core</artifactId>
160 <version>${commons-jci-core.version}</version>
161 <scope>compile</scope>
vasrazb7ea3ef2021-05-12 13:56:51 +0100162 <exclusions>
163 <exclusion>
164 <groupId>commons-io</groupId>
165 <artifactId>commons-io</artifactId>
166 </exclusion>
167 </exclusions>
sebdet591810d2020-09-17 15:07:23 +0200168 </dependency>
169
170 <!-- Gson -->
171 <dependency>
172 <groupId>com.google.code.gson</groupId>
173 <artifactId>gson</artifactId>
174 <version>${gson.version}</version>
175 <scope>compile</scope>
176 </dependency>
177
178 <!-- jersey -->
179 <dependency>
180 <groupId>org.glassfish.jersey.media</groupId>
181 <artifactId>jersey-media-json-jackson</artifactId>
182 <version>${jersey-bom.version}</version>
183 <exclusions>
184 <exclusion>
185 <groupId>com.fasterxml.jackson.core</groupId>
186 <artifactId>jackson-core</artifactId>
187 </exclusion>
188 </exclusions>
189 </dependency>
190
191 <dependency>
192 <groupId>org.glassfish.jersey.containers</groupId>
193 <artifactId>jersey-container-servlet-core</artifactId>
194 <version>${jersey-bom.version}</version>
195 <scope>compile</scope>
196 </dependency>
197
198 <dependency>
199 <groupId>org.glassfish.jersey.media</groupId>
200 <artifactId>jersey-media-multipart</artifactId>
201 <version>${jersey-bom.version}</version>
202 <scope>compile</scope>
203 </dependency>
204 <dependency>
205 <groupId>org.glassfish.jersey.ext</groupId>
206 <artifactId>jersey-spring4</artifactId>
207 <version>${jersey-bom.version}</version>
208 <exclusions>
209 <exclusion>
210 <groupId>org.springframework</groupId>
211 <artifactId>spring-web</artifactId>
212 </exclusion>
213 <exclusion>
214 <groupId>org.springframework</groupId>
215 <artifactId>spring-beans</artifactId>
216 </exclusion>
217 <exclusion>
218 <groupId>org.springframework</groupId>
219 <artifactId>spring-core</artifactId>
220 </exclusion>
221 <exclusion>
222 <groupId>org.springframework</groupId>
223 <artifactId>spring-aop</artifactId>
224 </exclusion>
225 <!-- Transitive dependency of spring-bridge -->
226 <exclusion>
227 <groupId>org.springframework</groupId>
228 <artifactId>spring-context</artifactId>
229 </exclusion>
230 </exclusions>
231
232 </dependency>
233
234 <!--asm-all-repackaged is a jersey dependency. in current version jersey depends on a version that was compiled using java 9 compiler
235 currently our jetty (v9.3.6) does not support java 9. as soon as jetty gets upgraded we will remove this dependency-->
236 <dependency>
237 <groupId>org.glassfish.hk2.external</groupId>
238 <artifactId>asm-all-repackaged</artifactId>
239 </dependency>
240
241 <dependency>
242 <groupId>org.glassfish.jersey.ext</groupId>
243 <artifactId>jersey-bean-validation</artifactId>
244 </dependency>
245
246 <!-- http client -->
247 <dependency>
248 <groupId>org.apache.httpcomponents</groupId>
249 <artifactId>httpclient</artifactId>
250 <version>${httpclient.version}</version>
251 <scope>compile</scope>
252 </dependency>
253
254 <dependency>
255 <groupId>org.apache.httpcomponents</groupId>
256 <artifactId>httpcore</artifactId>
257 <version>${httpcore.version}</version>
258 <scope>compile</scope>
259 </dependency>
260
261 <dependency>
262 <groupId>commons-logging</groupId>
263 <artifactId>commons-logging</artifactId>
264 <version>${commons-logging}</version>
265 <scope>compile</scope>
266 </dependency>
267
268 <dependency>
269 <groupId>commons-codec</groupId>
270 <artifactId>commons-codec</artifactId>
271 <version>${commons-codec}</version>
272 <scope>compile</scope>
273 </dependency>
274 <!-- http client END -->
275
276 <dependency>
277 <groupId>javax.servlet</groupId>
278 <artifactId>javax.servlet-api</artifactId>
279 <version>${servlet-api.version}</version>
280 <scope>provided</scope>
281 </dependency>
282
283 <dependency>
284 <groupId>org.eclipse.jgit</groupId>
285 <artifactId>org.eclipse.jgit</artifactId>
286 <version>3.4.1.201406201815-r</version>
287 </dependency>
288
289 <!-- spring - used by A4C -->
290 <dependency>
291 <groupId>org.springframework</groupId>
292 <artifactId>spring-core</artifactId>
293 <version>${spring.version}</version>
294 <scope>compile</scope>
295 </dependency>
296
297 <dependency>
298 <groupId>org.springframework</groupId>
299 <artifactId>spring-context</artifactId>
300 <version>${spring.version}</version>
301 <scope>compile</scope>
302 </dependency>
303
304 <dependency>
305 <groupId>org.springframework</groupId>
306 <artifactId>spring-web</artifactId>
307 <version>${spring.version}</version>
308 <scope>compile</scope>
309 </dependency>
310
311 <dependency>
312 <groupId>org.springframework</groupId>
313 <artifactId>spring-webmvc</artifactId>
314 <version>${spring.version}</version>
315 <scope>compile</scope>
316 </dependency>
317
318 <dependency>
319 <groupId>org.springframework</groupId>
320 <artifactId>spring-aop</artifactId>
321 <version>${spring.version}</version>
322 <scope>compile</scope>
323 </dependency>
324
325 <dependency>
326 <groupId>org.springframework</groupId>
327 <artifactId>spring-beans</artifactId>
328 <version>${spring.version}</version>
329 <scope>compile</scope>
330 </dependency>
331
332 <dependency>
333 <groupId>org.springframework</groupId>
334 <artifactId>spring-expression</artifactId>
335 <version>${spring.version}</version>
336 <scope>compile</scope>
337 </dependency>
338
339 <!-- Spring integration (optional) -->
340 <dependency>
341 <groupId>org.togglz</groupId>
342 <artifactId>togglz-spring-web</artifactId>
343 <version>${togglz.version}</version>
344 </dependency>
345
346 <dependency>
347 <groupId>org.codehaus.janino</groupId>
348 <artifactId>janino</artifactId>
349 <version>${janino.version}</version>
350 <scope>compile</scope>
351 </dependency>
352
353 <dependency>
354 <groupId>org.codehaus.janino</groupId>
355 <artifactId>commons-compiler</artifactId>
356 <version>${janino.version}</version>
357 <scope>compile</scope>
358 </dependency>
359
360 <dependency>
361 <groupId>com.google.guava</groupId>
362 <artifactId>guava</artifactId>
363 <version>${guava.version}</version>
364 <scope>compile</scope>
365 </dependency>
366
367 <dependency>
368 <groupId>org.janusgraph</groupId>
369 <artifactId>janusgraph-core</artifactId>
370 <version>${janusgraph.version}</version>
371 <scope>compile</scope>
372 <exclusions>
373 <exclusion>
vasraz086406a2021-02-22 09:50:07 +0000374 <artifactId>gremlin-groovy</artifactId>
375 <groupId>org.apache.tinkerpop</groupId>
376 </exclusion>
377 <exclusion>
sebdet591810d2020-09-17 15:07:23 +0200378 <groupId>org.json</groupId>
379 <artifactId>json</artifactId>
380 </exclusion>
381 <exclusion>
382 <artifactId>slf4j-log4j12</artifactId>
383 <groupId>org.slf4j</groupId>
384 </exclusion>
385 <exclusion>
386 <artifactId>commons-collections</artifactId>
387 <groupId>commons-collections</groupId>
388 </exclusion>
389 <exclusion>
390 <groupId>org.apache.thrift</groupId>
391 <artifactId>libthrift</artifactId>
392 </exclusion>
vasrazb7ea3ef2021-05-12 13:56:51 +0100393 <exclusion>
394 <groupId>commons-io</groupId>
395 <artifactId>commons-io</artifactId>
396 </exclusion>
sebdet591810d2020-09-17 15:07:23 +0200397 </exclusions>
398 </dependency>
399
400 <dependency>
401 <groupId>org.janusgraph</groupId>
402 <artifactId>janusgraph-cql</artifactId>
403 <version>${janusgraph.version}</version>
404 <scope>compile</scope>
405 <exclusions>
406 <exclusion>
407 <groupId>org.slf4j</groupId>
408 <artifactId>slf4j-log4j12</artifactId>
409 </exclusion>
410 <exclusion>
411 <groupId>org.json</groupId>
412 <artifactId>json</artifactId>
413 </exclusion>
414 <exclusion>
415 <artifactId>commons-collections</artifactId>
416 <groupId>commons-collections</groupId>
417 </exclusion>
418 <exclusion>
419 <artifactId>groovy</artifactId>
420 <groupId>org.codehaus.groovy</groupId>
421 </exclusion>
422 <exclusion>
423 <groupId>io.netty</groupId>
424 <artifactId>netty-all</artifactId>
425 </exclusion>
426 </exclusions>
427 </dependency>
428
429 <dependency>
430 <groupId>org.apache.commons</groupId>
431 <artifactId>commons-lang3</artifactId>
432 <version>${lang3.version}</version>
433 <scope>compile</scope>
434 </dependency>
435
436 <dependency>
437 <groupId>com.googlecode.json-simple</groupId>
438 <artifactId>json-simple</artifactId>
439 <version>${json-simple.version}</version>
440 <scope>compile</scope>
441
442 </dependency>
443
444 <!-- functional java -->
445 <dependency>
446 <groupId>org.functionaljava</groupId>
447 <artifactId>functionaljava</artifactId>
448 <version>${functionaljava.version}</version>
449 <scope>compile</scope>
450 </dependency>
451
452 <!-- Aspects -->
453 <dependency>
454 <groupId>com.jcabi</groupId>
455 <artifactId>jcabi-aspects</artifactId>
456 <version>${jcabi.version}</version>
457 <scope>compile</scope>
458 </dependency>
459
460 <dependency>
461 <groupId>org.aspectj</groupId>
462 <artifactId>aspectjrt</artifactId>
463 <version>${aspectjrt.version}</version>
464 <scope>compile</scope>
465 </dependency>
466
467
468 <!-- CAMBRIA CLIENT for U-EB -->
469 <dependency>
470 <groupId>com.att.nsa</groupId>
471 <artifactId>cambriaClient</artifactId>
472 <version>1.2.1-oss</version>
473 <scope>compile</scope>
474 <exclusions>
475 <exclusion>
476 <groupId>com.att.nsa</groupId>
477 <artifactId>saClientLibrary</artifactId>
478 </exclusion>
479 </exclusions>
480 </dependency>
481
482 <dependency>
483 <groupId>org.json</groupId>
484 <artifactId>json</artifactId>
485 <version>20131018</version>
486 <scope>compile</scope>
487 </dependency>
488
489 <!-- CASSANDRA -->
490 <dependency>
491 <groupId>com.datastax.cassandra</groupId>
492 <artifactId>cassandra-driver-core</artifactId>
493 <version>${cassandra.driver.version}</version>
494 <scope>compile</scope>
495 </dependency>
496 <dependency>
497 <groupId>com.datastax.cassandra</groupId>
498 <artifactId>cassandra-driver-mapping</artifactId>
499 <version>${cassandra.driver.version}</version>
500 <scope>compile</scope>
501 </dependency>
502 <!-- CASSANDRA END -->
503
504 <!-- Inserted for ECOMP Portal Integration -->
505 <dependency>
sebdeta9fffd22020-10-08 13:28:36 +0200506 <groupId>org.owasp.esapi</groupId>
507 <artifactId>esapi</artifactId>
508 <version>2.2.0.0</version>
509 <exclusions>
510 <exclusion>
511 <groupId>xerces</groupId>
512 <artifactId>xercesImpl</artifactId>
513 </exclusion>
vasraz7c259332021-01-20 21:20:28 +0000514 <exclusion>
515 <groupId>log4j</groupId>
516 <artifactId>log4j</artifactId>
517 </exclusion>
sebdeta9fffd22020-10-08 13:28:36 +0200518 </exclusions>
519 </dependency>
520 <dependency>
sebdet591810d2020-09-17 15:07:23 +0200521 <groupId>org.onap.portal.sdk</groupId>
522 <artifactId>epsdk-fw</artifactId>
523 <version>${ecomp.version}</version>
524 <scope>compile</scope>
525 <exclusions>
526 <exclusion>
527 <groupId>com.att.nsa</groupId>
528 <artifactId>cambriaClient</artifactId>
529 </exclusion>
530 <exclusion>
531 <artifactId>slf4j-log4j12</artifactId>
532 <groupId>org.slf4j</groupId>
533 </exclusion>
534 <exclusion>
535 <groupId>org.onap.aaf.authz</groupId>
536 <artifactId>aaf-cadi-aaf</artifactId>
537 </exclusion>
538 <exclusion>
539 <artifactId>aaf-cadi-core</artifactId>
540 <groupId>org.onap.aaf.authz</groupId>
541 </exclusion>
542 <exclusion>
543 <artifactId>commons-codec</artifactId>
544 <groupId>commons-codec</groupId>
545 </exclusion>
sebdeta9fffd22020-10-08 13:28:36 +0200546 <exclusion>
547 <artifactId>log4j</artifactId>
548 <groupId>log4j</groupId>
549 </exclusion>
sebdet591810d2020-09-17 15:07:23 +0200550 </exclusions>
551 </dependency>
552
553 <!--Jetty Proxy-->
554 <dependency>
555 <groupId>org.eclipse.jetty</groupId>
vasraz086406a2021-02-22 09:50:07 +0000556 <artifactId>jetty-http</artifactId>
557 <version>${jetty.version}</version>
558 <scope>compile</scope>
559 </dependency>
560
561 <dependency>
562 <groupId>org.eclipse.jetty</groupId>
sebdet591810d2020-09-17 15:07:23 +0200563 <artifactId>jetty-proxy</artifactId>
564 <version>${jetty.version}</version>
565 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000566 <exclusions>
567 <exclusion>
568 <groupId>org.eclipse.jetty</groupId>
569 <artifactId>jetty-http</artifactId>
570 </exclusion>
571 </exclusions>
sebdet591810d2020-09-17 15:07:23 +0200572 </dependency>
573
574 <dependency>
575 <groupId>org.eclipse.jetty</groupId>
576 <artifactId>jetty-servlets</artifactId>
577 <version>${jetty.version}</version>
578 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000579 <exclusions>
580 <exclusion>
581 <groupId>org.eclipse.jetty</groupId>
582 <artifactId>jetty-http</artifactId>
583 </exclusion>
584 </exclusions>
sebdet591810d2020-09-17 15:07:23 +0200585 </dependency>
586 <!-- System metrics -->
587 <dependency>
588 <groupId>org.fusesource</groupId>
589 <artifactId>sigar</artifactId>
590 <version>${sigar.version}</version>
591 <scope>compile</scope>
sebdeta9fffd22020-10-08 13:28:36 +0200592 <exclusions>
593 <exclusion>
594 <groupId>log4j</groupId>
595 <artifactId>log4j</artifactId>
596 </exclusion>
597 </exclusions>
sebdet591810d2020-09-17 15:07:23 +0200598 </dependency>
599 <dependency>
600 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
601 <artifactId>dmaapClient</artifactId>
602 <version>1.1.3</version>
603 <scope>compile</scope>
604 <exclusions>
605 <exclusion>
606 <groupId>com.att.aft</groupId>
607 <artifactId>dme2</artifactId>
608 </exclusion>
609 <exclusion>
610 <groupId>com.fasterxml.jackson.core</groupId>
611 <artifactId>jackson-core</artifactId>
612 </exclusion>
sebdeta9fffd22020-10-08 13:28:36 +0200613 <exclusion>
614 <artifactId>log4j</artifactId>
615 <groupId>log4j</groupId>
616 </exclusion>
617 <exclusion>
618 <artifactId>apache-log4j-extras</artifactId>
619 <groupId>log4j</groupId>
620 </exclusion>
sebdet591810d2020-09-17 15:07:23 +0200621 </exclusions>
622 </dependency>
623 <dependency>
624 <groupId>com.att.aft</groupId>
625 <artifactId>dme2</artifactId>
626 <version>3.1.200-oss</version>
627 </dependency>
628
629 <dependency>
630 <groupId>javax.jms</groupId>
631 <artifactId>jms</artifactId>
632 <version>1.1</version>
633 <scope>provided</scope>
634 </dependency>
635
636 <!-- CADI -->
637 <dependency>
638 <groupId>org.onap.aaf.authz</groupId>
639 <artifactId>aaf-cadi-aaf</artifactId>
640 <version>${cadi.version}</version>
641 <exclusions>
642 <exclusion>
643 <groupId>com.datastax.cassandra</groupId>
644 <artifactId>cassandra-driver-core</artifactId>
645 </exclusion>
646 <exclusion>
647 <groupId>org.slf4j</groupId>
648 <artifactId>slf4j-log4j12</artifactId>
649 </exclusion>
sebdeta9fffd22020-10-08 13:28:36 +0200650 <exclusion>
651 <artifactId>log4j</artifactId>
652 <groupId>log4j</groupId>
653 </exclusion>
sebdet591810d2020-09-17 15:07:23 +0200654 </exclusions>
655 </dependency>
656
657 <!-- TEST -->
658 <dependency>
659 <groupId>org.assertj</groupId>
660 <artifactId>assertj-core</artifactId>
661 <scope>test</scope>
662 </dependency>
663
664 <dependency>
665 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
666 <artifactId>jersey-test-framework-provider-bundle</artifactId>
667 <version>${jersey-bom.version}</version>
668 <type>pom</type>
669 <scope>test</scope>
vasraz086406a2021-02-22 09:50:07 +0000670 <exclusions>
671 <exclusion>
672 <groupId>org.eclipse.jetty</groupId>
673 <artifactId>jetty-server</artifactId>
674 </exclusion>
675 <exclusion>
676 <groupId>org.eclipse.jetty</groupId>
677 <artifactId>jetty-continuation</artifactId>
678 </exclusion>
679 </exclusions>
sebdet591810d2020-09-17 15:07:23 +0200680 </dependency>
681
682 <dependency>
683 <groupId>org.glassfish.jersey.core</groupId>
684 <artifactId>jersey-client</artifactId>
685 <version>${jersey-bom.version}</version>
686 </dependency>
687
688 <dependency>
689 <groupId>org.eclipse.jetty</groupId>
690 <artifactId>jetty-webapp</artifactId>
691 <version>${jetty.version}</version>
692 <scope>test</scope>
vasraz086406a2021-02-22 09:50:07 +0000693 <exclusions>
694 <exclusion>
695 <groupId>org.eclipse.jetty</groupId>
696 <artifactId>jetty-servlet</artifactId>
697 </exclusion>
698 </exclusions>
sebdet591810d2020-09-17 15:07:23 +0200699 </dependency>
700
701 <dependency>
702 <groupId>org.hamcrest</groupId>
703 <artifactId>hamcrest</artifactId>
704 <version>${hamcrest.version}</version>
705 <scope>test</scope>
706 </dependency>
707
708 <dependency>
709 <groupId>org.hamcrest</groupId>
710 <artifactId>hamcrest-library</artifactId>
711 <version>${hamcrest.version}</version>
712 <scope>test</scope>
713 </dependency>
714
715 <dependency>
716 <groupId>org.junit.jupiter</groupId>
717 <artifactId>junit-jupiter-api</artifactId>
718 <version>${junitJupiter.version}</version>
719 <scope>test</scope>
720 </dependency>
721
722 <dependency>
723 <groupId>org.junit.jupiter</groupId>
724 <artifactId>junit-jupiter</artifactId>
725 <version>${junitJupiter.version}</version>
726 <scope>test</scope>
727 </dependency>
728
729 <dependency>
730 <groupId>org.junit.platform</groupId>
731 <artifactId>junit-platform-commons</artifactId>
732 <version>${junit.platform.version}</version>
733 <scope>test</scope>
734 </dependency>
735 <dependency>
736 <groupId>org.junit.platform</groupId>
737 <artifactId>junit-platform-engine</artifactId>
738 <version>${junit.platform.version}</version>
739 <scope>test</scope>
740 </dependency>
741 <dependency>
742 <groupId>org.mockito</groupId>
743 <artifactId>mockito-junit-jupiter</artifactId>
744 <version>${mockitoJupiter.version}</version>
745 <scope>test</scope>
746 </dependency>
747
748 <dependency>
749 <groupId>org.springframework</groupId>
750 <artifactId>spring-test</artifactId>
751 <version>${spring.version}</version>
752 <scope>test</scope>
753 </dependency>
754
755 <dependency>
756 <groupId>org.springframework</groupId>
757 <artifactId>spring-tx</artifactId>
758 <version>${spring.version}</version>
759 </dependency>
760
761 <dependency>
762 <groupId>io.cucumber</groupId>
763 <artifactId>cucumber-java</artifactId>
764 <version>${cucumber.version}</version>
765 <scope>test</scope>
766 </dependency>
767
768 <dependency>
769 <groupId>io.cucumber</groupId>
770 <artifactId>cucumber-junit</artifactId>
771 <version>${cucumber.version}</version>
772 <scope>test</scope>
773 </dependency>
774
775 <dependency>
776 <groupId>org.jmockit</groupId>
777 <artifactId>jmockit</artifactId>
778 <version>${jmockit.version}</version>
779 <scope>test</scope>
780 </dependency>
781
782 <dependency>
783 <groupId>com.google.code.bean-matchers</groupId>
784 <artifactId>bean-matchers</artifactId>
785 <version>0.11</version>
786 <scope>test</scope>
787 </dependency>
788
789 <dependency>
790 <groupId>org.codehaus.groovy</groupId>
791 <artifactId>groovy</artifactId>
vasraz086406a2021-02-22 09:50:07 +0000792 <version>${groovy.version}</version>
sebdet591810d2020-09-17 15:07:23 +0200793 </dependency>
794
795 <dependency>
796 <groupId>io.netty</groupId>
797 <artifactId>netty-handler</artifactId>
798 </dependency>
799 <dependency>
800 <groupId>org.onap.sdc.common</groupId>
801 <artifactId>onap-tosca-datatype</artifactId>
802 <version>${project.version}</version>
803 <exclusions>
804 <exclusion>
805 <groupId>com.fasterxml.jackson.core</groupId>
806 <artifactId>jackson-core</artifactId>
807 </exclusion>
808 </exclusions>
809 </dependency>
810 <dependency>
811 <groupId>org.apache.commons</groupId>
812 <artifactId>commons-collections4</artifactId>
813 <version>${commons.collections.version}</version>
814 </dependency>
815 <dependency>
816 <groupId>org.onap.sdc.sdc-be-common</groupId>
817 <artifactId>security-util-lib</artifactId>
818 <version>${security.util.lib.version}</version>
sebdeta9fffd22020-10-08 13:28:36 +0200819 <exclusions>
820 <exclusion>
821 <groupId>org.springframework.boot</groupId>
822 <artifactId>spring-boot-starter-logging</artifactId>
823 </exclusion>
824 </exclusions>
sebdet591810d2020-09-17 15:07:23 +0200825 </dependency>
826 <dependency>
827 <groupId>org.openecomp.sdc.core</groupId>
828 <artifactId>openecomp-tosca-lib</artifactId>
829 <version>${project.version}</version>
830 <exclusions>
831 <exclusion>
832 <groupId>com.fasterxml.jackson.core</groupId>
833 <artifactId>jackson-core</artifactId>
834 </exclusion>
835 </exclusions>
836 </dependency>
Adam Wudzinski57002752020-12-02 18:07:22 +0100837 <dependency>
838 <groupId>org.onap.vnfsdk.validation</groupId>
839 <artifactId>validation-pmdictionary</artifactId>
840 <version>${onap.vnfsdk.validation.pmdictionary.version}</version>
841 <exclusions>
842 <exclusion>
843 <groupId>org.apache.logging.log4j</groupId>
844 <artifactId>log4j-slf4j-impl</artifactId>
845 </exclusion>
846 </exclusions>
847 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200848 </dependencies>
849
850 <build>
851 <finalName>catalog-be</finalName>
vasrazfa5bdf02019-08-26 13:39:26 +0000852 <plugins>
sebdet591810d2020-09-17 15:07:23 +0200853 <plugin>
854 <groupId>org.apache.maven.plugins</groupId>
855 <artifactId>maven-surefire-plugin</artifactId>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +0100856 <configuration>
ChrisC70533b52021-02-12 16:21:40 +0100857 <forkCount>1C</forkCount>
858 <reuseForks>false</reuseForks>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +0100859 </configuration>
sebdet591810d2020-09-17 15:07:23 +0200860 </plugin>
861 <plugin>
862 <!-- Download Swagger UI webjar. -->
863 <artifactId>maven-dependency-plugin</artifactId>
864 <version>${maven-dependency-plugin.version}</version>
865 <executions>
866 <execution>
867 <phase>prepare-package</phase>
868 <goals>
869 <goal>unpack</goal>
870 </goals>
871 <configuration>
872 <artifactItems>
873 <artifactItem>
874 <groupId>org.webjars</groupId>
875 <artifactId>swagger-ui</artifactId>
876 <version>${swagger-ui.version}</version>
877 </artifactItem>
878 </artifactItems>
879 <outputDirectory>${project.build.directory}/swagger-ui</outputDirectory>
880 </configuration>
881 </execution>
882 </executions>
883 </plugin>
884 <plugin>
885 <!-- Replace the OpenAPI specification example URL with the local one. -->
886 <groupId>com.google.code.maven-replacer-plugin</groupId>
887 <artifactId>replacer</artifactId>
888 <version>${replacer.plugin.version}</version>
889 <executions>
890 <execution>
891 <phase>prepare-package</phase>
892 <goals>
893 <goal>replace</goal>
894 </goals>
895 </execution>
896 </executions>
vasrazfa5bdf02019-08-26 13:39:26 +0000897 <configuration>
sebdet591810d2020-09-17 15:07:23 +0200898 <file>
899 ${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}/index.html
900 </file>
901 <replacements>
902 <replacement>
903 <token>https://petstore.swagger.io/v2/swagger.json</token>
904 <value>/sdc/openapi.json</value>
905 </replacement>
906 </replacements>
vasrazfa5bdf02019-08-26 13:39:26 +0000907 </configuration>
sebdet591810d2020-09-17 15:07:23 +0200908 </plugin>
909 <plugin>
910 <groupId>org.apache.maven.plugins</groupId>
911 <artifactId>maven-war-plugin</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100912 <configuration>
sebdet591810d2020-09-17 15:07:23 +0200913 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
914 WEB-INF/classes/elasticsearch.yml,
915 WEB-INF/classes/portal.properties
916 </packagingExcludes>
917 <archive>
918 <manifestEntries>
919 <SDC-Version>${project.version}</SDC-Version>
920 </manifestEntries>
921 <manifest>
922 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
923 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
924 </manifest>
925 </archive>
926 <attachClasses>true</attachClasses>
927 <webResources combine.children="append">
928 <resource>
929 <directory>
930 ${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}
931 </directory>
932 <includes>
933 <include>**/*.*</include>
934 </includes>
935 <targetPath>swagger-ui</targetPath>
936 </resource>
937 </webResources>
vasraza36531c2020-04-29 18:39:35 +0100938 </configuration>
sebdet591810d2020-09-17 15:07:23 +0200939 </plugin>
940 <plugin>
941 <groupId>com.github.sylvainlaurent.maven</groupId>
942 <artifactId>yaml-json-validator-maven-plugin</artifactId>
943 <executions>
944 <execution>
945 <id>validate</id>
946 <phase>validate</phase>
947 <goals>
948 <goal>validate</goal>
949 </goals>
950 <configuration>
951 <validationSets>
952 <validationSet>
953 <includes>
954 <include>src/main/resources/**/*.y*ml</include>
955 <include>src/test/resources/**/*.y*ml</include>
956 </includes>
957 <excludes>
vasraz787cfd52021-03-23 17:47:51 +0000958 <exclude>
959 src/test/resources/artifacts/pnfSoftwareInformation/**
960 </exclude>
sebdet591810d2020-09-17 15:07:23 +0200961 </excludes>
962 </validationSet>
963 <validationSet>
964 <includes>
965 <include>src/main/resources/**/*.json</include>
966 <include>src/test/resources/**/*.json</include>
967 </includes>
968 </validationSet>
969 </validationSets>
970 <skip>${skipYamlJsonValidator}</skip>
971 </configuration>
972 </execution>
973 </executions>
974 </plugin>
975 <plugin>
976 <groupId>com.jcabi</groupId>
977 <artifactId>jcabi-maven-plugin</artifactId>
978 <version>${jcabi.maven.plugin.version}</version>
979 <dependencies>
980 <dependency>
981 <groupId>org.aspectj</groupId>
982 <artifactId>aspectjtools</artifactId>
983 <version>1.9.2</version>
984 </dependency>
985 <dependency>
986 <groupId>org.aspectj</groupId>
987 <artifactId>aspectjweaver</artifactId>
988 <version>1.9.2</version>
989 </dependency>
990 </dependencies>
991 <executions>
992 <execution>
993 <goals>
994 <goal>ajc</goal>
995 </goals>
996 </execution>
997 </executions>
998 </plugin>
999 <plugin>
1000 <groupId>org.apache.maven.plugins</groupId>
1001 <artifactId>maven-assembly-plugin</artifactId>
1002 <executions>
1003 <execution>
1004 <id>normatives</id>
1005 <phase>prepare-package</phase>
1006 <goals>
1007 <goal>single</goal>
1008 </goals>
1009 <configuration>
1010 <finalName>normatives</finalName>
1011 <appendAssemblyId>false</appendAssemblyId>
1012 <descriptors>
1013 <descriptor>src/main/assembly/normatives.xml</descriptor>
1014 </descriptors>
1015 </configuration>
1016 </execution>
1017 </executions>
1018 </plugin>
1019 <plugin>
1020 <groupId>org.apache.maven.plugins</groupId>
1021 <artifactId>maven-clean-plugin</artifactId>
1022 <executions>
1023 <execution>
1024 <id>clean.sdc.backend.folder</id>
1025 <phase>clean</phase>
1026 <goals>
1027 <goal>clean</goal>
1028 </goals>
1029 <configuration>
1030 <filesets>
1031 <fileset>
vasraz787cfd52021-03-23 17:47:51 +00001032 <directory>
1033 sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
sebdet591810d2020-09-17 15:07:23 +02001034 </directory>
1035 <followSymlinks>false</followSymlinks>
1036 <includes>
1037 <include>normatives.tar.gz</include>
1038 </includes>
1039 </fileset>
1040 </filesets>
1041 </configuration>
1042 </execution>
1043 </executions>
1044 </plugin>
MichaelMorrise020ca32021-03-18 11:40:48 +00001045 <plugin>
1046 <groupId>io.swagger.core.v3</groupId>
1047 <artifactId>swagger-maven-plugin</artifactId>
vasraz787cfd52021-03-23 17:47:51 +00001048 <version>${swagger-core-mvn-plugin.version}</version>
MichaelMorrise020ca32021-03-18 11:40:48 +00001049 <executions>
1050 <execution>
1051 <id>sdce-2-sdce-5</id>
1052 <phase>compile</phase>
1053 <goals>
1054 <goal>resolve</goal>
1055 </goals>
1056 <configuration>
1057 <contextId>sdce-2-sdce-5</contextId>
1058 <outputPath>${project.build.directory}/generated/swagger</outputPath>
1059 <outputFileName>swagger-sdce-2-sdce-5</outputFileName>
1060 <outputFormat>JSON</outputFormat>
vasraz787cfd52021-03-23 17:47:51 +00001061 <configurationFilePath>
1062 ${project.basedir}/src/main/resources/swagger-config/sdce-2-sdce-5.yaml
1063 </configurationFilePath>
1064 <skip>${swagger.skip}</skip>
MichaelMorrise020ca32021-03-18 11:40:48 +00001065 </configuration>
1066 </execution>
1067 <execution>
1068 <id>sdce-4</id>
1069 <phase>compile</phase>
1070 <goals>
1071 <goal>resolve</goal>
1072 </goals>
1073 <configuration>
1074 <contextId>sdce-4</contextId>
1075 <outputPath>${project.build.directory}/generated/swagger</outputPath>
1076 <outputFileName>swagger-sdce-4</outputFileName>
1077 <outputFormat>JSON</outputFormat>
vasraz787cfd52021-03-23 17:47:51 +00001078 <configurationFilePath>
1079 ${project.basedir}/src/main/resources/swagger-config/sdce-4.yaml
1080 </configurationFilePath>
1081 <skip>${swagger.skip}</skip>
MichaelMorrise020ca32021-03-18 11:40:48 +00001082 </configuration>
1083 </execution>
1084 <execution>
1085 <id>sdce-6</id>
1086 <phase>compile</phase>
1087 <goals>
1088 <goal>resolve</goal>
1089 </goals>
1090 <configuration>
1091 <contextId>sdce-6</contextId>
1092 <outputPath>${project.build.directory}/generated/swagger</outputPath>
1093 <outputFileName>swagger-sdce-6</outputFileName>
1094 <outputFormat>JSON</outputFormat>
vasraz787cfd52021-03-23 17:47:51 +00001095 <configurationFilePath>
1096 ${project.basedir}/src/main/resources/swagger-config/sdce-6.yaml
1097 </configurationFilePath>
1098 <skip>${swagger.skip}</skip>
MichaelMorrise020ca32021-03-18 11:40:48 +00001099 </configuration>
1100 </execution>
1101 <execution>
1102 <id>sdce-7</id>
1103 <phase>compile</phase>
1104 <goals>
1105 <goal>resolve</goal>
1106 </goals>
1107 <configuration>
1108 <contextId>sdce-7</contextId>
1109 <outputPath>${project.build.directory}/generated/swagger</outputPath>
1110 <outputFileName>swagger-sdce-7</outputFileName>
1111 <outputFormat>JSON</outputFormat>
vasraz787cfd52021-03-23 17:47:51 +00001112 <configurationFilePath>
1113 ${project.basedir}/src/main/resources/swagger-config/sdce-7.yaml
1114 </configurationFilePath>
1115 <skip>${swagger.skip}</skip>
MichaelMorrise020ca32021-03-18 11:40:48 +00001116 </configuration>
1117 </execution>
1118 </executions>
1119 </plugin>
vasrazfa5bdf02019-08-26 13:39:26 +00001120 </plugins>
sebdet591810d2020-09-17 15:07:23 +02001121
1122 <pluginManagement>
1123 <plugins>
1124 <!--This plugin's configuration is used to store Eclipse m2e settings
1125 only. It has no influence on the Maven build itself. -->
1126 <plugin>
1127 <groupId>org.eclipse.m2e</groupId>
1128 <artifactId>lifecycle-mapping</artifactId>
1129 <version>1.0.0</version>
1130 <configuration>
1131 <lifecycleMappingMetadata>
1132 <pluginExecutions>
1133 <pluginExecution>
1134 <pluginExecutionFilter>
1135 <groupId>com.googlecode.maven-download-plugin</groupId>
1136 <artifactId>download-maven-plugin</artifactId>
1137 <versionRange>[1.2.1,)</versionRange>
1138 <goals>
1139 <goal>wget</goal>
1140 </goals>
1141 </pluginExecutionFilter>
1142 </pluginExecution>
1143
1144 <pluginExecution>
1145 <pluginExecutionFilter>
1146 <groupId>com.jcabi</groupId>
1147 <artifactId>jcabi-maven-plugin</artifactId>
1148 <versionRange>[0.0,)</versionRange>
1149 <goals>
1150 <goal>ajc</goal>
1151 </goals>
1152 </pluginExecutionFilter>
1153 <action>
1154 <execute/>
1155 </action>
1156 </pluginExecution>
1157
1158 </pluginExecutions>
1159 </lifecycleMappingMetadata>
1160 </configuration>
1161 </plugin>
1162 </plugins>
1163 </pluginManagement>
1164 <!-- Swagger Plugins End -->
1165 </build>
1166
1167 <profiles>
1168 <profile>
1169 <id>docker</id>
1170 <activation>
1171 <activeByDefault>false</activeByDefault>
1172 </activation>
1173 <build>
1174 <plugins>
1175 <plugin>
1176 <groupId>org.apache.maven.plugins</groupId>
1177 <artifactId>maven-resources-plugin</artifactId>
1178 <executions>
1179 <execution>
1180 <id>copy-normatives</id>
1181 <phase>package</phase>
1182 <goals>
1183 <goal>copy-resources</goal>
1184 </goals>
1185 <configuration>
1186 <outputDirectory>
1187 sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
1188 </outputDirectory>
1189 <resources>
1190 <resource>
vasraz787cfd52021-03-23 17:47:51 +00001191 <directory>${project.parent.basedir}/catalog-be/target
1192 </directory>
sebdet591810d2020-09-17 15:07:23 +02001193 <includes>
1194 <include>normatives.tar.gz</include>
1195 </includes>
1196 </resource>
1197 </resources>
1198 </configuration>
1199 </execution>
1200 <execution>
1201 <id>copy-sdc-be-py</id>
1202 <phase>verify</phase>
1203 <goals>
1204 <goal>copy-resources</goal>
1205 </goals>
1206 <configuration>
1207 <outputDirectory>
1208 sdc-backend-init/
1209 </outputDirectory>
1210 <resources>
1211 <resource>
vasraz787cfd52021-03-23 17:47:51 +00001212 <directory>
1213 ${project.parent.basedir}/catalog-be/src/main/resources/
sebdet591810d2020-09-17 15:07:23 +02001214 </directory>
1215 <includes>
1216 <include>scripts/sdcBePy/**</include>
1217 <inculde>scripts/setup.py</inculde>
1218 </includes>
1219 </resource>
1220 </resources>
1221 </configuration>
1222 </execution>
1223 </executions>
1224 </plugin>
1225 <plugin>
1226 <groupId>io.fabric8</groupId>
1227 <artifactId>docker-maven-plugin</artifactId>
1228 <configuration>
sebdetdf353be2020-09-21 22:13:05 +02001229 <verbose>${verbose}</verbose>
sebdet591810d2020-09-17 15:07:23 +02001230 <apiVersion>${docker.api.version}</apiVersion>
1231 <registry>nexus3.onap.org:10001</registry>
1232 <authConfig>
1233 <pull>
1234 <username>docker</username>
1235 <password>docker</password>
1236 </pull>
1237 </authConfig>
1238 <images>
1239
1240 <!-- Build backend image -->
1241 <image>
1242 <name>onap/sdc-backend</name>
1243 <alias>sdc-backend</alias>
1244 <build>
1245 <cleanup>try</cleanup>
1246 <dockerFileDir>backend</dockerFileDir>
1247 <tags>
sebdetb988cb62020-09-25 15:48:10 +02001248 <tag>latest</tag>
sebdet591810d2020-09-17 15:07:23 +02001249 <tag>
1250 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1251 </tag>
vasraz787cfd52021-03-23 17:47:51 +00001252 <tag>
1253 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
1254 </tag>
sebdet591810d2020-09-17 15:07:23 +02001255 </tags>
1256 <assembly>
1257 <descriptor>backend/backend-files.xml</descriptor>
1258 <name>onap-sdc-backend</name>
1259 </assembly>
1260 </build>
1261 </image>
1262 <!-- Build backend-init image -->
1263 <image>
1264 <name>onap/sdc-backend-init</name>
1265 <alias>sdc-backend-init</alias>
1266 <build>
1267 <cleanup>try</cleanup>
vasraz787cfd52021-03-23 17:47:51 +00001268 <dockerFileDir>${project.basedir}/sdc-backend-init
1269 </dockerFileDir>
sebdet591810d2020-09-17 15:07:23 +02001270 <tags>
sebdetb988cb62020-09-25 15:48:10 +02001271 <tag>latest</tag>
sebdet591810d2020-09-17 15:07:23 +02001272 <tag>
1273 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1274 </tag>
vasraz787cfd52021-03-23 17:47:51 +00001275 <tag>
1276 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
1277 </tag>
sebdet591810d2020-09-17 15:07:23 +02001278 </tags>
1279 </build>
1280 </image>
1281 </images>
1282 </configuration>
1283 <executions>
1284 <execution>
1285 <id>clean-images</id>
1286 <phase>pre-clean</phase>
1287 <goals>
1288 <goal>remove</goal>
1289 </goals>
1290 <configuration>
1291 <removeAll>true</removeAll>
1292 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1293 </configuration>
1294 </execution>
1295
1296 <execution>
1297 <id>generate-images</id>
1298 <phase>install</phase>
1299 <goals>
1300 <goal>build</goal>
1301 </goals>
1302 </execution>
1303
1304 <execution>
1305 <id>push-images</id>
1306 <phase>deploy</phase>
1307 <goals>
1308 <goal>push</goal>
1309 </goals>
1310 <configuration>
1311 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1312 </configuration>
1313 </execution>
1314 </executions>
1315 </plugin>
1316 </plugins>
1317 </build>
1318 </profile>
1319 </profiles>
MichaelMorris580e5362020-02-08 22:55:49 +00001320</project>