blob: 3a9e72d972c3d5487acd09856953dcc86abdcb33 [file] [log] [blame]
vasrazfa5bdf02019-08-26 13:39:26 +00001<project xmlns="http://maven.apache.org/POM/4.0.0"
ys969316a9fce2020-01-19 13:50:02 +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
ys969316a9fce2020-01-19 13:50:02 +02006 <artifactId>catalog-be</artifactId>
7 <packaging>war</packaging>
vasrazfa5bdf02019-08-26 13:39:26 +00008
ys969316a9fce2020-01-19 13:50:02 +02009 <parent>
10 <groupId>org.openecomp.sdc</groupId>
11 <artifactId>sdc-main</artifactId>
Ofir Sonsino09d87892020-03-12 20:52:42 +020012 <version>1.7.0-SNAPSHOT</version>
ys969316a9fce2020-01-19 13:50:02 +020013 </parent>
vasrazfa5bdf02019-08-26 13:39:26 +000014
ys969316a9fce2020-01-19 13:50:02 +020015 <properties>
16 <java-hamcrest.version>2.0.0.0</java-hamcrest.version>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +010017 <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>
ys969316a9fce2020-01-19 13:50:02 +020021 </properties>
vasrazfa5bdf02019-08-26 13:39:26 +000022
ys969316a9fce2020-01-19 13:50:02 +020023 <dependencies>
24 <!--JSON and YAML Parsing-->
25 <dependency>
26 <groupId>com.fasterxml.jackson.dataformat</groupId>
27 <artifactId>jackson-dataformat-yaml</artifactId>
28 <version>${jackson.version}</version>
29 <scope>compile</scope>
30 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +000031
ys969316a9fce2020-01-19 13:50:02 +020032 <dependency>
33 <groupId>com.fasterxml.jackson.core</groupId>
34 <artifactId>jackson-databind</artifactId>
35 <version>${jackson.version}</version>
36 <scope>compile</scope>
37 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +000038
ys969316a9fce2020-01-19 13:50:02 +020039 <dependency>
ys969316a9fce2020-01-19 13:50:02 +020040 <groupId>org.onap.sdc.common</groupId>
41 <artifactId>onap-generic-artifact-browser-service</artifactId>
42 <version>${project.version}</version>
43 <scope>compile</scope>
44 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +000045
ys969316a9fce2020-01-19 13:50:02 +020046 <!-- Swagger Dependencies Start -->
47 <dependency>
48 <groupId>io.swagger.core.v3</groupId>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +010049 <artifactId>swagger-jaxrs2</artifactId>
ys969316a9fce2020-01-19 13:50:02 +020050 <version>${swagger.version}</version>
51 </dependency>
52 <dependency>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +010053 <groupId>io.swagger.core.v3</groupId>
54 <artifactId>swagger-annotations</artifactId>
55 <version>${swagger.version}</version>
ys969316a9fce2020-01-19 13:50:02 +020056 </dependency>
57 <!-- Swagger Dependencies End -->
vasrazfa5bdf02019-08-26 13:39:26 +000058
ys969316a9fce2020-01-19 13:50:02 +020059 <dependency>
60 <groupId>org.openecomp.sdc</groupId>
61 <artifactId>common-app-api</artifactId>
62 <version>${project.version}</version>
63 <scope>compile</scope>
64 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +000065
ys969316a9fce2020-01-19 13:50:02 +020066 <dependency>
67 <groupId>org.openecomp.sdc.be</groupId>
68 <artifactId>common-be</artifactId>
69 <version>${project.version}</version>
70 <scope>compile</scope>
71 </dependency>
72 <dependency>
73 <groupId>org.openecomp.sdc.be</groupId>
74 <artifactId>common-be</artifactId>
75 <version>${project.version}</version>
76 <type>test-jar</type>
77 <scope>test</scope>
78 </dependency>
79 <dependency>
80 <groupId>org.openecomp.sdc.be</groupId>
81 <artifactId>catalog-dao</artifactId>
82 <version>${project.version}</version>
83 <scope>compile</scope>
84 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +000085
ys969316a9fce2020-01-19 13:50:02 +020086 <dependency>
87 <groupId>org.openecomp.sdc.be</groupId>
88 <artifactId>catalog-model</artifactId>
89 <version>${project.version}</version>
90 <scope>compile</scope>
91 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +000092
ys969316a9fce2020-01-19 13:50:02 +020093 <dependency>
94 <groupId>ch.qos.logback</groupId>
95 <artifactId>logback-classic</artifactId>
96 <version>${logback.version}</version>
97 <scope>compile</scope>
98 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +000099
ys969316a9fce2020-01-19 13:50:02 +0200100 <!-- Snake Yaml -->
101 <dependency>
102 <groupId>org.yaml</groupId>
103 <artifactId>snakeyaml</artifactId>
104 <version>${snakeyaml.version}</version>
105 <scope>compile</scope>
106 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000107
ys969316a9fce2020-01-19 13:50:02 +0200108 <!-- File changes listener -->
109 <dependency>
110 <groupId>org.apache.commons</groupId>
111 <artifactId>commons-jci-core</artifactId>
112 <version>${commons-jci-core.version}</version>
113 <scope>compile</scope>
114 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000115
ys969316a9fce2020-01-19 13:50:02 +0200116 <!-- Gson -->
117 <dependency>
118 <groupId>com.google.code.gson</groupId>
119 <artifactId>gson</artifactId>
120 <version>${gson.version}</version>
121 <scope>compile</scope>
122 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000123
ys969316a9fce2020-01-19 13:50:02 +0200124 <!-- jersey -->
125 <dependency>
126 <groupId>org.glassfish.jersey.media</groupId>
127 <artifactId>jersey-media-json-jackson</artifactId>
128 <version>${jersey-bom.version}</version>
129 <scope>compile</scope>
130 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000131
ys969316a9fce2020-01-19 13:50:02 +0200132 <dependency>
133 <groupId>org.glassfish.jersey.containers</groupId>
134 <artifactId>jersey-container-servlet-core</artifactId>
135 <version>${jersey-bom.version}</version>
136 <scope>compile</scope>
137 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000138
ys969316a9fce2020-01-19 13:50:02 +0200139 <dependency>
140 <groupId>org.glassfish.jersey.media</groupId>
141 <artifactId>jersey-media-multipart</artifactId>
142 <version>${jersey-bom.version}</version>
143 <scope>compile</scope>
144 </dependency>
145 <dependency>
146 <groupId>org.glassfish.jersey.ext</groupId>
147 <artifactId>jersey-spring4</artifactId>
148 <version>${jersey-bom.version}</version>
149 <exclusions>
150 <exclusion>
151 <groupId>org.springframework</groupId>
152 <artifactId>spring-web</artifactId>
153 </exclusion>
154 <exclusion>
155 <groupId>org.springframework</groupId>
156 <artifactId>spring-beans</artifactId>
157 </exclusion>
158 <exclusion>
159 <groupId>org.springframework</groupId>
160 <artifactId>spring-core</artifactId>
161 </exclusion>
162 <exclusion>
163 <groupId>org.springframework</groupId>
164 <artifactId>spring-aop</artifactId>
165 </exclusion>
166 <!-- Transitive dependency of spring-bridge -->
167 <exclusion>
168 <groupId>org.springframework</groupId>
169 <artifactId>spring-context</artifactId>
170 </exclusion>
171 </exclusions>
vasrazfa5bdf02019-08-26 13:39:26 +0000172
ys969316a9fce2020-01-19 13:50:02 +0200173 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000174
ys969316a9fce2020-01-19 13:50:02 +0200175 <!--asm-all-repackaged is a jersey dependency. in current version jersey depends on a version that was compiled using java 9 compiler
176 currently our jetty (v9.3.6) does not support java 9. as soon as jetty gets upgraded we will remove this dependency-->
177 <dependency>
178 <groupId>org.glassfish.hk2.external</groupId>
179 <artifactId>asm-all-repackaged</artifactId>
180 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000181
ys969316a9fce2020-01-19 13:50:02 +0200182 <dependency>
183 <groupId>org.glassfish.jersey.ext</groupId>
184 <artifactId>jersey-bean-validation</artifactId>
185 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000186
ys969316a9fce2020-01-19 13:50:02 +0200187 <!-- http client -->
188 <dependency>
189 <groupId>org.apache.httpcomponents</groupId>
190 <artifactId>httpclient</artifactId>
191 <version>${httpclient.version}</version>
192 <scope>compile</scope>
193 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000194
ys969316a9fce2020-01-19 13:50:02 +0200195 <dependency>
196 <groupId>org.apache.httpcomponents</groupId>
197 <artifactId>httpcore</artifactId>
198 <version>${httpcore.version}</version>
199 <scope>compile</scope>
200 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000201
ys969316a9fce2020-01-19 13:50:02 +0200202 <dependency>
203 <groupId>commons-logging</groupId>
204 <artifactId>commons-logging</artifactId>
205 <version>${commons-logging}</version>
206 <scope>compile</scope>
207 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000208
ys969316a9fce2020-01-19 13:50:02 +0200209 <dependency>
210 <groupId>commons-codec</groupId>
211 <artifactId>commons-codec</artifactId>
212 <version>${commons-codec}</version>
213 <scope>compile</scope>
214 </dependency>
215 <!-- http client END -->
vasrazfa5bdf02019-08-26 13:39:26 +0000216
ys969316a9fce2020-01-19 13:50:02 +0200217 <dependency>
218 <groupId>javax.servlet</groupId>
219 <artifactId>javax.servlet-api</artifactId>
220 <version>${servlet-api.version}</version>
221 <scope>provided</scope>
222 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000223
ys969316a9fce2020-01-19 13:50:02 +0200224 <dependency>
225 <groupId>org.eclipse.jgit</groupId>
226 <artifactId>org.eclipse.jgit</artifactId>
227 <version>3.4.1.201406201815-r</version>
228 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000229
ys969316a9fce2020-01-19 13:50:02 +0200230 <!-- spring - used by A4C -->
231 <dependency>
232 <groupId>org.springframework</groupId>
233 <artifactId>spring-core</artifactId>
234 <version>${spring.version}</version>
235 <scope>compile</scope>
236 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000237
ys969316a9fce2020-01-19 13:50:02 +0200238 <dependency>
239 <groupId>org.springframework</groupId>
240 <artifactId>spring-context</artifactId>
241 <version>${spring.version}</version>
242 <scope>compile</scope>
243 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000244
ys969316a9fce2020-01-19 13:50:02 +0200245 <dependency>
246 <groupId>org.springframework</groupId>
247 <artifactId>spring-web</artifactId>
248 <version>${spring.version}</version>
249 <scope>compile</scope>
250 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000251
ys969316a9fce2020-01-19 13:50:02 +0200252 <dependency>
253 <groupId>org.springframework</groupId>
254 <artifactId>spring-webmvc</artifactId>
255 <version>${spring.version}</version>
256 <scope>compile</scope>
257 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000258
ys969316a9fce2020-01-19 13:50:02 +0200259 <dependency>
260 <groupId>org.springframework</groupId>
261 <artifactId>spring-aop</artifactId>
262 <version>${spring.version}</version>
263 <scope>compile</scope>
264 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000265
ys969316a9fce2020-01-19 13:50:02 +0200266 <dependency>
267 <groupId>org.springframework</groupId>
268 <artifactId>spring-beans</artifactId>
269 <version>${spring.version}</version>
270 <scope>compile</scope>
271 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000272
ys969316a9fce2020-01-19 13:50:02 +0200273 <dependency>
274 <groupId>org.springframework</groupId>
275 <artifactId>spring-expression</artifactId>
276 <version>${spring.version}</version>
277 <scope>compile</scope>
278 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000279
ys969316a9fce2020-01-19 13:50:02 +0200280 <!-- Spring integration (optional) -->
281 <dependency>
282 <groupId>org.togglz</groupId>
283 <artifactId>togglz-spring-web</artifactId>
284 <version>${togglz.version}</version>
285 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000286
ys969316a9fce2020-01-19 13:50:02 +0200287 <dependency>
288 <groupId>org.codehaus.janino</groupId>
289 <artifactId>janino</artifactId>
290 <version>${janino.version}</version>
291 <scope>compile</scope>
292 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000293
ys969316a9fce2020-01-19 13:50:02 +0200294 <dependency>
295 <groupId>org.codehaus.janino</groupId>
296 <artifactId>commons-compiler</artifactId>
297 <version>${janino.version}</version>
298 <scope>compile</scope>
299 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000300
ys969316a9fce2020-01-19 13:50:02 +0200301 <dependency>
302 <groupId>com.google.guava</groupId>
303 <artifactId>guava</artifactId>
304 <version>${guava.version}</version>
305 <scope>compile</scope>
306 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000307
ys969316a9fce2020-01-19 13:50:02 +0200308 <dependency>
309 <groupId>org.janusgraph</groupId>
310 <artifactId>janusgraph-core</artifactId>
311 <version>${janusgraph.version}</version>
312 <scope>compile</scope>
313 <exclusions>
314 <exclusion>
315 <groupId>org.json</groupId>
316 <artifactId>json</artifactId>
317 </exclusion>
318 <exclusion>
319 <artifactId>slf4j-log4j12</artifactId>
320 <groupId>org.slf4j</groupId>
321 </exclusion>
322 <exclusion>
323 <artifactId>commons-collections</artifactId>
324 <groupId>commons-collections</groupId>
325 </exclusion>
326 <exclusion>
327 <groupId>org.apache.thrift</groupId>
328 <artifactId>libthrift</artifactId>
329 </exclusion>
330 </exclusions>
331 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000332
ys969316a9fce2020-01-19 13:50:02 +0200333 <dependency>
334 <groupId>org.janusgraph</groupId>
shrek20000594c412020-01-30 14:52:49 +0200335 <artifactId>janusgraph-cql</artifactId>
ys969316a9fce2020-01-19 13:50:02 +0200336 <version>${janusgraph.version}</version>
337 <scope>compile</scope>
338 <exclusions>
339 <exclusion>
340 <groupId>org.slf4j</groupId>
341 <artifactId>slf4j-log4j12</artifactId>
342 </exclusion>
343 <exclusion>
shrek20000594c412020-01-30 14:52:49 +0200344 <groupId>org.json</groupId>
345 <artifactId>json</artifactId>
346 </exclusion>
347 <exclusion>
348 <artifactId>commons-collections</artifactId>
349 <groupId>commons-collections</groupId>
350 </exclusion>
351 <exclusion>
352 <artifactId>groovy</artifactId>
353 <groupId>org.codehaus.groovy</groupId>
354 </exclusion>
355 <exclusion>
ys969316a9fce2020-01-19 13:50:02 +0200356 <groupId>io.netty</groupId>
357 <artifactId>netty-all</artifactId>
358 </exclusion>
359 </exclusions>
360 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000361
ys969316a9fce2020-01-19 13:50:02 +0200362 <dependency>
363 <groupId>org.apache.commons</groupId>
364 <artifactId>commons-lang3</artifactId>
365 <version>${lang3.version}</version>
366 <scope>compile</scope>
367 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000368
ys969316a9fce2020-01-19 13:50:02 +0200369 <dependency>
370 <groupId>com.googlecode.json-simple</groupId>
371 <artifactId>json-simple</artifactId>
372 <version>${json-simple.version}</version>
373 <scope>compile</scope>
vasrazfa5bdf02019-08-26 13:39:26 +0000374
ys969316a9fce2020-01-19 13:50:02 +0200375 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000376
ys969316a9fce2020-01-19 13:50:02 +0200377 <!-- functional java -->
378 <dependency>
379 <groupId>org.functionaljava</groupId>
380 <artifactId>functionaljava</artifactId>
381 <version>${functionaljava.version}</version>
382 <scope>compile</scope>
383 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000384
ys969316a9fce2020-01-19 13:50:02 +0200385 <!-- Aspects -->
386 <dependency>
387 <groupId>com.jcabi</groupId>
388 <artifactId>jcabi-aspects</artifactId>
389 <version>${jcabi.version}</version>
390 <scope>compile</scope>
391 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000392
ys969316a9fce2020-01-19 13:50:02 +0200393 <dependency>
394 <groupId>org.aspectj</groupId>
395 <artifactId>aspectjrt</artifactId>
396 <version>${aspectjrt.version}</version>
397 <scope>compile</scope>
398 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000399
vasrazfa5bdf02019-08-26 13:39:26 +0000400
ys969316a9fce2020-01-19 13:50:02 +0200401 <!-- CAMBRIA CLIENT for U-EB -->
402 <dependency>
403 <groupId>com.att.nsa</groupId>
404 <artifactId>cambriaClient</artifactId>
405 <version>1.2.1-oss</version>
406 <scope>compile</scope>
407 <exclusions>
408 <exclusion>
409 <groupId>com.att.nsa</groupId>
410 <artifactId>saClientLibrary</artifactId>
411 </exclusion>
412 </exclusions>
413 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000414
ys969316a9fce2020-01-19 13:50:02 +0200415 <dependency>
416 <groupId>org.json</groupId>
417 <artifactId>json</artifactId>
418 <version>20131018</version>
419 <scope>compile</scope>
420 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000421
ys969316a9fce2020-01-19 13:50:02 +0200422 <!-- CASSANDRA -->
423 <dependency>
424 <groupId>com.datastax.cassandra</groupId>
425 <artifactId>cassandra-driver-core</artifactId>
426 <version>${cassandra.driver.version}</version>
427 <scope>compile</scope>
428 </dependency>
429 <dependency>
430 <groupId>com.datastax.cassandra</groupId>
431 <artifactId>cassandra-driver-mapping</artifactId>
432 <version>${cassandra.driver.version}</version>
433 <scope>compile</scope>
434 </dependency>
ys969316a9fce2020-01-19 13:50:02 +0200435 <!-- CASSANDRA END -->
vasrazfa5bdf02019-08-26 13:39:26 +0000436
ys969316a9fce2020-01-19 13:50:02 +0200437 <!-- Inserted for ECOMP Portal Integration -->
438 <dependency>
439 <groupId>org.onap.portal.sdk</groupId>
440 <artifactId>epsdk-fw</artifactId>
441 <version>${ecomp.version}</version>
442 <scope>compile</scope>
443 <exclusions>
444 <exclusion>
445 <groupId>com.att.nsa</groupId>
446 <artifactId>cambriaClient</artifactId>
447 </exclusion>
448 <exclusion>
449 <artifactId>slf4j-log4j12</artifactId>
450 <groupId>org.slf4j</groupId>
451 </exclusion>
452 <exclusion>
453 <artifactId>powermock-api-mockito</artifactId>
454 <groupId>org.powermock</groupId>
455 </exclusion>
456 <exclusion>
457 <groupId> org.onap.aaf.authz</groupId>
458 <artifactId> aaf-cadi-aaf</artifactId>
459 </exclusion>
460 <exclusion>
461 <artifactId>aaf-cadi-core</artifactId>
462 <groupId>org.onap.aaf.authz</groupId>
463 </exclusion>
464 <exclusion>
465 <artifactId>commons-codec</artifactId>
466 <groupId>commons-codec</groupId>
467 </exclusion>
468 </exclusions>
469 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000470
ys969316a9fce2020-01-19 13:50:02 +0200471 <!--Jetty Proxy-->
472 <dependency>
473 <groupId>org.eclipse.jetty</groupId>
474 <artifactId>jetty-proxy</artifactId>
475 <version>${jetty.version}</version>
476 <scope>compile</scope>
477 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000478
ys969316a9fce2020-01-19 13:50:02 +0200479 <dependency>
480 <groupId>org.eclipse.jetty</groupId>
481 <artifactId>jetty-servlets</artifactId>
482 <version>${jetty.version}</version>
483 <scope>compile</scope>
484 </dependency>
485 <!-- System metrics -->
486 <dependency>
487 <groupId>org.fusesource</groupId>
488 <artifactId>sigar</artifactId>
489 <version>${sigar.version}</version>
490 <scope>compile</scope>
491 </dependency>
492 <dependency>
493 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
494 <artifactId>dmaapClient</artifactId>
495 <version>1.1.3</version>
496 <scope>compile</scope>
497 <exclusions>
498 <exclusion>
499 <groupId>com.att.aft</groupId>
500 <artifactId>dme2</artifactId>
501 </exclusion>
502 </exclusions>
503 </dependency>
504 <dependency>
505 <groupId>com.att.aft</groupId>
506 <artifactId>dme2</artifactId>
507 <version>3.1.200-oss</version>
508 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000509
ys969316a9fce2020-01-19 13:50:02 +0200510 <dependency>
511 <groupId>javax.jms</groupId>
512 <artifactId>jms</artifactId>
513 <version>1.1</version>
514 <scope>provided</scope>
515 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000516
ys969316a9fce2020-01-19 13:50:02 +0200517 <!-- CADI -->
518 <dependency>
519 <groupId>org.onap.aaf.authz</groupId>
520 <artifactId>aaf-cadi-aaf</artifactId>
521 <version>${cadi.version}</version>
522 <exclusions>
523 <exclusion>
524 <groupId>com.datastax.cassandra</groupId>
525 <artifactId>cassandra-driver-core</artifactId>
526 </exclusion>
527 <exclusion>
528 <groupId>org.slf4j</groupId>
529 <artifactId>slf4j-log4j12</artifactId>
530 </exclusion>
531 </exclusions>
532 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000533
ys969316a9fce2020-01-19 13:50:02 +0200534 <!-- TEST -->
535 <dependency>
536 <groupId>org.assertj</groupId>
537 <artifactId>assertj-core</artifactId>
538 <scope>test</scope>
539 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000540
ys969316a9fce2020-01-19 13:50:02 +0200541 <dependency>
542 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
543 <artifactId>jersey-test-framework-provider-bundle</artifactId>
544 <version>${jersey-bom.version}</version>
545 <type>pom</type>
546 <scope>test</scope>
547 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000548
ys969316a9fce2020-01-19 13:50:02 +0200549 <dependency>
550 <groupId>org.glassfish.jersey.core</groupId>
551 <artifactId>jersey-client</artifactId>
552 <version>${jersey-bom.version}</version>
553 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000554
ys969316a9fce2020-01-19 13:50:02 +0200555 <dependency>
556 <groupId>com.github.tomakehurst</groupId>
557 <artifactId>wiremock-standalone</artifactId>
558 <scope>test</scope>
559 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000560
ys969316a9fce2020-01-19 13:50:02 +0200561 <dependency>
562 <groupId>org.eclipse.jetty</groupId>
563 <artifactId>jetty-webapp</artifactId>
564 <version>${jetty.version}</version>
565 <scope>test</scope>
566 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000567
ys969316a9fce2020-01-19 13:50:02 +0200568 <dependency>
andre.schmidcd6f9332020-01-29 17:25:21 +0000569 <groupId>org.hamcrest</groupId>
570 <artifactId>hamcrest</artifactId>
571 <version>${hamcrest.version}</version>
572 <scope>test</scope>
573 </dependency>
574
575 <dependency>
576 <groupId>org.hamcrest</groupId>
577 <artifactId>hamcrest-library</artifactId>
578 <version>${hamcrest.version}</version>
579 <scope>test</scope>
580 </dependency>
581
582 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200583 <groupId>junit</groupId>
584 <artifactId>junit</artifactId>
585 <version>${junit.version}</version>
586 <scope>test</scope>
587 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000588
ys969316a9fce2020-01-19 13:50:02 +0200589 <dependency>
Baumel, Dvir (db384r)3e879322020-03-23 16:21:05 +0200590 <groupId>org.junit.jupiter</groupId>
591 <artifactId>junit-jupiter</artifactId>
592 <version>${junitJupiter.version}</version>
593 <scope>test</scope>
594 </dependency>
595
596 <dependency>
597 <groupId>org.mockito</groupId>
598 <artifactId>mockito-junit-jupiter</artifactId>
599 <version>${mockitoJupiter.version}</version>
600 <scope>test</scope>
601 </dependency>
602
603 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200604 <groupId>org.mockito</groupId>
605 <artifactId>mockito-core</artifactId>
606 <scope>test</scope>
607 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000608
ys969316a9fce2020-01-19 13:50:02 +0200609 <dependency>
610 <groupId>org.springframework</groupId>
611 <artifactId>spring-test</artifactId>
612 <version>${spring.version}</version>
613 <scope>test</scope>
614 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000615
ys969316a9fce2020-01-19 13:50:02 +0200616 <dependency>
617 <groupId>org.springframework</groupId>
618 <artifactId>spring-tx</artifactId>
619 <version>${spring.version}</version>
620 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000621
ys969316a9fce2020-01-19 13:50:02 +0200622 <dependency>
623 <groupId>io.cucumber</groupId>
624 <artifactId>cucumber-java</artifactId>
625 <scope>test</scope>
626 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000627
ys969316a9fce2020-01-19 13:50:02 +0200628 <dependency>
629 <groupId>io.cucumber</groupId>
630 <artifactId>cucumber-junit</artifactId>
631 <scope>test</scope>
632 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000633
ys969316a9fce2020-01-19 13:50:02 +0200634 <dependency>
635 <groupId>org.jmockit</groupId>
636 <artifactId>jmockit</artifactId>
637 <version>${jmockit.version}</version>
638 <scope>test</scope>
639 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000640
ys969316a9fce2020-01-19 13:50:02 +0200641 <dependency>
642 <groupId>com.google.code.bean-matchers</groupId>
643 <artifactId>bean-matchers</artifactId>
644 <version>0.11</version>
645 <scope>test</scope>
646 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000647
ys969316a9fce2020-01-19 13:50:02 +0200648 <dependency>
ys969316a9fce2020-01-19 13:50:02 +0200649 <groupId>org.codehaus.groovy</groupId>
650 <artifactId>groovy</artifactId>
651 <version>2.4.8</version>
652 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000653
ys969316a9fce2020-01-19 13:50:02 +0200654 <dependency>
655 <groupId>io.netty</groupId>
656 <artifactId>netty-handler</artifactId>
657 </dependency>
658 <dependency>
659 <groupId>org.onap.sdc.common</groupId>
660 <artifactId>onap-tosca-datatype</artifactId>
661 <version>${project.version}</version>
662 </dependency>
663 <dependency>
664 <groupId>org.apache.commons</groupId>
665 <artifactId>commons-collections4</artifactId>
666 <version>${commons.collections.version}</version>
667 </dependency>
668 <dependency>
669 <groupId>org.codehaus.jackson</groupId>
670 <artifactId>jackson-mapper-asl</artifactId>
671 <version>${jackson.mapper.version}</version>
672 </dependency>
673 <dependency>
674 <groupId>org.onap.sdc.sdc-be-common</groupId>
675 <artifactId>security-util-lib</artifactId>
Yuli Shlosberg47fc40a2020-01-23 11:50:40 +0200676 <version>${security.util.lib.version}</version>
ys969316a9fce2020-01-19 13:50:02 +0200677 </dependency>
678 </dependencies>
vasrazfa5bdf02019-08-26 13:39:26 +0000679
ys969316a9fce2020-01-19 13:50:02 +0200680 <build>
ys969316a9fce2020-01-19 13:50:02 +0200681 <finalName>${project.artifactId}-${project.version}</finalName>
vasrazfa5bdf02019-08-26 13:39:26 +0000682 <plugins>
ys969316a9fce2020-01-19 13:50:02 +0200683 <plugin>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +0100684 <!-- Download Swagger UI webjar. -->
685 <artifactId>maven-dependency-plugin</artifactId>
686 <version>${maven-dependency-plugin.version}</version>
687 <executions>
688 <execution>
689 <phase>prepare-package</phase>
690 <goals>
691 <goal>unpack</goal>
692 </goals>
693 <configuration>
694 <artifactItems>
695 <artifactItem>
696 <groupId>org.webjars</groupId>
697 <artifactId>swagger-ui</artifactId>
698 <version>${swagger-ui.version}</version>
699 </artifactItem>
700 </artifactItems>
701 <outputDirectory>${project.build.directory}/swagger-ui</outputDirectory>
702 </configuration>
703 </execution>
704 </executions>
705 </plugin>
706 <plugin>
707 <!-- Replace the OpenAPI specification example URL with the local one. -->
708 <groupId>com.google.code.maven-replacer-plugin</groupId>
709 <artifactId>replacer</artifactId>
710 <version>${replacer.plugin.version}</version>
711 <executions>
712 <execution>
713 <phase>prepare-package</phase>
714 <goals>
715 <goal>replace</goal>
716 </goals>
717 </execution>
718 </executions>
719 <configuration>
720 <file>${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}/index.html</file>
721 <replacements>
722 <replacement>
723 <token>https://petstore.swagger.io/v2/swagger.json</token>
724 <value>/sdc/openapi.json</value>
725 </replacement>
726 </replacements>
727 </configuration>
728 </plugin>
729 <plugin>
ys969316a9fce2020-01-19 13:50:02 +0200730 <groupId>org.apache.maven.plugins</groupId>
731 <artifactId>maven-war-plugin</artifactId>
vasrazfa5bdf02019-08-26 13:39:26 +0000732 <configuration>
ys969316a9fce2020-01-19 13:50:02 +0200733 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
734 WEB-INF/classes/elasticsearch.yml,
735 WEB-INF/classes/portal.properties
736 </packagingExcludes>
737 <archive>
738 <manifestEntries>
739 <SDC-Version>${project.version}</SDC-Version>
740 </manifestEntries>
741 <manifest>
742 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
743 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
744 </manifest>
745 </archive>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +0100746 <attachClasses>true</attachClasses>
747 <webResources combine.children="append">
ys969316a9fce2020-01-19 13:50:02 +0200748 <resource>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +0100749 <directory>${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}</directory>
750 <includes>
751 <include>**/*.*</include>
752 </includes>
753 <targetPath>swagger-ui</targetPath>
ys969316a9fce2020-01-19 13:50:02 +0200754 </resource>
755 </webResources>
vasrazfa5bdf02019-08-26 13:39:26 +0000756 </configuration>
ys969316a9fce2020-01-19 13:50:02 +0200757 </plugin>
758 <plugin>
759 <groupId>com.github.sylvainlaurent.maven</groupId>
760 <artifactId>yaml-json-validator-maven-plugin</artifactId>
761 <executions>
762 <execution>
763 <id>validate</id>
764 <phase>validate</phase>
765 <goals>
766 <goal>validate</goal>
767 </goals>
768 <configuration>
769 <validationSets>
770 <validationSet>
771 <includes>
772 <include>src/main/resources/**/*.y*ml</include>
773 <include>src/test/resources/**/*.y*ml</include>
774 </includes>
775 <excludes>
776 <exclude>src/test/resources/artifacts/pnfSoftwareInformation/**</exclude>
777 </excludes>
778 </validationSet>
779 <validationSet>
780 <includes>
781 <include>src/main/resources/**/*.json</include>
782 <include>src/test/resources/**/*.json</include>
783 </includes>
784 </validationSet>
785 </validationSets>
786 </configuration>
787 </execution>
788 </executions>
789 </plugin>
790 <plugin>
791 <groupId>com.jcabi</groupId>
792 <artifactId>jcabi-maven-plugin</artifactId>
793 <version>${jcabi.maven.plugin.version}</version>
794 <executions>
795 <execution>
796 <goals>
797 <goal>ajc</goal>
798 </goals>
799 </execution>
800 </executions>
801 </plugin>
802 <plugin>
803 <groupId>org.apache.maven.plugins</groupId>
804 <artifactId>maven-assembly-plugin</artifactId>
805 <executions>
806 <execution>
807 <id>normatives</id>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +0100808 <phase>prepare-package</phase>
ys969316a9fce2020-01-19 13:50:02 +0200809 <goals>
810 <goal>single</goal>
811 </goals>
812 <configuration>
813 <finalName>normatives</finalName>
814 <appendAssemblyId>false</appendAssemblyId>
815 <descriptors>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +0100816 <descriptor>src/main/assembly/normatives.xml</descriptor>
ys969316a9fce2020-01-19 13:50:02 +0200817 </descriptors>
818 </configuration>
819 </execution>
820 </executions>
821 </plugin>
822 <plugin>
823 <groupId>org.apache.maven.plugins</groupId>
824 <artifactId>maven-clean-plugin</artifactId>
825 <executions>
826 <execution>
827 <id>clean.sdc.backend.folder</id>
828 <phase>clean</phase>
829 <goals>
830 <goal>clean</goal>
831 </goals>
832 <configuration>
833 <filesets>
834 <!-- static configuration files -->
835 <fileset>
836 <directory>
837 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
838 </directory>
839 <followSymlinks>false</followSymlinks>
840 <includes>
841 <include>Artifact-Generator.properties</include>
842 <include>error-configuration.yaml</include>
843 <include>ecomp-error-configuration.yaml</include>
844 <include>logback.xml</include>
845 </includes>
846 </fileset>
847 <!-- BE WAR's -->
848 <fileset>
849 <directory>${project.parent.basedir}/catalog-be/sdc-backend</directory>
850 <followSymlinks>false</followSymlinks>
851 <includes>
852 <include>*.war</include>
k.kedron6effd852020-03-17 17:02:31 +0100853 <include>context.xml</include>
ys969316a9fce2020-01-19 13:50:02 +0200854 </includes>
855 </fileset>
856 <fileset>
857 <directory>
858 ${project.basedir}/sdc-backend-init/chef-repo/cookbooks/sdc-normatives/files/default
859 </directory>
860 <followSymlinks>false</followSymlinks>
861 <includes>
862 <include>normatives.tar.gz</include>
863 </includes>
864 </fileset>
ys969316a9fce2020-01-19 13:50:02 +0200865 </filesets>
866 </configuration>
867 </execution>
ys969316a9fce2020-01-19 13:50:02 +0200868 <execution>
869 <id>clean-static-files</id>
870 <phase>clean</phase>
871 <goals>
872 <goal>clean</goal>
873 </goals>
874 <configuration>
875 <filesets>
876 <!-- tosca files -->
877 <fileset>
878 <directory>${project.parent.basedir}/asdctool/tosca</directory>
879 <followSymlinks>false</followSymlinks>
880 </fileset>
881 </filesets>
882 </configuration>
883 </execution>
884 </executions>
885 </plugin>
886 <plugin>
887 <groupId>org.apache.maven.plugins</groupId>
888 <artifactId>maven-resources-plugin</artifactId>
889 <executions>
890 <execution>
891 <id>copy-static-configuration-files</id>
892 <phase>verify</phase>
893 <goals>
894 <goal>copy-resources</goal>
895 </goals>
896 <configuration>
897 <outputDirectory>
898 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
899 </outputDirectory>
900 <resources>
901 <resource>
902 <directory>${project.parent.basedir}/catalog-be/src/main/resources/config
903 </directory>
904 <includes>
905 <include>Artifact-Generator.properties</include>
906 <include>error-configuration.yaml</include>
907 <include>ecomp-error-configuration.yaml</include>
908 <include>logback.xml</include>
909 </includes>
910 </resource>
911 </resources>
912 </configuration>
913 </execution>
914 <execution>
915 <id>copy-tosca-folder</id>
916 <!-- here the phase you need -->
917 <phase>install</phase>
918 <goals>
919 <goal>copy-resources</goal>
920 </goals>
921 <configuration>
922 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
923 <resources>
924 <resource>
925 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
926 </directory>
927 <filtering>true</filtering>
928 </resource>
929 </resources>
930 </configuration>
931 </execution>
932 </executions>
933 </plugin>
vasrazfa5bdf02019-08-26 13:39:26 +0000934 </plugins>
ys969316a9fce2020-01-19 13:50:02 +0200935
936 <pluginManagement>
937 <plugins>
938 <!--This plugin's configuration is used to store Eclipse m2e settings
939 only. It has no influence on the Maven build itself. -->
940 <plugin>
941 <groupId>org.eclipse.m2e</groupId>
942 <artifactId>lifecycle-mapping</artifactId>
943 <version>1.0.0</version>
944 <configuration>
945 <lifecycleMappingMetadata>
946 <pluginExecutions>
947 <pluginExecution>
948 <pluginExecutionFilter>
949 <groupId>com.googlecode.maven-download-plugin</groupId>
950 <artifactId>download-maven-plugin</artifactId>
951 <versionRange>[1.2.1,)</versionRange>
952 <goals>
953 <goal>wget</goal>
954 </goals>
955 </pluginExecutionFilter>
956 <action>
957 <ignore></ignore>
958 </action>
959 </pluginExecution>
960
961 <pluginExecution>
962 <pluginExecutionFilter>
963 <groupId>com.jcabi</groupId>
964 <artifactId>jcabi-maven-plugin</artifactId>
965 <versionRange>[0.0,)</versionRange>
966 <goals>
967 <goal>ajc</goal>
968 </goals>
969 </pluginExecutionFilter>
970 <action>
971 <execute/>
972 </action>
973 </pluginExecution>
974
975 </pluginExecutions>
976 </lifecycleMappingMetadata>
977 </configuration>
978 </plugin>
979 </plugins>
980 </pluginManagement>
981 <!-- Swagger Plugins End -->
982 </build>
983
984 <profiles>
985 <profile>
986 <id>docker-staging</id>
987 <properties>
988 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
989 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
990 </properties>
991 </profile>
992
993 <profile>
994 <id>docker</id>
995 <activation>
996 <activeByDefault>false</activeByDefault>
997 </activation>
998 <build>
999 <plugins>
1000 <plugin>
MichaelMorris580e5362020-02-08 22:55:49 +00001001 <artifactId>maven-antrun-plugin</artifactId>
1002 <version>1.8</version>
1003 <executions>
1004 <execution>
1005 <id>copy-context-file</id>
1006 <phase>validate</phase>
1007 <configuration>
1008 <target>
andre.schmide6a4b302020-03-31 11:39:52 +01001009 <copy file="sdc-backend/context.xml.template" tofile="sdc-backend/context.xml" overwrite="true"/>
MichaelMorris580e5362020-02-08 22:55:49 +00001010 </target>
1011 </configuration>
1012 <goals>
1013 <goal>run</goal>
1014 </goals>
1015 </execution>
1016 <execution>
1017 <id>set-version-in-context-file</id>
1018 <phase>generate-resources</phase>
1019 <configuration>
1020 <target>
1021 <replace file="sdc-backend/context.xml">
1022 <replacetoken>projectversion</replacetoken>
1023 <replacevalue>${project.version}</replacevalue>
1024 </replace>
1025 </target>
1026 </configuration>
1027 <goals>
1028 <goal>run</goal>
1029 </goals>
1030 </execution>
1031 </executions>
1032 </plugin>
1033 <plugin>
ys969316a9fce2020-01-19 13:50:02 +02001034 <groupId>org.apache.maven.plugins</groupId>
1035 <artifactId>maven-resources-plugin</artifactId>
1036 <executions>
1037 <execution>
ys969316a9fce2020-01-19 13:50:02 +02001038 <id>copy-resources-be</id>
1039 <phase>verify</phase>
1040 <goals>
1041 <goal>copy-resources</goal>
1042 </goals>
1043 <configuration>
1044 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
1045 <resources>
1046 <resource>
1047 <directory>${project.parent.basedir}/catalog-be/target</directory>
1048 <includes>
1049 <include>catalog-be-${project.version}.war</include>
1050 </includes>
1051 </resource>
ys969316a9fce2020-01-19 13:50:02 +02001052 </resources>
1053 </configuration>
1054 </execution>
1055 <execution>
1056 <id>copy-normatives</id>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +01001057 <phase>package</phase>
ys969316a9fce2020-01-19 13:50:02 +02001058 <goals>
1059 <goal>copy-resources</goal>
1060 </goals>
1061 <configuration>
1062 <outputDirectory>
1063 sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
1064 </outputDirectory>
1065 <resources>
1066 <resource>
1067 <directory>${project.parent.basedir}/catalog-be/target</directory>
1068 <includes>
1069 <include>normatives.tar.gz</include>
1070 </includes>
1071 </resource>
1072 </resources>
1073 </configuration>
1074 </execution>
1075 </executions>
1076 </plugin>
1077 <plugin>
1078 <groupId>io.fabric8</groupId>
1079 <artifactId>docker-maven-plugin</artifactId>
1080 <configuration>
1081 <apiVersion>1.23</apiVersion>
1082 <registry>nexus3.onap.org:10001</registry>
1083 <authConfig>
1084 <pull>
1085 <username>docker</username>
1086 <password>docker</password>
1087 </pull>
1088 </authConfig>
1089 <images>
1090
1091 <!-- Build backend image -->
1092 <image>
1093 <name>onap/sdc-backend</name>
1094 <alias>sdc-backend</alias>
1095 <build>
1096 <cleanup>try</cleanup>
1097 <dockerFileDir>${project.basedir}/sdc-backend</dockerFileDir>
1098 <tags>
1099 <tag>${docker.tag}</tag>
1100 <tag>
1101 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1102 </tag>
1103 </tags>
1104 </build>
1105 </image>
1106 <!-- Build backend-init image -->
1107 <image>
1108 <name>onap/sdc-backend-init</name>
1109 <alias>sdc-backend-init</alias>
1110 <build>
1111 <cleanup>try</cleanup>
1112 <dockerFileDir>${project.basedir}/sdc-backend-init</dockerFileDir>
1113 <tags>
1114 <tag>${docker.tag}</tag>
1115 <tag>
1116 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1117 </tag>
1118 </tags>
1119 </build>
1120 </image>
1121 </images>
1122 </configuration>
1123 <executions>
1124 <execution>
1125 <id>clean-images</id>
1126 <phase>pre-clean</phase>
1127 <goals>
1128 <goal>remove</goal>
1129 </goals>
1130 <configuration>
1131 <removeAll>true</removeAll>
1132 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1133 </configuration>
1134 </execution>
1135
1136 <execution>
1137 <id>generate-images</id>
1138 <phase>install</phase>
1139 <goals>
1140 <goal>build</goal>
1141 </goals>
1142 </execution>
1143
1144 <execution>
1145 <id>push-images</id>
1146 <phase>deploy</phase>
1147 <goals>
1148 <goal>push</goal>
1149 </goals>
1150 <configuration>
1151 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1152 </configuration>
1153 </execution>
1154 </executions>
1155 </plugin>
1156 </plugins>
1157 </build>
1158 </profile>
1159 </profiles>
MichaelMorris580e5362020-02-08 22:55:49 +00001160</project>