blob: 7f34e15c56153aa5df378b4a20568747f5c35d1d [file] [log] [blame]
vasrazfa5bdf02019-08-26 13:39:26 +00001<project xmlns="http://maven.apache.org/POM/4.0.0"
vasraza36531c2020-04-29 18:39:35 +01002 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
vasraza36531c2020-04-29 18:39:35 +01006 <artifactId>catalog-be</artifactId>
7 <packaging>war</packaging>
vasrazfa5bdf02019-08-26 13:39:26 +00008
vasraza36531c2020-04-29 18:39:35 +01009 <parent>
10 <groupId>org.openecomp.sdc</groupId>
11 <artifactId>sdc-main</artifactId>
12 <version>1.7.0-SNAPSHOT</version>
13 </parent>
vasrazfa5bdf02019-08-26 13:39:26 +000014
vasraza36531c2020-04-29 18:39:35 +010015 <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>
21 </properties>
vasrazfa5bdf02019-08-26 13:39:26 +000022
vasraza36531c2020-04-29 18:39:35 +010023 <dependencies>
24 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
25 <dependency>
26 <groupId>org.junit.jupiter</groupId>
27 <artifactId>junit-jupiter-engine</artifactId>
28 <version>${junitJupiter.version}</version>
29 <scope>test</scope>
30 </dependency>
31 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
32 <dependency>
33 <groupId>org.junit.vintage</groupId>
34 <artifactId>junit-vintage-engine</artifactId>
35 <version>${junitJupiter.version}</version>
vasraza1bd2352020-05-06 23:57:53 +010036 <scope>test</scope>
vasraza36531c2020-04-29 18:39:35 +010037 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +000038
vasraza36531c2020-04-29 18:39:35 +010039 <!--JSON and YAML Parsing-->
40 <dependency>
41 <groupId>com.fasterxml.jackson.dataformat</groupId>
42 <artifactId>jackson-dataformat-yaml</artifactId>
43 <version>${jackson.version}</version>
44 <scope>compile</scope>
45 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +000046
vasraza36531c2020-04-29 18:39:35 +010047 <dependency>
48 <groupId>com.fasterxml.jackson.core</groupId>
49 <artifactId>jackson-databind</artifactId>
50 <version>${jackson.version}</version>
51 <scope>compile</scope>
52 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +000053
vasraza36531c2020-04-29 18:39:35 +010054 <dependency>
55 <groupId>org.onap.sdc.common</groupId>
56 <artifactId>onap-generic-artifact-browser-service</artifactId>
57 <version>${project.version}</version>
58 <scope>compile</scope>
59 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +000060
vasraza36531c2020-04-29 18:39:35 +010061 <!-- Swagger Dependencies Start -->
62 <dependency>
63 <groupId>io.swagger.core.v3</groupId>
64 <artifactId>swagger-jaxrs2</artifactId>
65 <version>${swagger.version}</version>
66 </dependency>
67 <dependency>
68 <groupId>io.swagger.core.v3</groupId>
69 <artifactId>swagger-annotations</artifactId>
70 <version>${swagger.version}</version>
71 </dependency>
72 <!-- Swagger Dependencies End -->
vasrazfa5bdf02019-08-26 13:39:26 +000073
vasraza36531c2020-04-29 18:39:35 +010074 <dependency>
75 <groupId>org.openecomp.sdc</groupId>
76 <artifactId>common-app-api</artifactId>
77 <version>${project.version}</version>
78 <scope>compile</scope>
79 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +000080
vasraza36531c2020-04-29 18:39:35 +010081 <dependency>
82 <groupId>org.openecomp.sdc.be</groupId>
83 <artifactId>common-be</artifactId>
84 <version>${project.version}</version>
85 <scope>compile</scope>
86 </dependency>
87 <dependency>
88 <groupId>org.openecomp.sdc.be</groupId>
89 <artifactId>common-be</artifactId>
90 <version>${project.version}</version>
91 <type>test-jar</type>
92 <scope>test</scope>
93 </dependency>
94 <dependency>
95 <groupId>org.openecomp.sdc.be</groupId>
96 <artifactId>catalog-dao</artifactId>
97 <version>${project.version}</version>
98 <scope>compile</scope>
99 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000100
vasraza36531c2020-04-29 18:39:35 +0100101 <dependency>
102 <groupId>org.openecomp.sdc.be</groupId>
103 <artifactId>catalog-model</artifactId>
104 <version>${project.version}</version>
105 <scope>compile</scope>
106 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000107
vasraza36531c2020-04-29 18:39:35 +0100108 <dependency>
109 <groupId>ch.qos.logback</groupId>
110 <artifactId>logback-classic</artifactId>
111 <version>${logback.version}</version>
112 <scope>compile</scope>
113 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000114
vasraza36531c2020-04-29 18:39:35 +0100115 <!-- Snake Yaml -->
116 <dependency>
117 <groupId>org.yaml</groupId>
118 <artifactId>snakeyaml</artifactId>
119 <version>${snakeyaml.version}</version>
120 <scope>compile</scope>
121 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000122
vasraza36531c2020-04-29 18:39:35 +0100123 <!-- File changes listener -->
124 <dependency>
125 <groupId>org.apache.commons</groupId>
126 <artifactId>commons-jci-core</artifactId>
127 <version>${commons-jci-core.version}</version>
128 <scope>compile</scope>
129 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000130
vasraza36531c2020-04-29 18:39:35 +0100131 <!-- Gson -->
132 <dependency>
133 <groupId>com.google.code.gson</groupId>
134 <artifactId>gson</artifactId>
135 <version>${gson.version}</version>
136 <scope>compile</scope>
137 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000138
vasraza36531c2020-04-29 18:39:35 +0100139 <!-- jersey -->
140 <dependency>
141 <groupId>org.glassfish.jersey.media</groupId>
142 <artifactId>jersey-media-json-jackson</artifactId>
143 <version>${jersey-bom.version}</version>
144 <scope>compile</scope>
145 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000146
vasraza36531c2020-04-29 18:39:35 +0100147 <dependency>
148 <groupId>org.glassfish.jersey.containers</groupId>
149 <artifactId>jersey-container-servlet-core</artifactId>
150 <version>${jersey-bom.version}</version>
151 <scope>compile</scope>
152 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000153
vasraza36531c2020-04-29 18:39:35 +0100154 <dependency>
155 <groupId>org.glassfish.jersey.media</groupId>
156 <artifactId>jersey-media-multipart</artifactId>
157 <version>${jersey-bom.version}</version>
158 <scope>compile</scope>
159 </dependency>
160 <dependency>
161 <groupId>org.glassfish.jersey.ext</groupId>
162 <artifactId>jersey-spring4</artifactId>
163 <version>${jersey-bom.version}</version>
164 <exclusions>
165 <exclusion>
166 <groupId>org.springframework</groupId>
167 <artifactId>spring-web</artifactId>
168 </exclusion>
169 <exclusion>
170 <groupId>org.springframework</groupId>
171 <artifactId>spring-beans</artifactId>
172 </exclusion>
173 <exclusion>
174 <groupId>org.springframework</groupId>
175 <artifactId>spring-core</artifactId>
176 </exclusion>
177 <exclusion>
178 <groupId>org.springframework</groupId>
179 <artifactId>spring-aop</artifactId>
180 </exclusion>
181 <!-- Transitive dependency of spring-bridge -->
182 <exclusion>
183 <groupId>org.springframework</groupId>
184 <artifactId>spring-context</artifactId>
185 </exclusion>
186 </exclusions>
vasrazfa5bdf02019-08-26 13:39:26 +0000187
vasraza36531c2020-04-29 18:39:35 +0100188 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000189
vasraza36531c2020-04-29 18:39:35 +0100190 <!--asm-all-repackaged is a jersey dependency. in current version jersey depends on a version that was compiled using java 9 compiler
191 currently our jetty (v9.3.6) does not support java 9. as soon as jetty gets upgraded we will remove this dependency-->
192 <dependency>
193 <groupId>org.glassfish.hk2.external</groupId>
194 <artifactId>asm-all-repackaged</artifactId>
195 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000196
vasraza36531c2020-04-29 18:39:35 +0100197 <dependency>
198 <groupId>org.glassfish.jersey.ext</groupId>
199 <artifactId>jersey-bean-validation</artifactId>
200 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000201
vasraza36531c2020-04-29 18:39:35 +0100202 <!-- http client -->
203 <dependency>
204 <groupId>org.apache.httpcomponents</groupId>
205 <artifactId>httpclient</artifactId>
206 <version>${httpclient.version}</version>
207 <scope>compile</scope>
208 </dependency>
209
210 <dependency>
211 <groupId>org.apache.httpcomponents</groupId>
212 <artifactId>httpcore</artifactId>
213 <version>${httpcore.version}</version>
214 <scope>compile</scope>
215 </dependency>
216
217 <dependency>
218 <groupId>commons-logging</groupId>
219 <artifactId>commons-logging</artifactId>
220 <version>${commons-logging}</version>
221 <scope>compile</scope>
222 </dependency>
223
224 <dependency>
225 <groupId>commons-codec</groupId>
226 <artifactId>commons-codec</artifactId>
227 <version>${commons-codec}</version>
228 <scope>compile</scope>
229 </dependency>
230 <!-- http client END -->
231
232 <dependency>
233 <groupId>javax.servlet</groupId>
234 <artifactId>javax.servlet-api</artifactId>
235 <version>${servlet-api.version}</version>
236 <scope>provided</scope>
237 </dependency>
238
239 <dependency>
240 <groupId>org.eclipse.jgit</groupId>
241 <artifactId>org.eclipse.jgit</artifactId>
242 <version>3.4.1.201406201815-r</version>
243 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000244
vasraza36531c2020-04-29 18:39:35 +0100245 <!-- spring - used by A4C -->
246 <dependency>
247 <groupId>org.springframework</groupId>
248 <artifactId>spring-core</artifactId>
249 <version>${spring.version}</version>
250 <scope>compile</scope>
251 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000252
vasraza36531c2020-04-29 18:39:35 +0100253 <dependency>
254 <groupId>org.springframework</groupId>
255 <artifactId>spring-context</artifactId>
256 <version>${spring.version}</version>
257 <scope>compile</scope>
258 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000259
vasraza36531c2020-04-29 18:39:35 +0100260 <dependency>
261 <groupId>org.springframework</groupId>
262 <artifactId>spring-web</artifactId>
263 <version>${spring.version}</version>
264 <scope>compile</scope>
265 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000266
vasraza36531c2020-04-29 18:39:35 +0100267 <dependency>
268 <groupId>org.springframework</groupId>
269 <artifactId>spring-webmvc</artifactId>
270 <version>${spring.version}</version>
271 <scope>compile</scope>
272 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000273
vasraza36531c2020-04-29 18:39:35 +0100274 <dependency>
275 <groupId>org.springframework</groupId>
276 <artifactId>spring-aop</artifactId>
277 <version>${spring.version}</version>
278 <scope>compile</scope>
279 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000280
vasraza36531c2020-04-29 18:39:35 +0100281 <dependency>
282 <groupId>org.springframework</groupId>
283 <artifactId>spring-beans</artifactId>
284 <version>${spring.version}</version>
285 <scope>compile</scope>
286 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000287
vasraza36531c2020-04-29 18:39:35 +0100288 <dependency>
289 <groupId>org.springframework</groupId>
290 <artifactId>spring-expression</artifactId>
291 <version>${spring.version}</version>
292 <scope>compile</scope>
293 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000294
vasraza36531c2020-04-29 18:39:35 +0100295 <!-- Spring integration (optional) -->
296 <dependency>
297 <groupId>org.togglz</groupId>
298 <artifactId>togglz-spring-web</artifactId>
299 <version>${togglz.version}</version>
300 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000301
vasraza36531c2020-04-29 18:39:35 +0100302 <dependency>
303 <groupId>org.codehaus.janino</groupId>
304 <artifactId>janino</artifactId>
305 <version>${janino.version}</version>
306 <scope>compile</scope>
307 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000308
vasraza36531c2020-04-29 18:39:35 +0100309 <dependency>
310 <groupId>org.codehaus.janino</groupId>
311 <artifactId>commons-compiler</artifactId>
312 <version>${janino.version}</version>
313 <scope>compile</scope>
314 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000315
vasraza36531c2020-04-29 18:39:35 +0100316 <dependency>
317 <groupId>com.google.guava</groupId>
318 <artifactId>guava</artifactId>
319 <version>${guava.version}</version>
320 <scope>compile</scope>
321 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000322
vasraza36531c2020-04-29 18:39:35 +0100323 <dependency>
324 <groupId>org.janusgraph</groupId>
325 <artifactId>janusgraph-core</artifactId>
326 <version>${janusgraph.version}</version>
327 <scope>compile</scope>
328 <exclusions>
329 <exclusion>
330 <groupId>org.json</groupId>
331 <artifactId>json</artifactId>
332 </exclusion>
333 <exclusion>
334 <artifactId>slf4j-log4j12</artifactId>
335 <groupId>org.slf4j</groupId>
336 </exclusion>
337 <exclusion>
338 <artifactId>commons-collections</artifactId>
339 <groupId>commons-collections</groupId>
340 </exclusion>
341 <exclusion>
342 <groupId>org.apache.thrift</groupId>
343 <artifactId>libthrift</artifactId>
344 </exclusion>
345 </exclusions>
346 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000347
vasraza36531c2020-04-29 18:39:35 +0100348 <dependency>
349 <groupId>org.janusgraph</groupId>
350 <artifactId>janusgraph-cql</artifactId>
351 <version>${janusgraph.version}</version>
352 <scope>compile</scope>
353 <exclusions>
354 <exclusion>
355 <groupId>org.slf4j</groupId>
356 <artifactId>slf4j-log4j12</artifactId>
357 </exclusion>
358 <exclusion>
359 <groupId>org.json</groupId>
360 <artifactId>json</artifactId>
361 </exclusion>
362 <exclusion>
363 <artifactId>commons-collections</artifactId>
364 <groupId>commons-collections</groupId>
365 </exclusion>
366 <exclusion>
367 <artifactId>groovy</artifactId>
368 <groupId>org.codehaus.groovy</groupId>
369 </exclusion>
370 <exclusion>
371 <groupId>io.netty</groupId>
372 <artifactId>netty-all</artifactId>
373 </exclusion>
374 </exclusions>
375 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000376
vasraza36531c2020-04-29 18:39:35 +0100377 <dependency>
378 <groupId>org.apache.commons</groupId>
379 <artifactId>commons-lang3</artifactId>
380 <version>${lang3.version}</version>
381 <scope>compile</scope>
382 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000383
vasraza36531c2020-04-29 18:39:35 +0100384 <dependency>
385 <groupId>com.googlecode.json-simple</groupId>
386 <artifactId>json-simple</artifactId>
387 <version>${json-simple.version}</version>
388 <scope>compile</scope>
vasrazfa5bdf02019-08-26 13:39:26 +0000389
vasraza36531c2020-04-29 18:39:35 +0100390 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000391
vasraza36531c2020-04-29 18:39:35 +0100392 <!-- functional java -->
393 <dependency>
394 <groupId>org.functionaljava</groupId>
395 <artifactId>functionaljava</artifactId>
396 <version>${functionaljava.version}</version>
397 <scope>compile</scope>
398 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000399
vasraza36531c2020-04-29 18:39:35 +0100400 <!-- Aspects -->
401 <dependency>
402 <groupId>com.jcabi</groupId>
403 <artifactId>jcabi-aspects</artifactId>
404 <version>${jcabi.version}</version>
405 <scope>compile</scope>
406 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000407
vasraza36531c2020-04-29 18:39:35 +0100408 <dependency>
409 <groupId>org.aspectj</groupId>
410 <artifactId>aspectjrt</artifactId>
411 <version>${aspectjrt.version}</version>
412 <scope>compile</scope>
413 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000414
vasrazfa5bdf02019-08-26 13:39:26 +0000415
vasraza36531c2020-04-29 18:39:35 +0100416 <!-- CAMBRIA CLIENT for U-EB -->
417 <dependency>
418 <groupId>com.att.nsa</groupId>
419 <artifactId>cambriaClient</artifactId>
420 <version>1.2.1-oss</version>
421 <scope>compile</scope>
422 <exclusions>
423 <exclusion>
424 <groupId>com.att.nsa</groupId>
425 <artifactId>saClientLibrary</artifactId>
426 </exclusion>
427 </exclusions>
428 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000429
vasraza36531c2020-04-29 18:39:35 +0100430 <dependency>
431 <groupId>org.json</groupId>
432 <artifactId>json</artifactId>
433 <version>20131018</version>
434 <scope>compile</scope>
435 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000436
vasraza36531c2020-04-29 18:39:35 +0100437 <!-- CASSANDRA -->
438 <dependency>
439 <groupId>com.datastax.cassandra</groupId>
440 <artifactId>cassandra-driver-core</artifactId>
441 <version>${cassandra.driver.version}</version>
442 <scope>compile</scope>
443 </dependency>
444 <dependency>
445 <groupId>com.datastax.cassandra</groupId>
446 <artifactId>cassandra-driver-mapping</artifactId>
447 <version>${cassandra.driver.version}</version>
448 <scope>compile</scope>
449 </dependency>
450 <!-- CASSANDRA END -->
vasrazfa5bdf02019-08-26 13:39:26 +0000451
vasraza36531c2020-04-29 18:39:35 +0100452 <!-- Inserted for ECOMP Portal Integration -->
453 <dependency>
454 <groupId>org.onap.portal.sdk</groupId>
455 <artifactId>epsdk-fw</artifactId>
456 <version>${ecomp.version}</version>
457 <scope>compile</scope>
458 <exclusions>
459 <exclusion>
460 <groupId>com.att.nsa</groupId>
461 <artifactId>cambriaClient</artifactId>
462 </exclusion>
463 <exclusion>
464 <artifactId>slf4j-log4j12</artifactId>
465 <groupId>org.slf4j</groupId>
466 </exclusion>
467 <exclusion>
vasraza36531c2020-04-29 18:39:35 +0100468 <groupId>org.onap.aaf.authz</groupId>
469 <artifactId>aaf-cadi-aaf</artifactId>
470 </exclusion>
471 <exclusion>
472 <artifactId>aaf-cadi-core</artifactId>
473 <groupId>org.onap.aaf.authz</groupId>
474 </exclusion>
475 <exclusion>
476 <artifactId>commons-codec</artifactId>
477 <groupId>commons-codec</groupId>
478 </exclusion>
479 </exclusions>
480 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000481
vasraza36531c2020-04-29 18:39:35 +0100482 <!--Jetty Proxy-->
483 <dependency>
484 <groupId>org.eclipse.jetty</groupId>
485 <artifactId>jetty-proxy</artifactId>
486 <version>${jetty.version}</version>
487 <scope>compile</scope>
488 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000489
vasraza36531c2020-04-29 18:39:35 +0100490 <dependency>
491 <groupId>org.eclipse.jetty</groupId>
492 <artifactId>jetty-servlets</artifactId>
493 <version>${jetty.version}</version>
494 <scope>compile</scope>
495 </dependency>
496 <!-- System metrics -->
497 <dependency>
498 <groupId>org.fusesource</groupId>
499 <artifactId>sigar</artifactId>
500 <version>${sigar.version}</version>
501 <scope>compile</scope>
502 </dependency>
503 <dependency>
504 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
505 <artifactId>dmaapClient</artifactId>
506 <version>1.1.3</version>
507 <scope>compile</scope>
508 <exclusions>
509 <exclusion>
510 <groupId>com.att.aft</groupId>
511 <artifactId>dme2</artifactId>
512 </exclusion>
513 </exclusions>
514 </dependency>
515 <dependency>
516 <groupId>com.att.aft</groupId>
517 <artifactId>dme2</artifactId>
518 <version>3.1.200-oss</version>
519 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000520
vasraza36531c2020-04-29 18:39:35 +0100521 <dependency>
522 <groupId>javax.jms</groupId>
523 <artifactId>jms</artifactId>
524 <version>1.1</version>
525 <scope>provided</scope>
526 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000527
vasraza36531c2020-04-29 18:39:35 +0100528 <!-- CADI -->
529 <dependency>
530 <groupId>org.onap.aaf.authz</groupId>
531 <artifactId>aaf-cadi-aaf</artifactId>
532 <version>${cadi.version}</version>
533 <exclusions>
534 <exclusion>
535 <groupId>com.datastax.cassandra</groupId>
536 <artifactId>cassandra-driver-core</artifactId>
537 </exclusion>
538 <exclusion>
539 <groupId>org.slf4j</groupId>
540 <artifactId>slf4j-log4j12</artifactId>
541 </exclusion>
542 </exclusions>
543 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000544
vasraza36531c2020-04-29 18:39:35 +0100545 <!-- TEST -->
546 <dependency>
547 <groupId>org.assertj</groupId>
548 <artifactId>assertj-core</artifactId>
549 <scope>test</scope>
550 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000551
vasraza36531c2020-04-29 18:39:35 +0100552 <dependency>
553 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
554 <artifactId>jersey-test-framework-provider-bundle</artifactId>
555 <version>${jersey-bom.version}</version>
556 <type>pom</type>
557 <scope>test</scope>
558 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000559
vasraza36531c2020-04-29 18:39:35 +0100560 <dependency>
561 <groupId>org.glassfish.jersey.core</groupId>
562 <artifactId>jersey-client</artifactId>
563 <version>${jersey-bom.version}</version>
564 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000565
vasraza36531c2020-04-29 18:39:35 +0100566 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100567 <groupId>org.eclipse.jetty</groupId>
568 <artifactId>jetty-webapp</artifactId>
569 <version>${jetty.version}</version>
570 <scope>test</scope>
571 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000572
vasraza36531c2020-04-29 18:39:35 +0100573 <dependency>
574 <groupId>org.hamcrest</groupId>
575 <artifactId>hamcrest</artifactId>
576 <version>${hamcrest.version}</version>
577 <scope>test</scope>
578 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000579
vasraza36531c2020-04-29 18:39:35 +0100580 <dependency>
581 <groupId>org.hamcrest</groupId>
582 <artifactId>hamcrest-library</artifactId>
583 <version>${hamcrest.version}</version>
584 <scope>test</scope>
585 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000586
vasraza36531c2020-04-29 18:39:35 +0100587 <dependency>
588 <groupId>org.junit.jupiter</groupId>
589 <artifactId>junit-jupiter-api</artifactId>
590 <version>${junitJupiter.version}</version>
591 <scope>test</scope>
592 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000593
vasraza36531c2020-04-29 18:39:35 +0100594 <dependency>
595 <groupId>org.junit.jupiter</groupId>
596 <artifactId>junit-jupiter</artifactId>
597 <version>${junitJupiter.version}</version>
598 <scope>test</scope>
599 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000600
vasraza36531c2020-04-29 18:39:35 +0100601 <dependency>
602 <groupId>org.junit.platform</groupId>
603 <artifactId>junit-platform-commons</artifactId>
604 <version>${junit.platform.version}</version>
605 <scope>test</scope>
606 </dependency>
607 <dependency>
608 <groupId>org.junit.platform</groupId>
609 <artifactId>junit-platform-engine</artifactId>
610 <version>${junit.platform.version}</version>
611 <scope>test</scope>
612 </dependency>
613 <dependency>
614 <groupId>org.mockito</groupId>
615 <artifactId>mockito-junit-jupiter</artifactId>
616 <version>${mockitoJupiter.version}</version>
617 <scope>test</scope>
618 </dependency>
andre.schmidcd6f9332020-01-29 17:25:21 +0000619
vasraza36531c2020-04-29 18:39:35 +0100620 <dependency>
621 <groupId>org.springframework</groupId>
622 <artifactId>spring-test</artifactId>
623 <version>${spring.version}</version>
624 <scope>test</scope>
625 </dependency>
andre.schmidcd6f9332020-01-29 17:25:21 +0000626
vasraza36531c2020-04-29 18:39:35 +0100627 <dependency>
628 <groupId>org.springframework</groupId>
629 <artifactId>spring-tx</artifactId>
630 <version>${spring.version}</version>
631 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000632
vasraza36531c2020-04-29 18:39:35 +0100633 <dependency>
634 <groupId>io.cucumber</groupId>
635 <artifactId>cucumber-java</artifactId>
636 <version>${cucumber.version}</version>
637 <scope>test</scope>
638 </dependency>
Baumel, Dvir (db384r)3e879322020-03-23 16:21:05 +0200639
vasraza36531c2020-04-29 18:39:35 +0100640 <dependency>
641 <groupId>io.cucumber</groupId>
642 <artifactId>cucumber-junit</artifactId>
643 <version>${cucumber.version}</version>
644 <scope>test</scope>
645 </dependency>
Baumel, Dvir (db384r)3e879322020-03-23 16:21:05 +0200646
vasraza36531c2020-04-29 18:39:35 +0100647 <dependency>
648 <groupId>org.jmockit</groupId>
649 <artifactId>jmockit</artifactId>
650 <version>${jmockit.version}</version>
651 <scope>test</scope>
652 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000653
vasraza36531c2020-04-29 18:39:35 +0100654 <dependency>
655 <groupId>com.google.code.bean-matchers</groupId>
656 <artifactId>bean-matchers</artifactId>
657 <version>0.11</version>
658 <scope>test</scope>
659 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000660
vasraza36531c2020-04-29 18:39:35 +0100661 <dependency>
662 <groupId>org.codehaus.groovy</groupId>
663 <artifactId>groovy</artifactId>
664 <version>2.4.8</version>
665 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000666
vasraza36531c2020-04-29 18:39:35 +0100667 <dependency>
668 <groupId>io.netty</groupId>
669 <artifactId>netty-handler</artifactId>
670 </dependency>
671 <dependency>
672 <groupId>org.onap.sdc.common</groupId>
673 <artifactId>onap-tosca-datatype</artifactId>
674 <version>${project.version}</version>
675 </dependency>
676 <dependency>
677 <groupId>org.apache.commons</groupId>
678 <artifactId>commons-collections4</artifactId>
679 <version>${commons.collections.version}</version>
680 </dependency>
681 <dependency>
682 <groupId>org.codehaus.jackson</groupId>
683 <artifactId>jackson-mapper-asl</artifactId>
684 <version>${jackson.mapper.version}</version>
685 </dependency>
686 <dependency>
687 <groupId>org.onap.sdc.sdc-be-common</groupId>
688 <artifactId>security-util-lib</artifactId>
689 <version>${security.util.lib.version}</version>
690 </dependency>
vasrazcea49432020-04-24 13:57:10 +0100691 <dependency>
692 <groupId>org.openecomp.sdc.core</groupId>
693 <artifactId>openecomp-tosca-lib</artifactId>
694 <version>${project.version}</version>
695 </dependency>
vasraza36531c2020-04-29 18:39:35 +0100696 </dependencies>
vasrazfa5bdf02019-08-26 13:39:26 +0000697
vasraza36531c2020-04-29 18:39:35 +0100698 <build>
699 <finalName>${project.artifactId}-${project.version}</finalName>
700 <plugins>
701 <plugin>
702 <!-- Download Swagger UI webjar. -->
703 <artifactId>maven-dependency-plugin</artifactId>
704 <version>${maven-dependency-plugin.version}</version>
705 <executions>
706 <execution>
707 <phase>prepare-package</phase>
708 <goals>
709 <goal>unpack</goal>
710 </goals>
711 <configuration>
712 <artifactItems>
713 <artifactItem>
714 <groupId>org.webjars</groupId>
715 <artifactId>swagger-ui</artifactId>
716 <version>${swagger-ui.version}</version>
717 </artifactItem>
718 </artifactItems>
719 <outputDirectory>${project.build.directory}/swagger-ui</outputDirectory>
720 </configuration>
721 </execution>
722 </executions>
723 </plugin>
724 <plugin>
725 <!-- Replace the OpenAPI specification example URL with the local one. -->
726 <groupId>com.google.code.maven-replacer-plugin</groupId>
727 <artifactId>replacer</artifactId>
728 <version>${replacer.plugin.version}</version>
729 <executions>
730 <execution>
731 <phase>prepare-package</phase>
732 <goals>
733 <goal>replace</goal>
734 </goals>
735 </execution>
736 </executions>
737 <configuration>
738 <file>
739 ${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}/index.html
740 </file>
741 <replacements>
742 <replacement>
743 <token>https://petstore.swagger.io/v2/swagger.json</token>
744 <value>/sdc/openapi.json</value>
745 </replacement>
746 </replacements>
747 </configuration>
748 </plugin>
749 <plugin>
750 <groupId>org.apache.maven.plugins</groupId>
751 <artifactId>maven-war-plugin</artifactId>
752 <configuration>
753 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
754 WEB-INF/classes/elasticsearch.yml,
755 WEB-INF/classes/portal.properties
756 </packagingExcludes>
757 <archive>
758 <manifestEntries>
759 <SDC-Version>${project.version}</SDC-Version>
760 </manifestEntries>
761 <manifest>
762 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
763 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
764 </manifest>
765 </archive>
766 <attachClasses>true</attachClasses>
767 <webResources combine.children="append">
768 <resource>
769 <directory>
770 ${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}
771 </directory>
772 <includes>
773 <include>**/*.*</include>
774 </includes>
775 <targetPath>swagger-ui</targetPath>
776 </resource>
777 </webResources>
778 </configuration>
779 </plugin>
780 <plugin>
781 <groupId>com.github.sylvainlaurent.maven</groupId>
782 <artifactId>yaml-json-validator-maven-plugin</artifactId>
783 <executions>
784 <execution>
785 <id>validate</id>
786 <phase>validate</phase>
787 <goals>
788 <goal>validate</goal>
789 </goals>
790 <configuration>
791 <validationSets>
792 <validationSet>
793 <includes>
794 <include>src/main/resources/**/*.y*ml</include>
795 <include>src/test/resources/**/*.y*ml</include>
796 </includes>
797 <excludes>
798 <exclude>src/test/resources/artifacts/pnfSoftwareInformation/**</exclude>
799 </excludes>
800 </validationSet>
801 <validationSet>
802 <includes>
803 <include>src/main/resources/**/*.json</include>
804 <include>src/test/resources/**/*.json</include>
805 </includes>
806 </validationSet>
807 </validationSets>
808 </configuration>
809 </execution>
810 </executions>
811 </plugin>
812 <plugin>
813 <groupId>com.jcabi</groupId>
814 <artifactId>jcabi-maven-plugin</artifactId>
815 <version>${jcabi.maven.plugin.version}</version>
816 <executions>
817 <execution>
818 <goals>
819 <goal>ajc</goal>
820 </goals>
821 </execution>
822 </executions>
823 </plugin>
824 <plugin>
825 <groupId>org.apache.maven.plugins</groupId>
826 <artifactId>maven-assembly-plugin</artifactId>
827 <executions>
828 <execution>
829 <id>normatives</id>
830 <phase>prepare-package</phase>
831 <goals>
832 <goal>single</goal>
833 </goals>
834 <configuration>
835 <finalName>normatives</finalName>
836 <appendAssemblyId>false</appendAssemblyId>
837 <descriptors>
838 <descriptor>src/main/assembly/normatives.xml</descriptor>
839 </descriptors>
840 </configuration>
841 </execution>
842 </executions>
843 </plugin>
844 <plugin>
845 <groupId>org.apache.maven.plugins</groupId>
846 <artifactId>maven-clean-plugin</artifactId>
847 <executions>
848 <execution>
849 <id>clean.sdc.backend.folder</id>
850 <phase>clean</phase>
851 <goals>
852 <goal>clean</goal>
853 </goals>
854 <configuration>
855 <filesets>
856 <!-- static configuration files -->
857 <fileset>
858 <directory>
859 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
860 </directory>
861 <followSymlinks>false</followSymlinks>
862 <includes>
863 <include>Artifact-Generator.properties</include>
864 <include>error-configuration.yaml</include>
865 <include>ecomp-error-configuration.yaml</include>
866 <include>logback.xml</include>
867 </includes>
868 </fileset>
869 <!-- BE WAR's -->
870 <fileset>
871 <directory>${project.parent.basedir}/catalog-be/sdc-backend</directory>
872 <followSymlinks>false</followSymlinks>
873 <includes>
874 <include>*.war</include>
875 <include>context.xml</include>
876 </includes>
877 </fileset>
878 <fileset>
andre.schmid75dd0bb2020-05-07 09:15:56 +0100879 <directory>sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default</directory>
vasraza36531c2020-04-29 18:39:35 +0100880 <followSymlinks>false</followSymlinks>
881 <includes>
882 <include>normatives.tar.gz</include>
883 </includes>
884 </fileset>
885 </filesets>
886 </configuration>
887 </execution>
888 <execution>
889 <id>clean-static-files</id>
890 <phase>clean</phase>
891 <goals>
892 <goal>clean</goal>
893 </goals>
894 <configuration>
895 <filesets>
896 <!-- tosca files -->
897 <fileset>
898 <directory>${project.parent.basedir}/asdctool/tosca</directory>
899 <followSymlinks>false</followSymlinks>
900 </fileset>
901 </filesets>
902 </configuration>
903 </execution>
904 </executions>
905 </plugin>
906 <plugin>
907 <groupId>org.apache.maven.plugins</groupId>
908 <artifactId>maven-resources-plugin</artifactId>
909 <executions>
910 <execution>
911 <id>copy-static-configuration-files</id>
912 <phase>verify</phase>
913 <goals>
914 <goal>copy-resources</goal>
915 </goals>
916 <configuration>
917 <outputDirectory>
918 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
919 </outputDirectory>
920 <resources>
921 <resource>
922 <directory>${project.parent.basedir}/catalog-be/src/main/resources/config
923 </directory>
924 <includes>
925 <include>Artifact-Generator.properties</include>
926 <include>error-configuration.yaml</include>
927 <include>ecomp-error-configuration.yaml</include>
928 <include>logback.xml</include>
929 </includes>
930 </resource>
931 </resources>
932 </configuration>
933 </execution>
934 <execution>
935 <id>copy-tosca-folder</id>
936 <!-- here the phase you need -->
937 <phase>install</phase>
938 <goals>
939 <goal>copy-resources</goal>
940 </goals>
941 <configuration>
942 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
943 <resources>
944 <resource>
945 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
946 </directory>
947 <filtering>true</filtering>
948 </resource>
949 </resources>
950 </configuration>
951 </execution>
952 </executions>
953 </plugin>
954 </plugins>
vasrazfa5bdf02019-08-26 13:39:26 +0000955
vasraza36531c2020-04-29 18:39:35 +0100956 <pluginManagement>
957 <plugins>
958 <!--This plugin's configuration is used to store Eclipse m2e settings
959 only. It has no influence on the Maven build itself. -->
960 <plugin>
961 <groupId>org.eclipse.m2e</groupId>
962 <artifactId>lifecycle-mapping</artifactId>
963 <version>1.0.0</version>
964 <configuration>
965 <lifecycleMappingMetadata>
966 <pluginExecutions>
967 <pluginExecution>
968 <pluginExecutionFilter>
969 <groupId>com.googlecode.maven-download-plugin</groupId>
970 <artifactId>download-maven-plugin</artifactId>
971 <versionRange>[1.2.1,)</versionRange>
972 <goals>
973 <goal>wget</goal>
974 </goals>
975 </pluginExecutionFilter>
976 </pluginExecution>
vasrazfa5bdf02019-08-26 13:39:26 +0000977
vasraza36531c2020-04-29 18:39:35 +0100978 <pluginExecution>
979 <pluginExecutionFilter>
980 <groupId>com.jcabi</groupId>
981 <artifactId>jcabi-maven-plugin</artifactId>
982 <versionRange>[0.0,)</versionRange>
983 <goals>
984 <goal>ajc</goal>
985 </goals>
986 </pluginExecutionFilter>
987 <action>
988 <execute/>
989 </action>
990 </pluginExecution>
vasrazfa5bdf02019-08-26 13:39:26 +0000991
vasraza36531c2020-04-29 18:39:35 +0100992 </pluginExecutions>
993 </lifecycleMappingMetadata>
994 </configuration>
995 </plugin>
996 </plugins>
997 </pluginManagement>
998 <!-- Swagger Plugins End -->
999 </build>
vasrazfa5bdf02019-08-26 13:39:26 +00001000
vasraza36531c2020-04-29 18:39:35 +01001001 <profiles>
1002 <profile>
1003 <id>docker-staging</id>
1004 <properties>
1005 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
1006 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
1007 </properties>
1008 </profile>
vasrazfa5bdf02019-08-26 13:39:26 +00001009
vasraza36531c2020-04-29 18:39:35 +01001010 <profile>
1011 <id>docker</id>
1012 <activation>
1013 <activeByDefault>false</activeByDefault>
1014 </activation>
1015 <build>
vasrazfa5bdf02019-08-26 13:39:26 +00001016 <plugins>
vasraza36531c2020-04-29 18:39:35 +01001017 <plugin>
1018 <artifactId>maven-antrun-plugin</artifactId>
1019 <version>1.8</version>
1020 <executions>
1021 <execution>
1022 <id>copy-context-file</id>
1023 <phase>validate</phase>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +01001024 <configuration>
vasraza36531c2020-04-29 18:39:35 +01001025 <target>
1026 <copy file="sdc-backend/context.xml.template" tofile="sdc-backend/context.xml"
1027 overwrite="true"/>
1028 </target>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +01001029 </configuration>
vasraza36531c2020-04-29 18:39:35 +01001030 <goals>
1031 <goal>run</goal>
1032 </goals>
1033 </execution>
1034 <execution>
1035 <id>set-version-in-context-file</id>
1036 <phase>generate-resources</phase>
vasrazfa5bdf02019-08-26 13:39:26 +00001037 <configuration>
vasraza36531c2020-04-29 18:39:35 +01001038 <target>
1039 <replace file="sdc-backend/context.xml">
1040 <replacetoken>projectversion</replacetoken>
1041 <replacevalue>${project.version}</replacevalue>
1042 </replace>
1043 </target>
vasrazfa5bdf02019-08-26 13:39:26 +00001044 </configuration>
vasraza36531c2020-04-29 18:39:35 +01001045 <goals>
1046 <goal>run</goal>
1047 </goals>
1048 </execution>
1049 </executions>
1050 </plugin>
1051 <plugin>
1052 <groupId>org.apache.maven.plugins</groupId>
1053 <artifactId>maven-resources-plugin</artifactId>
1054 <executions>
1055 <execution>
1056 <id>copy-resources-be</id>
1057 <phase>verify</phase>
1058 <goals>
1059 <goal>copy-resources</goal>
1060 </goals>
1061 <configuration>
1062 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
1063 <resources>
1064 <resource>
1065 <directory>${project.parent.basedir}/catalog-be/target</directory>
1066 <includes>
1067 <include>catalog-be-${project.version}.war</include>
1068 </includes>
1069 </resource>
1070 </resources>
1071 </configuration>
1072 </execution>
1073 <execution>
1074 <id>copy-normatives</id>
1075 <phase>package</phase>
1076 <goals>
1077 <goal>copy-resources</goal>
1078 </goals>
1079 <configuration>
1080 <outputDirectory>
1081 sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
1082 </outputDirectory>
1083 <resources>
1084 <resource>
1085 <directory>${project.parent.basedir}/catalog-be/target</directory>
1086 <includes>
1087 <include>normatives.tar.gz</include>
1088 </includes>
1089 </resource>
1090 </resources>
1091 </configuration>
1092 </execution>
1093 </executions>
1094 </plugin>
1095 <plugin>
1096 <groupId>io.fabric8</groupId>
1097 <artifactId>docker-maven-plugin</artifactId>
1098 <configuration>
1099 <apiVersion>1.23</apiVersion>
1100 <registry>nexus3.onap.org:10001</registry>
1101 <authConfig>
1102 <pull>
1103 <username>docker</username>
1104 <password>docker</password>
1105 </pull>
1106 </authConfig>
1107 <images>
1108
1109 <!-- Build backend image -->
1110 <image>
1111 <name>onap/sdc-backend</name>
1112 <alias>sdc-backend</alias>
1113 <build>
1114 <cleanup>try</cleanup>
1115 <dockerFileDir>${project.basedir}/sdc-backend</dockerFileDir>
1116 <tags>
1117 <tag>${docker.tag}</tag>
1118 <tag>
1119 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1120 </tag>
1121 </tags>
1122 </build>
1123 </image>
1124 <!-- Build backend-init image -->
1125 <image>
1126 <name>onap/sdc-backend-init</name>
1127 <alias>sdc-backend-init</alias>
1128 <build>
1129 <cleanup>try</cleanup>
1130 <dockerFileDir>${project.basedir}/sdc-backend-init</dockerFileDir>
1131 <tags>
1132 <tag>${docker.tag}</tag>
1133 <tag>
1134 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1135 </tag>
1136 </tags>
1137 </build>
1138 </image>
1139 </images>
1140 </configuration>
1141 <executions>
1142 <execution>
1143 <id>clean-images</id>
1144 <phase>pre-clean</phase>
1145 <goals>
1146 <goal>remove</goal>
1147 </goals>
1148 <configuration>
1149 <removeAll>true</removeAll>
1150 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1151 </configuration>
1152 </execution>
1153
1154 <execution>
1155 <id>generate-images</id>
1156 <phase>install</phase>
1157 <goals>
1158 <goal>build</goal>
1159 </goals>
1160 </execution>
1161
1162 <execution>
1163 <id>push-images</id>
1164 <phase>deploy</phase>
1165 <goals>
1166 <goal>push</goal>
1167 </goals>
1168 <configuration>
1169 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1170 </configuration>
1171 </execution>
1172 </executions>
1173 </plugin>
vasrazfa5bdf02019-08-26 13:39:26 +00001174 </plugins>
vasraza36531c2020-04-29 18:39:35 +01001175 </build>
1176 </profile>
1177 </profiles>
MichaelMorris580e5362020-02-08 22:55:49 +00001178</project>