blob: dfe5706cc8e396efc3e15a710cdee47b42858991 [file] [log] [blame]
vasrazfa5bdf02019-08-26 13:39:26 +00001<project xmlns="http://maven.apache.org/POM/4.0.0"
sebdet591810d2020-09-17 15:07:23 +02002 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>
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>
12 <version>1.7.1-SNAPSHOT</version>
13 </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>
17 <swagger.version>2.1.1</swagger.version>
18 <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>
vasraza36531c2020-04-29 18:39:35 +010021 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
22 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
sebdet591810d2020-09-17 15:07:23 +020023 </properties>
vasrazfa5bdf02019-08-26 13:39:26 +000024
sebdet591810d2020-09-17 15:07:23 +020025 <dependencies>
26 <dependency>
27 <groupId>org.openecomp.sdc</groupId>
28 <artifactId>togglz-rest-services</artifactId>
29 <version>${project.version}</version>
30 </dependency>
31
32 <!--JSON and YAML Parsing-->
33 <dependency>
34 <groupId>com.fasterxml.jackson.core</groupId>
35 <artifactId>jackson-core</artifactId>
36 <version>${jackson.version}</version>
37 </dependency>
38 <dependency>
39 <groupId>com.fasterxml.jackson.dataformat</groupId>
40 <artifactId>jackson-dataformat-yaml</artifactId>
41 <version>${jackson.version}</version>
42 <exclusions>
43 <exclusion>
44 <groupId>com.fasterxml.jackson.core</groupId>
45 <artifactId>jackson-core</artifactId>
46 </exclusion>
47 </exclusions>
48 </dependency>
49
50 <dependency>
51 <groupId>com.fasterxml.jackson.core</groupId>
52 <artifactId>jackson-databind</artifactId>
53 <version>${jackson.version}</version>
54 <exclusions>
55 <exclusion>
56 <groupId>com.fasterxml.jackson.core</groupId>
57 <artifactId>jackson-core</artifactId>
58 </exclusion>
59 </exclusions>
60 </dependency>
61
62 <dependency>
63 <groupId>org.onap.sdc.common</groupId>
64 <artifactId>onap-generic-artifact-browser-service</artifactId>
65 <version>${project.version}</version>
66 <scope>compile</scope>
67 </dependency>
68
69 <!-- Swagger Dependencies Start -->
70 <dependency>
71 <groupId>io.swagger.core.v3</groupId>
72 <artifactId>swagger-jaxrs2</artifactId>
73 <version>${swagger.version}</version>
74 <exclusions>
75 <exclusion>
76 <groupId>com.fasterxml.jackson.core</groupId>
77 <artifactId>jackson-core</artifactId>
78 </exclusion>
79 </exclusions>
80 </dependency>
81 <dependency>
82 <groupId>io.swagger.core.v3</groupId>
83 <artifactId>swagger-annotations</artifactId>
84 <version>${swagger.version}</version>
85 </dependency>
86 <!-- Swagger Dependencies End -->
87
88 <dependency>
89 <groupId>org.openecomp.sdc</groupId>
90 <artifactId>common-app-api</artifactId>
91 <version>${project.version}</version>
92 <exclusions>
93 <exclusion>
94 <groupId>com.fasterxml.jackson.core</groupId>
95 <artifactId>jackson-core</artifactId>
96 </exclusion>
97 </exclusions>
98 </dependency>
99
100 <dependency>
101 <groupId>javax.ws.rs</groupId>
102 <artifactId>javax.ws.rs-api</artifactId>
103 <version>${ws.rs.version}</version>
104 </dependency>
105
106 <dependency>
107 <groupId>org.openecomp.sdc.be</groupId>
108 <artifactId>common-be</artifactId>
109 <version>${project.version}</version>
110 <scope>compile</scope>
111 </dependency>
112 <dependency>
113 <groupId>org.openecomp.sdc.be</groupId>
114 <artifactId>common-be</artifactId>
115 <version>${project.version}</version>
116 <type>test-jar</type>
117 <scope>test</scope>
118 </dependency>
119 <dependency>
120 <groupId>org.openecomp.sdc.be</groupId>
121 <artifactId>catalog-dao</artifactId>
122 <version>${project.version}</version>
123 <exclusions>
124 <exclusion>
125 <groupId>com.fasterxml.jackson.core</groupId>
126 <artifactId>jackson-core</artifactId>
127 </exclusion>
128 </exclusions>
129 </dependency>
130
131 <dependency>
132 <groupId>org.openecomp.sdc.be</groupId>
133 <artifactId>catalog-model</artifactId>
134 <version>${project.version}</version>
135 <exclusions>
136 <exclusion>
137 <groupId>com.fasterxml.jackson.core</groupId>
138 <artifactId>jackson-core</artifactId>
139 </exclusion>
140 </exclusions>
141 </dependency>
142
143 <dependency>
144 <groupId>ch.qos.logback</groupId>
145 <artifactId>logback-classic</artifactId>
146 <version>${logback.version}</version>
147 <scope>compile</scope>
148 </dependency>
149
150 <!-- Snake Yaml -->
151 <dependency>
152 <groupId>org.yaml</groupId>
153 <artifactId>snakeyaml</artifactId>
154 <version>${snakeyaml.version}</version>
155 <scope>compile</scope>
156 </dependency>
157
158 <!-- File changes listener -->
159 <dependency>
160 <groupId>org.apache.commons</groupId>
161 <artifactId>commons-jci-core</artifactId>
162 <version>${commons-jci-core.version}</version>
163 <scope>compile</scope>
164 </dependency>
165
166 <!-- Gson -->
167 <dependency>
168 <groupId>com.google.code.gson</groupId>
169 <artifactId>gson</artifactId>
170 <version>${gson.version}</version>
171 <scope>compile</scope>
172 </dependency>
173
174 <!-- jersey -->
175 <dependency>
176 <groupId>org.glassfish.jersey.media</groupId>
177 <artifactId>jersey-media-json-jackson</artifactId>
178 <version>${jersey-bom.version}</version>
179 <exclusions>
180 <exclusion>
181 <groupId>com.fasterxml.jackson.core</groupId>
182 <artifactId>jackson-core</artifactId>
183 </exclusion>
184 </exclusions>
185 </dependency>
186
187 <dependency>
188 <groupId>org.glassfish.jersey.containers</groupId>
189 <artifactId>jersey-container-servlet-core</artifactId>
190 <version>${jersey-bom.version}</version>
191 <scope>compile</scope>
192 </dependency>
193
194 <dependency>
195 <groupId>org.glassfish.jersey.media</groupId>
196 <artifactId>jersey-media-multipart</artifactId>
197 <version>${jersey-bom.version}</version>
198 <scope>compile</scope>
199 </dependency>
200 <dependency>
201 <groupId>org.glassfish.jersey.ext</groupId>
202 <artifactId>jersey-spring4</artifactId>
203 <version>${jersey-bom.version}</version>
204 <exclusions>
205 <exclusion>
206 <groupId>org.springframework</groupId>
207 <artifactId>spring-web</artifactId>
208 </exclusion>
209 <exclusion>
210 <groupId>org.springframework</groupId>
211 <artifactId>spring-beans</artifactId>
212 </exclusion>
213 <exclusion>
214 <groupId>org.springframework</groupId>
215 <artifactId>spring-core</artifactId>
216 </exclusion>
217 <exclusion>
218 <groupId>org.springframework</groupId>
219 <artifactId>spring-aop</artifactId>
220 </exclusion>
221 <!-- Transitive dependency of spring-bridge -->
222 <exclusion>
223 <groupId>org.springframework</groupId>
224 <artifactId>spring-context</artifactId>
225 </exclusion>
226 </exclusions>
227
228 </dependency>
229
230 <!--asm-all-repackaged is a jersey dependency. in current version jersey depends on a version that was compiled using java 9 compiler
231 currently our jetty (v9.3.6) does not support java 9. as soon as jetty gets upgraded we will remove this dependency-->
232 <dependency>
233 <groupId>org.glassfish.hk2.external</groupId>
234 <artifactId>asm-all-repackaged</artifactId>
235 </dependency>
236
237 <dependency>
238 <groupId>org.glassfish.jersey.ext</groupId>
239 <artifactId>jersey-bean-validation</artifactId>
240 </dependency>
241
242 <!-- http client -->
243 <dependency>
244 <groupId>org.apache.httpcomponents</groupId>
245 <artifactId>httpclient</artifactId>
246 <version>${httpclient.version}</version>
247 <scope>compile</scope>
248 </dependency>
249
250 <dependency>
251 <groupId>org.apache.httpcomponents</groupId>
252 <artifactId>httpcore</artifactId>
253 <version>${httpcore.version}</version>
254 <scope>compile</scope>
255 </dependency>
256
257 <dependency>
258 <groupId>commons-logging</groupId>
259 <artifactId>commons-logging</artifactId>
260 <version>${commons-logging}</version>
261 <scope>compile</scope>
262 </dependency>
263
264 <dependency>
265 <groupId>commons-codec</groupId>
266 <artifactId>commons-codec</artifactId>
267 <version>${commons-codec}</version>
268 <scope>compile</scope>
269 </dependency>
270 <!-- http client END -->
271
272 <dependency>
273 <groupId>javax.servlet</groupId>
274 <artifactId>javax.servlet-api</artifactId>
275 <version>${servlet-api.version}</version>
276 <scope>provided</scope>
277 </dependency>
278
279 <dependency>
280 <groupId>org.eclipse.jgit</groupId>
281 <artifactId>org.eclipse.jgit</artifactId>
282 <version>3.4.1.201406201815-r</version>
283 </dependency>
284
285 <!-- spring - used by A4C -->
286 <dependency>
287 <groupId>org.springframework</groupId>
288 <artifactId>spring-core</artifactId>
289 <version>${spring.version}</version>
290 <scope>compile</scope>
291 </dependency>
292
293 <dependency>
294 <groupId>org.springframework</groupId>
295 <artifactId>spring-context</artifactId>
296 <version>${spring.version}</version>
297 <scope>compile</scope>
298 </dependency>
299
300 <dependency>
301 <groupId>org.springframework</groupId>
302 <artifactId>spring-web</artifactId>
303 <version>${spring.version}</version>
304 <scope>compile</scope>
305 </dependency>
306
307 <dependency>
308 <groupId>org.springframework</groupId>
309 <artifactId>spring-webmvc</artifactId>
310 <version>${spring.version}</version>
311 <scope>compile</scope>
312 </dependency>
313
314 <dependency>
315 <groupId>org.springframework</groupId>
316 <artifactId>spring-aop</artifactId>
317 <version>${spring.version}</version>
318 <scope>compile</scope>
319 </dependency>
320
321 <dependency>
322 <groupId>org.springframework</groupId>
323 <artifactId>spring-beans</artifactId>
324 <version>${spring.version}</version>
325 <scope>compile</scope>
326 </dependency>
327
328 <dependency>
329 <groupId>org.springframework</groupId>
330 <artifactId>spring-expression</artifactId>
331 <version>${spring.version}</version>
332 <scope>compile</scope>
333 </dependency>
334
335 <!-- Spring integration (optional) -->
336 <dependency>
337 <groupId>org.togglz</groupId>
338 <artifactId>togglz-spring-web</artifactId>
339 <version>${togglz.version}</version>
340 </dependency>
341
342 <dependency>
343 <groupId>org.codehaus.janino</groupId>
344 <artifactId>janino</artifactId>
345 <version>${janino.version}</version>
346 <scope>compile</scope>
347 </dependency>
348
349 <dependency>
350 <groupId>org.codehaus.janino</groupId>
351 <artifactId>commons-compiler</artifactId>
352 <version>${janino.version}</version>
353 <scope>compile</scope>
354 </dependency>
355
356 <dependency>
357 <groupId>com.google.guava</groupId>
358 <artifactId>guava</artifactId>
359 <version>${guava.version}</version>
360 <scope>compile</scope>
361 </dependency>
362
363 <dependency>
364 <groupId>org.janusgraph</groupId>
365 <artifactId>janusgraph-core</artifactId>
366 <version>${janusgraph.version}</version>
367 <scope>compile</scope>
368 <exclusions>
369 <exclusion>
370 <groupId>org.json</groupId>
371 <artifactId>json</artifactId>
372 </exclusion>
373 <exclusion>
374 <artifactId>slf4j-log4j12</artifactId>
375 <groupId>org.slf4j</groupId>
376 </exclusion>
377 <exclusion>
378 <artifactId>commons-collections</artifactId>
379 <groupId>commons-collections</groupId>
380 </exclusion>
381 <exclusion>
382 <groupId>org.apache.thrift</groupId>
383 <artifactId>libthrift</artifactId>
384 </exclusion>
385 </exclusions>
386 </dependency>
387
388 <dependency>
389 <groupId>org.janusgraph</groupId>
390 <artifactId>janusgraph-cql</artifactId>
391 <version>${janusgraph.version}</version>
392 <scope>compile</scope>
393 <exclusions>
394 <exclusion>
395 <groupId>org.slf4j</groupId>
396 <artifactId>slf4j-log4j12</artifactId>
397 </exclusion>
398 <exclusion>
399 <groupId>org.json</groupId>
400 <artifactId>json</artifactId>
401 </exclusion>
402 <exclusion>
403 <artifactId>commons-collections</artifactId>
404 <groupId>commons-collections</groupId>
405 </exclusion>
406 <exclusion>
407 <artifactId>groovy</artifactId>
408 <groupId>org.codehaus.groovy</groupId>
409 </exclusion>
410 <exclusion>
411 <groupId>io.netty</groupId>
412 <artifactId>netty-all</artifactId>
413 </exclusion>
414 </exclusions>
415 </dependency>
416
417 <dependency>
418 <groupId>org.apache.commons</groupId>
419 <artifactId>commons-lang3</artifactId>
420 <version>${lang3.version}</version>
421 <scope>compile</scope>
422 </dependency>
423
424 <dependency>
425 <groupId>com.googlecode.json-simple</groupId>
426 <artifactId>json-simple</artifactId>
427 <version>${json-simple.version}</version>
428 <scope>compile</scope>
429
430 </dependency>
431
432 <!-- functional java -->
433 <dependency>
434 <groupId>org.functionaljava</groupId>
435 <artifactId>functionaljava</artifactId>
436 <version>${functionaljava.version}</version>
437 <scope>compile</scope>
438 </dependency>
439
440 <!-- Aspects -->
441 <dependency>
442 <groupId>com.jcabi</groupId>
443 <artifactId>jcabi-aspects</artifactId>
444 <version>${jcabi.version}</version>
445 <scope>compile</scope>
446 </dependency>
447
448 <dependency>
449 <groupId>org.aspectj</groupId>
450 <artifactId>aspectjrt</artifactId>
451 <version>${aspectjrt.version}</version>
452 <scope>compile</scope>
453 </dependency>
454
455
456 <!-- CAMBRIA CLIENT for U-EB -->
457 <dependency>
458 <groupId>com.att.nsa</groupId>
459 <artifactId>cambriaClient</artifactId>
460 <version>1.2.1-oss</version>
461 <scope>compile</scope>
462 <exclusions>
463 <exclusion>
464 <groupId>com.att.nsa</groupId>
465 <artifactId>saClientLibrary</artifactId>
466 </exclusion>
467 </exclusions>
468 </dependency>
469
470 <dependency>
471 <groupId>org.json</groupId>
472 <artifactId>json</artifactId>
473 <version>20131018</version>
474 <scope>compile</scope>
475 </dependency>
476
477 <!-- CASSANDRA -->
478 <dependency>
479 <groupId>com.datastax.cassandra</groupId>
480 <artifactId>cassandra-driver-core</artifactId>
481 <version>${cassandra.driver.version}</version>
482 <scope>compile</scope>
483 </dependency>
484 <dependency>
485 <groupId>com.datastax.cassandra</groupId>
486 <artifactId>cassandra-driver-mapping</artifactId>
487 <version>${cassandra.driver.version}</version>
488 <scope>compile</scope>
489 </dependency>
490 <!-- CASSANDRA END -->
491
492 <!-- Inserted for ECOMP Portal Integration -->
493 <dependency>
494 <groupId>org.onap.portal.sdk</groupId>
495 <artifactId>epsdk-fw</artifactId>
496 <version>${ecomp.version}</version>
497 <scope>compile</scope>
498 <exclusions>
499 <exclusion>
500 <groupId>com.att.nsa</groupId>
501 <artifactId>cambriaClient</artifactId>
502 </exclusion>
503 <exclusion>
504 <artifactId>slf4j-log4j12</artifactId>
505 <groupId>org.slf4j</groupId>
506 </exclusion>
507 <exclusion>
508 <groupId>org.onap.aaf.authz</groupId>
509 <artifactId>aaf-cadi-aaf</artifactId>
510 </exclusion>
511 <exclusion>
512 <artifactId>aaf-cadi-core</artifactId>
513 <groupId>org.onap.aaf.authz</groupId>
514 </exclusion>
515 <exclusion>
516 <artifactId>commons-codec</artifactId>
517 <groupId>commons-codec</groupId>
518 </exclusion>
519 </exclusions>
520 </dependency>
521
522 <!--Jetty Proxy-->
523 <dependency>
524 <groupId>org.eclipse.jetty</groupId>
525 <artifactId>jetty-proxy</artifactId>
526 <version>${jetty.version}</version>
527 <scope>compile</scope>
528 </dependency>
529
530 <dependency>
531 <groupId>org.eclipse.jetty</groupId>
532 <artifactId>jetty-servlets</artifactId>
533 <version>${jetty.version}</version>
534 <scope>compile</scope>
535 </dependency>
536 <!-- System metrics -->
537 <dependency>
538 <groupId>org.fusesource</groupId>
539 <artifactId>sigar</artifactId>
540 <version>${sigar.version}</version>
541 <scope>compile</scope>
542 </dependency>
543 <dependency>
544 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
545 <artifactId>dmaapClient</artifactId>
546 <version>1.1.3</version>
547 <scope>compile</scope>
548 <exclusions>
549 <exclusion>
550 <groupId>com.att.aft</groupId>
551 <artifactId>dme2</artifactId>
552 </exclusion>
553 <exclusion>
554 <groupId>com.fasterxml.jackson.core</groupId>
555 <artifactId>jackson-core</artifactId>
556 </exclusion>
557 </exclusions>
558 </dependency>
559 <dependency>
560 <groupId>com.att.aft</groupId>
561 <artifactId>dme2</artifactId>
562 <version>3.1.200-oss</version>
563 </dependency>
564
565 <dependency>
566 <groupId>javax.jms</groupId>
567 <artifactId>jms</artifactId>
568 <version>1.1</version>
569 <scope>provided</scope>
570 </dependency>
571
572 <!-- CADI -->
573 <dependency>
574 <groupId>org.onap.aaf.authz</groupId>
575 <artifactId>aaf-cadi-aaf</artifactId>
576 <version>${cadi.version}</version>
577 <exclusions>
578 <exclusion>
579 <groupId>com.datastax.cassandra</groupId>
580 <artifactId>cassandra-driver-core</artifactId>
581 </exclusion>
582 <exclusion>
583 <groupId>org.slf4j</groupId>
584 <artifactId>slf4j-log4j12</artifactId>
585 </exclusion>
586 </exclusions>
587 </dependency>
588
589 <!-- TEST -->
590 <dependency>
591 <groupId>org.assertj</groupId>
592 <artifactId>assertj-core</artifactId>
593 <scope>test</scope>
594 </dependency>
595
596 <dependency>
597 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
598 <artifactId>jersey-test-framework-provider-bundle</artifactId>
599 <version>${jersey-bom.version}</version>
600 <type>pom</type>
601 <scope>test</scope>
602 </dependency>
603
604 <dependency>
605 <groupId>org.glassfish.jersey.core</groupId>
606 <artifactId>jersey-client</artifactId>
607 <version>${jersey-bom.version}</version>
608 </dependency>
609
610 <dependency>
611 <groupId>org.eclipse.jetty</groupId>
612 <artifactId>jetty-webapp</artifactId>
613 <version>${jetty.version}</version>
614 <scope>test</scope>
615 </dependency>
616
617 <dependency>
618 <groupId>org.hamcrest</groupId>
619 <artifactId>hamcrest</artifactId>
620 <version>${hamcrest.version}</version>
621 <scope>test</scope>
622 </dependency>
623
624 <dependency>
625 <groupId>org.hamcrest</groupId>
626 <artifactId>hamcrest-library</artifactId>
627 <version>${hamcrest.version}</version>
628 <scope>test</scope>
629 </dependency>
630
631 <dependency>
632 <groupId>org.junit.jupiter</groupId>
633 <artifactId>junit-jupiter-api</artifactId>
634 <version>${junitJupiter.version}</version>
635 <scope>test</scope>
636 </dependency>
637
638 <dependency>
639 <groupId>org.junit.jupiter</groupId>
640 <artifactId>junit-jupiter</artifactId>
641 <version>${junitJupiter.version}</version>
642 <scope>test</scope>
643 </dependency>
644
645 <dependency>
646 <groupId>org.junit.platform</groupId>
647 <artifactId>junit-platform-commons</artifactId>
648 <version>${junit.platform.version}</version>
649 <scope>test</scope>
650 </dependency>
651 <dependency>
652 <groupId>org.junit.platform</groupId>
653 <artifactId>junit-platform-engine</artifactId>
654 <version>${junit.platform.version}</version>
655 <scope>test</scope>
656 </dependency>
657 <dependency>
658 <groupId>org.mockito</groupId>
659 <artifactId>mockito-junit-jupiter</artifactId>
660 <version>${mockitoJupiter.version}</version>
661 <scope>test</scope>
662 </dependency>
663
664 <dependency>
665 <groupId>org.springframework</groupId>
666 <artifactId>spring-test</artifactId>
667 <version>${spring.version}</version>
668 <scope>test</scope>
669 </dependency>
670
671 <dependency>
672 <groupId>org.springframework</groupId>
673 <artifactId>spring-tx</artifactId>
674 <version>${spring.version}</version>
675 </dependency>
676
677 <dependency>
678 <groupId>io.cucumber</groupId>
679 <artifactId>cucumber-java</artifactId>
680 <version>${cucumber.version}</version>
681 <scope>test</scope>
682 </dependency>
683
684 <dependency>
685 <groupId>io.cucumber</groupId>
686 <artifactId>cucumber-junit</artifactId>
687 <version>${cucumber.version}</version>
688 <scope>test</scope>
689 </dependency>
690
691 <dependency>
692 <groupId>org.jmockit</groupId>
693 <artifactId>jmockit</artifactId>
694 <version>${jmockit.version}</version>
695 <scope>test</scope>
696 </dependency>
697
698 <dependency>
699 <groupId>com.google.code.bean-matchers</groupId>
700 <artifactId>bean-matchers</artifactId>
701 <version>0.11</version>
702 <scope>test</scope>
703 </dependency>
704
705 <dependency>
706 <groupId>org.codehaus.groovy</groupId>
707 <artifactId>groovy</artifactId>
708 <version>2.4.8</version>
709 </dependency>
710
711 <dependency>
712 <groupId>io.netty</groupId>
713 <artifactId>netty-handler</artifactId>
714 </dependency>
715 <dependency>
716 <groupId>org.onap.sdc.common</groupId>
717 <artifactId>onap-tosca-datatype</artifactId>
718 <version>${project.version}</version>
719 <exclusions>
720 <exclusion>
721 <groupId>com.fasterxml.jackson.core</groupId>
722 <artifactId>jackson-core</artifactId>
723 </exclusion>
724 </exclusions>
725 </dependency>
726 <dependency>
727 <groupId>org.apache.commons</groupId>
728 <artifactId>commons-collections4</artifactId>
729 <version>${commons.collections.version}</version>
730 </dependency>
731 <dependency>
732 <groupId>org.onap.sdc.sdc-be-common</groupId>
733 <artifactId>security-util-lib</artifactId>
734 <version>${security.util.lib.version}</version>
735 </dependency>
736 <dependency>
737 <groupId>org.openecomp.sdc.core</groupId>
738 <artifactId>openecomp-tosca-lib</artifactId>
739 <version>${project.version}</version>
740 <exclusions>
741 <exclusion>
742 <groupId>com.fasterxml.jackson.core</groupId>
743 <artifactId>jackson-core</artifactId>
744 </exclusion>
745 </exclusions>
746 </dependency>
747 </dependencies>
748
749 <build>
750 <finalName>catalog-be</finalName>
vasrazfa5bdf02019-08-26 13:39:26 +0000751 <plugins>
sebdet591810d2020-09-17 15:07:23 +0200752 <plugin>
753 <groupId>org.apache.maven.plugins</groupId>
754 <artifactId>maven-surefire-plugin</artifactId>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +0100755 <configuration>
sebdet591810d2020-09-17 15:07:23 +0200756 <forkCount>1</forkCount>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +0100757 </configuration>
sebdet591810d2020-09-17 15:07:23 +0200758 </plugin>
759 <plugin>
760 <!-- Download Swagger UI webjar. -->
761 <artifactId>maven-dependency-plugin</artifactId>
762 <version>${maven-dependency-plugin.version}</version>
763 <executions>
764 <execution>
765 <phase>prepare-package</phase>
766 <goals>
767 <goal>unpack</goal>
768 </goals>
769 <configuration>
770 <artifactItems>
771 <artifactItem>
772 <groupId>org.webjars</groupId>
773 <artifactId>swagger-ui</artifactId>
774 <version>${swagger-ui.version}</version>
775 </artifactItem>
776 </artifactItems>
777 <outputDirectory>${project.build.directory}/swagger-ui</outputDirectory>
778 </configuration>
779 </execution>
780 </executions>
781 </plugin>
782 <plugin>
783 <!-- Replace the OpenAPI specification example URL with the local one. -->
784 <groupId>com.google.code.maven-replacer-plugin</groupId>
785 <artifactId>replacer</artifactId>
786 <version>${replacer.plugin.version}</version>
787 <executions>
788 <execution>
789 <phase>prepare-package</phase>
790 <goals>
791 <goal>replace</goal>
792 </goals>
793 </execution>
794 </executions>
vasrazfa5bdf02019-08-26 13:39:26 +0000795 <configuration>
sebdet591810d2020-09-17 15:07:23 +0200796 <file>
797 ${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}/index.html
798 </file>
799 <replacements>
800 <replacement>
801 <token>https://petstore.swagger.io/v2/swagger.json</token>
802 <value>/sdc/openapi.json</value>
803 </replacement>
804 </replacements>
vasrazfa5bdf02019-08-26 13:39:26 +0000805 </configuration>
sebdet591810d2020-09-17 15:07:23 +0200806 </plugin>
807 <plugin>
808 <groupId>org.apache.maven.plugins</groupId>
809 <artifactId>maven-war-plugin</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100810 <configuration>
sebdet591810d2020-09-17 15:07:23 +0200811 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
812 WEB-INF/classes/elasticsearch.yml,
813 WEB-INF/classes/portal.properties
814 </packagingExcludes>
815 <archive>
816 <manifestEntries>
817 <SDC-Version>${project.version}</SDC-Version>
818 </manifestEntries>
819 <manifest>
820 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
821 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
822 </manifest>
823 </archive>
824 <attachClasses>true</attachClasses>
825 <webResources combine.children="append">
826 <resource>
827 <directory>
828 ${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}
829 </directory>
830 <includes>
831 <include>**/*.*</include>
832 </includes>
833 <targetPath>swagger-ui</targetPath>
834 </resource>
835 </webResources>
vasraza36531c2020-04-29 18:39:35 +0100836 </configuration>
sebdet591810d2020-09-17 15:07:23 +0200837 </plugin>
838 <plugin>
839 <groupId>com.github.sylvainlaurent.maven</groupId>
840 <artifactId>yaml-json-validator-maven-plugin</artifactId>
841 <executions>
842 <execution>
843 <id>validate</id>
844 <phase>validate</phase>
845 <goals>
846 <goal>validate</goal>
847 </goals>
848 <configuration>
849 <validationSets>
850 <validationSet>
851 <includes>
852 <include>src/main/resources/**/*.y*ml</include>
853 <include>src/test/resources/**/*.y*ml</include>
854 </includes>
855 <excludes>
856 <exclude>src/test/resources/artifacts/pnfSoftwareInformation/**</exclude>
857 </excludes>
858 </validationSet>
859 <validationSet>
860 <includes>
861 <include>src/main/resources/**/*.json</include>
862 <include>src/test/resources/**/*.json</include>
863 </includes>
864 </validationSet>
865 </validationSets>
866 <skip>${skipYamlJsonValidator}</skip>
867 </configuration>
868 </execution>
869 </executions>
870 </plugin>
871 <plugin>
872 <groupId>com.jcabi</groupId>
873 <artifactId>jcabi-maven-plugin</artifactId>
874 <version>${jcabi.maven.plugin.version}</version>
875 <dependencies>
876 <dependency>
877 <groupId>org.aspectj</groupId>
878 <artifactId>aspectjtools</artifactId>
879 <version>1.9.2</version>
880 </dependency>
881 <dependency>
882 <groupId>org.aspectj</groupId>
883 <artifactId>aspectjweaver</artifactId>
884 <version>1.9.2</version>
885 </dependency>
886 </dependencies>
887 <executions>
888 <execution>
889 <goals>
890 <goal>ajc</goal>
891 </goals>
892 </execution>
893 </executions>
894 </plugin>
895 <plugin>
896 <groupId>org.apache.maven.plugins</groupId>
897 <artifactId>maven-assembly-plugin</artifactId>
898 <executions>
899 <execution>
900 <id>normatives</id>
901 <phase>prepare-package</phase>
902 <goals>
903 <goal>single</goal>
904 </goals>
905 <configuration>
906 <finalName>normatives</finalName>
907 <appendAssemblyId>false</appendAssemblyId>
908 <descriptors>
909 <descriptor>src/main/assembly/normatives.xml</descriptor>
910 </descriptors>
911 </configuration>
912 </execution>
913 </executions>
914 </plugin>
915 <plugin>
916 <groupId>org.apache.maven.plugins</groupId>
917 <artifactId>maven-clean-plugin</artifactId>
918 <executions>
919 <execution>
920 <id>clean.sdc.backend.folder</id>
921 <phase>clean</phase>
922 <goals>
923 <goal>clean</goal>
924 </goals>
925 <configuration>
926 <filesets>
927 <fileset>
928 <directory>sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
929 </directory>
930 <followSymlinks>false</followSymlinks>
931 <includes>
932 <include>normatives.tar.gz</include>
933 </includes>
934 </fileset>
935 </filesets>
936 </configuration>
937 </execution>
938 </executions>
939 </plugin>
vasrazfa5bdf02019-08-26 13:39:26 +0000940 </plugins>
sebdet591810d2020-09-17 15:07:23 +0200941
942 <pluginManagement>
943 <plugins>
944 <!--This plugin's configuration is used to store Eclipse m2e settings
945 only. It has no influence on the Maven build itself. -->
946 <plugin>
947 <groupId>org.eclipse.m2e</groupId>
948 <artifactId>lifecycle-mapping</artifactId>
949 <version>1.0.0</version>
950 <configuration>
951 <lifecycleMappingMetadata>
952 <pluginExecutions>
953 <pluginExecution>
954 <pluginExecutionFilter>
955 <groupId>com.googlecode.maven-download-plugin</groupId>
956 <artifactId>download-maven-plugin</artifactId>
957 <versionRange>[1.2.1,)</versionRange>
958 <goals>
959 <goal>wget</goal>
960 </goals>
961 </pluginExecutionFilter>
962 </pluginExecution>
963
964 <pluginExecution>
965 <pluginExecutionFilter>
966 <groupId>com.jcabi</groupId>
967 <artifactId>jcabi-maven-plugin</artifactId>
968 <versionRange>[0.0,)</versionRange>
969 <goals>
970 <goal>ajc</goal>
971 </goals>
972 </pluginExecutionFilter>
973 <action>
974 <execute/>
975 </action>
976 </pluginExecution>
977
978 </pluginExecutions>
979 </lifecycleMappingMetadata>
980 </configuration>
981 </plugin>
982 </plugins>
983 </pluginManagement>
984 <!-- Swagger Plugins End -->
985 </build>
986
987 <profiles>
988 <profile>
989 <id>docker</id>
990 <activation>
991 <activeByDefault>false</activeByDefault>
992 </activation>
993 <build>
994 <plugins>
995 <plugin>
996 <groupId>org.apache.maven.plugins</groupId>
997 <artifactId>maven-resources-plugin</artifactId>
998 <executions>
999 <execution>
1000 <id>copy-normatives</id>
1001 <phase>package</phase>
1002 <goals>
1003 <goal>copy-resources</goal>
1004 </goals>
1005 <configuration>
1006 <outputDirectory>
1007 sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
1008 </outputDirectory>
1009 <resources>
1010 <resource>
1011 <directory>${project.parent.basedir}/catalog-be/target</directory>
1012 <includes>
1013 <include>normatives.tar.gz</include>
1014 </includes>
1015 </resource>
1016 </resources>
1017 </configuration>
1018 </execution>
1019 <execution>
1020 <id>copy-sdc-be-py</id>
1021 <phase>verify</phase>
1022 <goals>
1023 <goal>copy-resources</goal>
1024 </goals>
1025 <configuration>
1026 <outputDirectory>
1027 sdc-backend-init/
1028 </outputDirectory>
1029 <resources>
1030 <resource>
1031 <directory>${project.parent.basedir}/catalog-be/src/main/resources/
1032 </directory>
1033 <includes>
1034 <include>scripts/sdcBePy/**</include>
1035 <inculde>scripts/setup.py</inculde>
1036 </includes>
1037 </resource>
1038 </resources>
1039 </configuration>
1040 </execution>
1041 </executions>
1042 </plugin>
1043 <plugin>
1044 <groupId>io.fabric8</groupId>
1045 <artifactId>docker-maven-plugin</artifactId>
1046 <configuration>
1047 <apiVersion>${docker.api.version}</apiVersion>
1048 <registry>nexus3.onap.org:10001</registry>
1049 <authConfig>
1050 <pull>
1051 <username>docker</username>
1052 <password>docker</password>
1053 </pull>
1054 </authConfig>
1055 <images>
1056
1057 <!-- Build backend image -->
1058 <image>
1059 <name>onap/sdc-backend</name>
1060 <alias>sdc-backend</alias>
1061 <build>
1062 <cleanup>try</cleanup>
1063 <dockerFileDir>backend</dockerFileDir>
1064 <tags>
1065 <tag>${docker.tag}</tag>
1066 <tag>
1067 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1068 </tag>
1069 </tags>
1070 <assembly>
1071 <descriptor>backend/backend-files.xml</descriptor>
1072 <name>onap-sdc-backend</name>
1073 </assembly>
1074 </build>
1075 </image>
1076 <!-- Build backend-init image -->
1077 <image>
1078 <name>onap/sdc-backend-init</name>
1079 <alias>sdc-backend-init</alias>
1080 <build>
1081 <cleanup>try</cleanup>
1082 <dockerFileDir>${project.basedir}/sdc-backend-init</dockerFileDir>
1083 <tags>
1084 <tag>${docker.tag}</tag>
1085 <tag>
1086 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1087 </tag>
1088 </tags>
1089 </build>
1090 </image>
1091 </images>
1092 </configuration>
1093 <executions>
1094 <execution>
1095 <id>clean-images</id>
1096 <phase>pre-clean</phase>
1097 <goals>
1098 <goal>remove</goal>
1099 </goals>
1100 <configuration>
1101 <removeAll>true</removeAll>
1102 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1103 </configuration>
1104 </execution>
1105
1106 <execution>
1107 <id>generate-images</id>
1108 <phase>install</phase>
1109 <goals>
1110 <goal>build</goal>
1111 </goals>
1112 </execution>
1113
1114 <execution>
1115 <id>push-images</id>
1116 <phase>deploy</phase>
1117 <goals>
1118 <goal>push</goal>
1119 </goals>
1120 <configuration>
1121 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1122 </configuration>
1123 </execution>
1124 </executions>
1125 </plugin>
1126 </plugins>
1127 </build>
1128 </profile>
1129 </profiles>
MichaelMorris580e5362020-02-08 22:55:49 +00001130</project>