blob: 3f09db86ce098213d1dcedf035eea4de79390b51 [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>
435 <dependency>
436 <groupId>org.apache.thrift</groupId>
437 <artifactId>libthrift</artifactId>
438 <version>${libthrift.version}</version>
439 </dependency>
440 <!-- CASSANDRA END -->
vasrazfa5bdf02019-08-26 13:39:26 +0000441
ys969316a9fce2020-01-19 13:50:02 +0200442 <!-- Inserted for ECOMP Portal Integration -->
443 <dependency>
444 <groupId>org.onap.portal.sdk</groupId>
445 <artifactId>epsdk-fw</artifactId>
446 <version>${ecomp.version}</version>
447 <scope>compile</scope>
448 <exclusions>
449 <exclusion>
450 <groupId>com.att.nsa</groupId>
451 <artifactId>cambriaClient</artifactId>
452 </exclusion>
453 <exclusion>
454 <artifactId>slf4j-log4j12</artifactId>
455 <groupId>org.slf4j</groupId>
456 </exclusion>
457 <exclusion>
458 <artifactId>powermock-api-mockito</artifactId>
459 <groupId>org.powermock</groupId>
460 </exclusion>
461 <exclusion>
462 <groupId> org.onap.aaf.authz</groupId>
463 <artifactId> aaf-cadi-aaf</artifactId>
464 </exclusion>
465 <exclusion>
466 <artifactId>aaf-cadi-core</artifactId>
467 <groupId>org.onap.aaf.authz</groupId>
468 </exclusion>
469 <exclusion>
470 <artifactId>commons-codec</artifactId>
471 <groupId>commons-codec</groupId>
472 </exclusion>
473 </exclusions>
474 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000475
ys969316a9fce2020-01-19 13:50:02 +0200476 <!--Jetty Proxy-->
477 <dependency>
478 <groupId>org.eclipse.jetty</groupId>
479 <artifactId>jetty-proxy</artifactId>
480 <version>${jetty.version}</version>
481 <scope>compile</scope>
482 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000483
ys969316a9fce2020-01-19 13:50:02 +0200484 <dependency>
485 <groupId>org.eclipse.jetty</groupId>
486 <artifactId>jetty-servlets</artifactId>
487 <version>${jetty.version}</version>
488 <scope>compile</scope>
489 </dependency>
490 <!-- System metrics -->
491 <dependency>
492 <groupId>org.fusesource</groupId>
493 <artifactId>sigar</artifactId>
494 <version>${sigar.version}</version>
495 <scope>compile</scope>
496 </dependency>
497 <dependency>
498 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
499 <artifactId>dmaapClient</artifactId>
500 <version>1.1.3</version>
501 <scope>compile</scope>
502 <exclusions>
503 <exclusion>
504 <groupId>com.att.aft</groupId>
505 <artifactId>dme2</artifactId>
506 </exclusion>
507 </exclusions>
508 </dependency>
509 <dependency>
510 <groupId>com.att.aft</groupId>
511 <artifactId>dme2</artifactId>
512 <version>3.1.200-oss</version>
513 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000514
ys969316a9fce2020-01-19 13:50:02 +0200515 <dependency>
516 <groupId>javax.jms</groupId>
517 <artifactId>jms</artifactId>
518 <version>1.1</version>
519 <scope>provided</scope>
520 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000521
ys969316a9fce2020-01-19 13:50:02 +0200522 <!-- CADI -->
523 <dependency>
524 <groupId>org.onap.aaf.authz</groupId>
525 <artifactId>aaf-cadi-aaf</artifactId>
526 <version>${cadi.version}</version>
527 <exclusions>
528 <exclusion>
529 <groupId>com.datastax.cassandra</groupId>
530 <artifactId>cassandra-driver-core</artifactId>
531 </exclusion>
532 <exclusion>
533 <groupId>org.slf4j</groupId>
534 <artifactId>slf4j-log4j12</artifactId>
535 </exclusion>
536 </exclusions>
537 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000538
ys969316a9fce2020-01-19 13:50:02 +0200539 <!-- TEST -->
540 <dependency>
541 <groupId>org.assertj</groupId>
542 <artifactId>assertj-core</artifactId>
543 <scope>test</scope>
544 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000545
ys969316a9fce2020-01-19 13:50:02 +0200546 <dependency>
547 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
548 <artifactId>jersey-test-framework-provider-bundle</artifactId>
549 <version>${jersey-bom.version}</version>
550 <type>pom</type>
551 <scope>test</scope>
552 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000553
ys969316a9fce2020-01-19 13:50:02 +0200554 <dependency>
555 <groupId>org.glassfish.jersey.core</groupId>
556 <artifactId>jersey-client</artifactId>
557 <version>${jersey-bom.version}</version>
558 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000559
ys969316a9fce2020-01-19 13:50:02 +0200560 <dependency>
561 <groupId>com.github.tomakehurst</groupId>
562 <artifactId>wiremock-standalone</artifactId>
563 <scope>test</scope>
564 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000565
ys969316a9fce2020-01-19 13:50:02 +0200566 <dependency>
567 <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
ys969316a9fce2020-01-19 13:50:02 +0200573 <dependency>
574 <groupId>junit</groupId>
575 <artifactId>junit</artifactId>
576 <version>${junit.version}</version>
577 <scope>test</scope>
578 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000579
ys969316a9fce2020-01-19 13:50:02 +0200580 <dependency>
581 <groupId>org.mockito</groupId>
582 <artifactId>mockito-core</artifactId>
583 <scope>test</scope>
584 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000585
ys969316a9fce2020-01-19 13:50:02 +0200586 <dependency>
587 <groupId>org.springframework</groupId>
588 <artifactId>spring-test</artifactId>
589 <version>${spring.version}</version>
590 <scope>test</scope>
591 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000592
ys969316a9fce2020-01-19 13:50:02 +0200593 <dependency>
594 <groupId>org.springframework</groupId>
595 <artifactId>spring-tx</artifactId>
596 <version>${spring.version}</version>
597 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000598
ys969316a9fce2020-01-19 13:50:02 +0200599 <dependency>
600 <groupId>io.cucumber</groupId>
601 <artifactId>cucumber-java</artifactId>
602 <scope>test</scope>
603 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000604
ys969316a9fce2020-01-19 13:50:02 +0200605 <dependency>
606 <groupId>io.cucumber</groupId>
607 <artifactId>cucumber-junit</artifactId>
608 <scope>test</scope>
609 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000610
ys969316a9fce2020-01-19 13:50:02 +0200611 <dependency>
612 <groupId>org.jmockit</groupId>
613 <artifactId>jmockit</artifactId>
614 <version>${jmockit.version}</version>
615 <scope>test</scope>
616 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000617
ys969316a9fce2020-01-19 13:50:02 +0200618 <dependency>
619 <groupId>com.google.code.bean-matchers</groupId>
620 <artifactId>bean-matchers</artifactId>
621 <version>0.11</version>
622 <scope>test</scope>
623 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000624
ys969316a9fce2020-01-19 13:50:02 +0200625 <dependency>
626 <groupId>org.hamcrest</groupId>
627 <artifactId>java-hamcrest</artifactId>
628 <version>${java-hamcrest.version}</version>
629 <scope>test</scope>
630 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000631
ys969316a9fce2020-01-19 13:50:02 +0200632 <dependency>
633 <groupId>org.codehaus.groovy</groupId>
634 <artifactId>groovy</artifactId>
635 <version>2.4.8</version>
636 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000637
ys969316a9fce2020-01-19 13:50:02 +0200638 <dependency>
639 <groupId>io.netty</groupId>
640 <artifactId>netty-handler</artifactId>
641 </dependency>
642 <dependency>
643 <groupId>org.onap.sdc.common</groupId>
644 <artifactId>onap-tosca-datatype</artifactId>
645 <version>${project.version}</version>
646 </dependency>
647 <dependency>
648 <groupId>org.apache.commons</groupId>
649 <artifactId>commons-collections4</artifactId>
650 <version>${commons.collections.version}</version>
651 </dependency>
652 <dependency>
653 <groupId>org.codehaus.jackson</groupId>
654 <artifactId>jackson-mapper-asl</artifactId>
655 <version>${jackson.mapper.version}</version>
656 </dependency>
657 <dependency>
658 <groupId>org.onap.sdc.sdc-be-common</groupId>
659 <artifactId>security-util-lib</artifactId>
Yuli Shlosberg47fc40a2020-01-23 11:50:40 +0200660 <version>${security.util.lib.version}</version>
ys969316a9fce2020-01-19 13:50:02 +0200661 </dependency>
662 </dependencies>
vasrazfa5bdf02019-08-26 13:39:26 +0000663
ys969316a9fce2020-01-19 13:50:02 +0200664 <build>
ys969316a9fce2020-01-19 13:50:02 +0200665 <finalName>${project.artifactId}-${project.version}</finalName>
vasrazfa5bdf02019-08-26 13:39:26 +0000666 <plugins>
ys969316a9fce2020-01-19 13:50:02 +0200667 <plugin>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +0100668 <!-- Download Swagger UI webjar. -->
669 <artifactId>maven-dependency-plugin</artifactId>
670 <version>${maven-dependency-plugin.version}</version>
671 <executions>
672 <execution>
673 <phase>prepare-package</phase>
674 <goals>
675 <goal>unpack</goal>
676 </goals>
677 <configuration>
678 <artifactItems>
679 <artifactItem>
680 <groupId>org.webjars</groupId>
681 <artifactId>swagger-ui</artifactId>
682 <version>${swagger-ui.version}</version>
683 </artifactItem>
684 </artifactItems>
685 <outputDirectory>${project.build.directory}/swagger-ui</outputDirectory>
686 </configuration>
687 </execution>
688 </executions>
689 </plugin>
690 <plugin>
691 <!-- Replace the OpenAPI specification example URL with the local one. -->
692 <groupId>com.google.code.maven-replacer-plugin</groupId>
693 <artifactId>replacer</artifactId>
694 <version>${replacer.plugin.version}</version>
695 <executions>
696 <execution>
697 <phase>prepare-package</phase>
698 <goals>
699 <goal>replace</goal>
700 </goals>
701 </execution>
702 </executions>
703 <configuration>
704 <file>${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}/index.html</file>
705 <replacements>
706 <replacement>
707 <token>https://petstore.swagger.io/v2/swagger.json</token>
708 <value>/sdc/openapi.json</value>
709 </replacement>
710 </replacements>
711 </configuration>
712 </plugin>
713 <plugin>
ys969316a9fce2020-01-19 13:50:02 +0200714 <groupId>org.apache.maven.plugins</groupId>
715 <artifactId>maven-war-plugin</artifactId>
vasrazfa5bdf02019-08-26 13:39:26 +0000716 <configuration>
ys969316a9fce2020-01-19 13:50:02 +0200717 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
718 WEB-INF/classes/elasticsearch.yml,
719 WEB-INF/classes/portal.properties
720 </packagingExcludes>
721 <archive>
722 <manifestEntries>
723 <SDC-Version>${project.version}</SDC-Version>
724 </manifestEntries>
725 <manifest>
726 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
727 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
728 </manifest>
729 </archive>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +0100730 <attachClasses>true</attachClasses>
731 <webResources combine.children="append">
ys969316a9fce2020-01-19 13:50:02 +0200732 <resource>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +0100733 <directory>${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}</directory>
734 <includes>
735 <include>**/*.*</include>
736 </includes>
737 <targetPath>swagger-ui</targetPath>
ys969316a9fce2020-01-19 13:50:02 +0200738 </resource>
739 </webResources>
vasrazfa5bdf02019-08-26 13:39:26 +0000740 </configuration>
ys969316a9fce2020-01-19 13:50:02 +0200741 </plugin>
742 <plugin>
743 <groupId>com.github.sylvainlaurent.maven</groupId>
744 <artifactId>yaml-json-validator-maven-plugin</artifactId>
745 <executions>
746 <execution>
747 <id>validate</id>
748 <phase>validate</phase>
749 <goals>
750 <goal>validate</goal>
751 </goals>
752 <configuration>
753 <validationSets>
754 <validationSet>
755 <includes>
756 <include>src/main/resources/**/*.y*ml</include>
757 <include>src/test/resources/**/*.y*ml</include>
758 </includes>
759 <excludes>
760 <exclude>src/test/resources/artifacts/pnfSoftwareInformation/**</exclude>
761 </excludes>
762 </validationSet>
763 <validationSet>
764 <includes>
765 <include>src/main/resources/**/*.json</include>
766 <include>src/test/resources/**/*.json</include>
767 </includes>
768 </validationSet>
769 </validationSets>
770 </configuration>
771 </execution>
772 </executions>
773 </plugin>
774 <plugin>
775 <groupId>com.jcabi</groupId>
776 <artifactId>jcabi-maven-plugin</artifactId>
777 <version>${jcabi.maven.plugin.version}</version>
778 <executions>
779 <execution>
780 <goals>
781 <goal>ajc</goal>
782 </goals>
783 </execution>
784 </executions>
785 </plugin>
786 <plugin>
787 <groupId>org.apache.maven.plugins</groupId>
788 <artifactId>maven-assembly-plugin</artifactId>
789 <executions>
790 <execution>
791 <id>normatives</id>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +0100792 <phase>prepare-package</phase>
ys969316a9fce2020-01-19 13:50:02 +0200793 <goals>
794 <goal>single</goal>
795 </goals>
796 <configuration>
797 <finalName>normatives</finalName>
798 <appendAssemblyId>false</appendAssemblyId>
799 <descriptors>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +0100800 <descriptor>src/main/assembly/normatives.xml</descriptor>
ys969316a9fce2020-01-19 13:50:02 +0200801 </descriptors>
802 </configuration>
803 </execution>
804 </executions>
805 </plugin>
806 <plugin>
807 <groupId>org.apache.maven.plugins</groupId>
808 <artifactId>maven-clean-plugin</artifactId>
809 <executions>
810 <execution>
811 <id>clean.sdc.backend.folder</id>
812 <phase>clean</phase>
813 <goals>
814 <goal>clean</goal>
815 </goals>
816 <configuration>
817 <filesets>
818 <!-- static configuration files -->
819 <fileset>
820 <directory>
821 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
822 </directory>
823 <followSymlinks>false</followSymlinks>
824 <includes>
825 <include>Artifact-Generator.properties</include>
826 <include>error-configuration.yaml</include>
827 <include>ecomp-error-configuration.yaml</include>
828 <include>logback.xml</include>
829 </includes>
830 </fileset>
831 <!-- BE WAR's -->
832 <fileset>
833 <directory>${project.parent.basedir}/catalog-be/sdc-backend</directory>
834 <followSymlinks>false</followSymlinks>
835 <includes>
836 <include>*.war</include>
k.kedron6effd852020-03-17 17:02:31 +0100837 <include>context.xml</include>
ys969316a9fce2020-01-19 13:50:02 +0200838 </includes>
839 </fileset>
840 <fileset>
841 <directory>
842 ${project.basedir}/sdc-backend-init/chef-repo/cookbooks/sdc-normatives/files/default
843 </directory>
844 <followSymlinks>false</followSymlinks>
845 <includes>
846 <include>normatives.tar.gz</include>
847 </includes>
848 </fileset>
ys969316a9fce2020-01-19 13:50:02 +0200849 </filesets>
850 </configuration>
851 </execution>
ys969316a9fce2020-01-19 13:50:02 +0200852 <execution>
853 <id>clean-static-files</id>
854 <phase>clean</phase>
855 <goals>
856 <goal>clean</goal>
857 </goals>
858 <configuration>
859 <filesets>
860 <!-- tosca files -->
861 <fileset>
862 <directory>${project.parent.basedir}/asdctool/tosca</directory>
863 <followSymlinks>false</followSymlinks>
864 </fileset>
865 </filesets>
866 </configuration>
867 </execution>
868 </executions>
869 </plugin>
870 <plugin>
871 <groupId>org.apache.maven.plugins</groupId>
872 <artifactId>maven-resources-plugin</artifactId>
873 <executions>
874 <execution>
875 <id>copy-static-configuration-files</id>
876 <phase>verify</phase>
877 <goals>
878 <goal>copy-resources</goal>
879 </goals>
880 <configuration>
881 <outputDirectory>
882 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
883 </outputDirectory>
884 <resources>
885 <resource>
886 <directory>${project.parent.basedir}/catalog-be/src/main/resources/config
887 </directory>
888 <includes>
889 <include>Artifact-Generator.properties</include>
890 <include>error-configuration.yaml</include>
891 <include>ecomp-error-configuration.yaml</include>
892 <include>logback.xml</include>
893 </includes>
894 </resource>
895 </resources>
896 </configuration>
897 </execution>
898 <execution>
899 <id>copy-tosca-folder</id>
900 <!-- here the phase you need -->
901 <phase>install</phase>
902 <goals>
903 <goal>copy-resources</goal>
904 </goals>
905 <configuration>
906 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
907 <resources>
908 <resource>
909 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
910 </directory>
911 <filtering>true</filtering>
912 </resource>
913 </resources>
914 </configuration>
915 </execution>
916 </executions>
917 </plugin>
vasrazfa5bdf02019-08-26 13:39:26 +0000918 </plugins>
ys969316a9fce2020-01-19 13:50:02 +0200919
920 <pluginManagement>
921 <plugins>
922 <!--This plugin's configuration is used to store Eclipse m2e settings
923 only. It has no influence on the Maven build itself. -->
924 <plugin>
925 <groupId>org.eclipse.m2e</groupId>
926 <artifactId>lifecycle-mapping</artifactId>
927 <version>1.0.0</version>
928 <configuration>
929 <lifecycleMappingMetadata>
930 <pluginExecutions>
931 <pluginExecution>
932 <pluginExecutionFilter>
933 <groupId>com.googlecode.maven-download-plugin</groupId>
934 <artifactId>download-maven-plugin</artifactId>
935 <versionRange>[1.2.1,)</versionRange>
936 <goals>
937 <goal>wget</goal>
938 </goals>
939 </pluginExecutionFilter>
940 <action>
941 <ignore></ignore>
942 </action>
943 </pluginExecution>
944
945 <pluginExecution>
946 <pluginExecutionFilter>
947 <groupId>com.jcabi</groupId>
948 <artifactId>jcabi-maven-plugin</artifactId>
949 <versionRange>[0.0,)</versionRange>
950 <goals>
951 <goal>ajc</goal>
952 </goals>
953 </pluginExecutionFilter>
954 <action>
955 <execute/>
956 </action>
957 </pluginExecution>
958
959 </pluginExecutions>
960 </lifecycleMappingMetadata>
961 </configuration>
962 </plugin>
963 </plugins>
964 </pluginManagement>
965 <!-- Swagger Plugins End -->
966 </build>
967
968 <profiles>
969 <profile>
970 <id>docker-staging</id>
971 <properties>
972 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
973 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
974 </properties>
975 </profile>
976
977 <profile>
978 <id>docker</id>
979 <activation>
980 <activeByDefault>false</activeByDefault>
981 </activation>
982 <build>
983 <plugins>
984 <plugin>
MichaelMorris580e5362020-02-08 22:55:49 +0000985 <artifactId>maven-antrun-plugin</artifactId>
986 <version>1.8</version>
987 <executions>
988 <execution>
989 <id>copy-context-file</id>
990 <phase>validate</phase>
991 <configuration>
992 <target>
993 <copy file="sdc-backend/context.xml.template" tofile="sdc-backend/context.xml"/>
994 </target>
995 </configuration>
996 <goals>
997 <goal>run</goal>
998 </goals>
999 </execution>
1000 <execution>
1001 <id>set-version-in-context-file</id>
1002 <phase>generate-resources</phase>
1003 <configuration>
1004 <target>
1005 <replace file="sdc-backend/context.xml">
1006 <replacetoken>projectversion</replacetoken>
1007 <replacevalue>${project.version}</replacevalue>
1008 </replace>
1009 </target>
1010 </configuration>
1011 <goals>
1012 <goal>run</goal>
1013 </goals>
1014 </execution>
1015 </executions>
1016 </plugin>
1017 <plugin>
ys969316a9fce2020-01-19 13:50:02 +02001018 <groupId>org.apache.maven.plugins</groupId>
1019 <artifactId>maven-resources-plugin</artifactId>
1020 <executions>
1021 <execution>
ys969316a9fce2020-01-19 13:50:02 +02001022 <id>copy-resources-be</id>
1023 <phase>verify</phase>
1024 <goals>
1025 <goal>copy-resources</goal>
1026 </goals>
1027 <configuration>
1028 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
1029 <resources>
1030 <resource>
1031 <directory>${project.parent.basedir}/catalog-be/target</directory>
1032 <includes>
1033 <include>catalog-be-${project.version}.war</include>
1034 </includes>
1035 </resource>
ys969316a9fce2020-01-19 13:50:02 +02001036 </resources>
1037 </configuration>
1038 </execution>
1039 <execution>
1040 <id>copy-normatives</id>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +01001041 <phase>package</phase>
ys969316a9fce2020-01-19 13:50:02 +02001042 <goals>
1043 <goal>copy-resources</goal>
1044 </goals>
1045 <configuration>
1046 <outputDirectory>
1047 sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
1048 </outputDirectory>
1049 <resources>
1050 <resource>
1051 <directory>${project.parent.basedir}/catalog-be/target</directory>
1052 <includes>
1053 <include>normatives.tar.gz</include>
1054 </includes>
1055 </resource>
1056 </resources>
1057 </configuration>
1058 </execution>
1059 </executions>
1060 </plugin>
1061 <plugin>
1062 <groupId>io.fabric8</groupId>
1063 <artifactId>docker-maven-plugin</artifactId>
1064 <configuration>
1065 <apiVersion>1.23</apiVersion>
1066 <registry>nexus3.onap.org:10001</registry>
1067 <authConfig>
1068 <pull>
1069 <username>docker</username>
1070 <password>docker</password>
1071 </pull>
1072 </authConfig>
1073 <images>
1074
1075 <!-- Build backend image -->
1076 <image>
1077 <name>onap/sdc-backend</name>
1078 <alias>sdc-backend</alias>
1079 <build>
1080 <cleanup>try</cleanup>
1081 <dockerFileDir>${project.basedir}/sdc-backend</dockerFileDir>
1082 <tags>
1083 <tag>${docker.tag}</tag>
1084 <tag>
1085 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1086 </tag>
1087 </tags>
1088 </build>
1089 </image>
1090 <!-- Build backend-init image -->
1091 <image>
1092 <name>onap/sdc-backend-init</name>
1093 <alias>sdc-backend-init</alias>
1094 <build>
1095 <cleanup>try</cleanup>
1096 <dockerFileDir>${project.basedir}/sdc-backend-init</dockerFileDir>
1097 <tags>
1098 <tag>${docker.tag}</tag>
1099 <tag>
1100 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1101 </tag>
1102 </tags>
1103 </build>
1104 </image>
1105 </images>
1106 </configuration>
1107 <executions>
1108 <execution>
1109 <id>clean-images</id>
1110 <phase>pre-clean</phase>
1111 <goals>
1112 <goal>remove</goal>
1113 </goals>
1114 <configuration>
1115 <removeAll>true</removeAll>
1116 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1117 </configuration>
1118 </execution>
1119
1120 <execution>
1121 <id>generate-images</id>
1122 <phase>install</phase>
1123 <goals>
1124 <goal>build</goal>
1125 </goals>
1126 </execution>
1127
1128 <execution>
1129 <id>push-images</id>
1130 <phase>deploy</phase>
1131 <goals>
1132 <goal>push</goal>
1133 </goals>
1134 <configuration>
1135 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1136 </configuration>
1137 </execution>
1138 </executions>
1139 </plugin>
1140 </plugins>
1141 </build>
1142 </profile>
1143 </profiles>
MichaelMorris580e5362020-02-08 22:55:49 +00001144</project>