blob: 3f56c02afa7d0841d2f7a91f2c2f498dae3d7088 [file] [log] [blame]
vasrazfa5bdf02019-08-26 13:39:26 +00001<project xmlns="http://maven.apache.org/POM/4.0.0"
vasrazc81c95b2021-05-31 23:08:39 +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
vasrazc81c95b2021-05-31 23:08:39 +01006 <artifactId>catalog-be</artifactId>
7 <packaging>war</packaging>
vasrazfa5bdf02019-08-26 13:39:26 +00008
vasrazc81c95b2021-05-31 23:08:39 +01009 <parent>
10 <groupId>org.openecomp.sdc</groupId>
11 <artifactId>sdc-main</artifactId>
12 <version>1.9.0-SNAPSHOT</version>
13 </parent>
vasrazfa5bdf02019-08-26 13:39:26 +000014
vasrazc81c95b2021-05-31 23:08:39 +010015 <properties>
16 <java-hamcrest.version>2.0.0.0</java-hamcrest.version>
17 <swagger.version>${swagger-core-mvn-plugin.version}</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
vasrazc81c95b2021-05-31 23:08:39 +010023 <dependencies>
24 <dependency>
25 <groupId>org.openecomp.sdc</groupId>
26 <artifactId>togglz-rest-services</artifactId>
27 <version>${project.version}</version>
28 <exclusions>
29 <exclusion>
30 <groupId>com.fasterxml.woodstox</groupId>
31 <artifactId>woodstox-core</artifactId>
32 </exclusion>
33 </exclusions>
34 </dependency>
sebdet591810d2020-09-17 15:07:23 +020035
vasrazc81c95b2021-05-31 23:08:39 +010036 <!--JSON and YAML Parsing-->
37 <dependency>
38 <groupId>com.fasterxml.jackson.core</groupId>
39 <artifactId>jackson-core</artifactId>
40 <version>${jackson.version}</version>
41 </dependency>
42 <dependency>
43 <groupId>com.fasterxml.jackson.dataformat</groupId>
44 <artifactId>jackson-dataformat-yaml</artifactId>
45 <version>${jackson.version}</version>
46 <exclusions>
47 <exclusion>
48 <groupId>com.fasterxml.jackson.core</groupId>
49 <artifactId>jackson-core</artifactId>
50 </exclusion>
51 </exclusions>
52 </dependency>
sebdet591810d2020-09-17 15:07:23 +020053
vasrazc81c95b2021-05-31 23:08:39 +010054 <dependency>
55 <groupId>com.fasterxml.jackson.core</groupId>
56 <artifactId>jackson-databind</artifactId>
57 <version>${jackson.version}</version>
58 <exclusions>
59 <exclusion>
60 <groupId>com.fasterxml.jackson.core</groupId>
61 <artifactId>jackson-core</artifactId>
62 </exclusion>
63 </exclusions>
64 </dependency>
sebdet591810d2020-09-17 15:07:23 +020065
vasrazc81c95b2021-05-31 23:08:39 +010066 <dependency>
67 <groupId>org.onap.sdc.common</groupId>
68 <artifactId>onap-generic-artifact-browser-service</artifactId>
69 <version>${project.version}</version>
70 <scope>compile</scope>
71 </dependency>
sebdet591810d2020-09-17 15:07:23 +020072
vasrazc81c95b2021-05-31 23:08:39 +010073 <!-- Swagger Dependencies Start -->
74 <dependency>
75 <groupId>io.swagger.core.v3</groupId>
76 <artifactId>swagger-jaxrs2</artifactId>
77 <version>${swagger.version}</version>
78 <exclusions>
79 <exclusion>
80 <groupId>com.fasterxml.jackson.core</groupId>
81 <artifactId>jackson-core</artifactId>
82 </exclusion>
83 </exclusions>
84 </dependency>
85 <dependency>
86 <groupId>io.swagger.core.v3</groupId>
87 <artifactId>swagger-annotations</artifactId>
88 <version>${swagger.version}</version>
89 </dependency>
90 <!-- Swagger Dependencies End -->
sebdet591810d2020-09-17 15:07:23 +020091
vasrazc81c95b2021-05-31 23:08:39 +010092 <dependency>
93 <groupId>org.hibernate</groupId>
94 <artifactId>hibernate-validator</artifactId>
95 <version>${hibernate.validator.version}</version>
96 </dependency>
sebdet591810d2020-09-17 15:07:23 +020097
vasrazc81c95b2021-05-31 23:08:39 +010098 <dependency>
99 <groupId>org.openecomp.sdc</groupId>
100 <artifactId>common-app-api</artifactId>
101 <version>${project.version}</version>
102 <exclusions>
103 <exclusion>
104 <groupId>com.fasterxml.jackson.core</groupId>
105 <artifactId>jackson-core</artifactId>
106 </exclusion>
107 </exclusions>
108 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200109
vasrazc81c95b2021-05-31 23:08:39 +0100110 <dependency>
111 <groupId>javax.ws.rs</groupId>
112 <artifactId>javax.ws.rs-api</artifactId>
113 <version>${ws.rs.version}</version>
114 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200115
vasrazc81c95b2021-05-31 23:08:39 +0100116 <dependency>
117 <groupId>org.openecomp.sdc.be</groupId>
118 <artifactId>common-be</artifactId>
119 <version>${project.version}</version>
120 <scope>compile</scope>
121 </dependency>
122 <dependency>
123 <groupId>org.openecomp.sdc.be</groupId>
124 <artifactId>common-be</artifactId>
125 <version>${project.version}</version>
126 <type>test-jar</type>
127 <scope>test</scope>
128 </dependency>
129 <dependency>
130 <groupId>org.openecomp.sdc.be</groupId>
131 <artifactId>catalog-dao</artifactId>
132 <version>${project.version}</version>
133 <exclusions>
134 <exclusion>
135 <groupId>com.fasterxml.jackson.core</groupId>
136 <artifactId>jackson-core</artifactId>
137 </exclusion>
138 </exclusions>
139 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200140
vasrazc81c95b2021-05-31 23:08:39 +0100141 <dependency>
142 <groupId>org.openecomp.sdc.be</groupId>
143 <artifactId>catalog-model</artifactId>
144 <version>${project.version}</version>
145 <exclusions>
146 <exclusion>
147 <groupId>com.fasterxml.jackson.core</groupId>
148 <artifactId>jackson-core</artifactId>
149 </exclusion>
150 </exclusions>
151 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200152
vasrazc81c95b2021-05-31 23:08:39 +0100153 <dependency>
154 <groupId>ch.qos.logback</groupId>
155 <artifactId>logback-classic</artifactId>
156 <version>${logback.version}</version>
157 <scope>compile</scope>
158 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200159
vasrazc81c95b2021-05-31 23:08:39 +0100160 <!-- Snake Yaml -->
161 <dependency>
162 <groupId>org.yaml</groupId>
163 <artifactId>snakeyaml</artifactId>
164 <version>${snakeyaml.version}</version>
165 <scope>compile</scope>
166 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200167
vasrazc81c95b2021-05-31 23:08:39 +0100168 <!-- File changes listener -->
169 <dependency>
170 <groupId>org.apache.commons</groupId>
171 <artifactId>commons-jci-core</artifactId>
172 <version>${commons-jci-core.version}</version>
173 <scope>compile</scope>
174 <exclusions>
175 <exclusion>
176 <groupId>commons-io</groupId>
177 <artifactId>commons-io</artifactId>
178 </exclusion>
179 </exclusions>
180 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200181
vasrazc81c95b2021-05-31 23:08:39 +0100182 <!-- Gson -->
183 <dependency>
184 <groupId>com.google.code.gson</groupId>
185 <artifactId>gson</artifactId>
186 <version>${gson.version}</version>
187 <scope>compile</scope>
188 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200189
vasrazc81c95b2021-05-31 23:08:39 +0100190 <!-- jersey -->
191 <dependency>
192 <groupId>org.glassfish.jersey.media</groupId>
193 <artifactId>jersey-media-json-jackson</artifactId>
194 <version>${jersey-bom.version}</version>
195 <exclusions>
196 <exclusion>
197 <groupId>com.fasterxml.jackson.core</groupId>
198 <artifactId>jackson-core</artifactId>
199 </exclusion>
200 </exclusions>
201 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200202
vasrazc81c95b2021-05-31 23:08:39 +0100203 <dependency>
204 <groupId>org.glassfish.jersey.containers</groupId>
205 <artifactId>jersey-container-servlet-core</artifactId>
206 <version>${jersey-bom.version}</version>
207 <scope>compile</scope>
208 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200209
vasrazc81c95b2021-05-31 23:08:39 +0100210 <dependency>
211 <groupId>org.glassfish.jersey.media</groupId>
212 <artifactId>jersey-media-multipart</artifactId>
213 <version>${jersey-bom.version}</version>
214 <scope>compile</scope>
215 </dependency>
216 <dependency>
217 <groupId>org.glassfish.jersey.ext</groupId>
218 <artifactId>jersey-spring4</artifactId>
219 <version>${jersey-bom.version}</version>
220 <exclusions>
221 <exclusion>
222 <groupId>org.springframework</groupId>
223 <artifactId>spring-web</artifactId>
224 </exclusion>
225 <exclusion>
226 <groupId>org.springframework</groupId>
227 <artifactId>spring-beans</artifactId>
228 </exclusion>
229 <exclusion>
230 <groupId>org.springframework</groupId>
231 <artifactId>spring-core</artifactId>
232 </exclusion>
233 <exclusion>
234 <groupId>org.springframework</groupId>
235 <artifactId>spring-aop</artifactId>
236 </exclusion>
237 <!-- Transitive dependency of spring-bridge -->
238 <exclusion>
239 <groupId>org.springframework</groupId>
240 <artifactId>spring-context</artifactId>
241 </exclusion>
242 </exclusions>
sebdet591810d2020-09-17 15:07:23 +0200243
vasrazc81c95b2021-05-31 23:08:39 +0100244 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200245
vasrazc81c95b2021-05-31 23:08:39 +0100246 <!--asm-all-repackaged is a jersey dependency. in current version jersey depends on a version that was compiled using java 9 compiler
247 currently our jetty (v9.3.6) does not support java 9. as soon as jetty gets upgraded we will remove this dependency-->
248 <dependency>
249 <groupId>org.glassfish.hk2.external</groupId>
250 <artifactId>asm-all-repackaged</artifactId>
251 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200252
vasrazc81c95b2021-05-31 23:08:39 +0100253 <dependency>
254 <groupId>org.glassfish.jersey.ext</groupId>
255 <artifactId>jersey-bean-validation</artifactId>
256 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200257
vasrazc81c95b2021-05-31 23:08:39 +0100258 <!-- http client -->
259 <dependency>
260 <groupId>org.apache.httpcomponents</groupId>
261 <artifactId>httpclient</artifactId>
262 <version>${httpclient.version}</version>
263 <scope>compile</scope>
264 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200265
vasrazc81c95b2021-05-31 23:08:39 +0100266 <dependency>
267 <groupId>org.apache.httpcomponents</groupId>
268 <artifactId>httpcore</artifactId>
269 <version>${httpcore.version}</version>
270 <scope>compile</scope>
271 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200272
vasrazc81c95b2021-05-31 23:08:39 +0100273 <dependency>
274 <groupId>commons-logging</groupId>
275 <artifactId>commons-logging</artifactId>
276 <version>${commons-logging}</version>
277 <scope>compile</scope>
278 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200279
vasrazc81c95b2021-05-31 23:08:39 +0100280 <dependency>
281 <groupId>commons-codec</groupId>
282 <artifactId>commons-codec</artifactId>
283 <version>${commons-codec}</version>
284 <scope>compile</scope>
285 </dependency>
286 <!-- http client END -->
sebdet591810d2020-09-17 15:07:23 +0200287
vasrazc81c95b2021-05-31 23:08:39 +0100288 <dependency>
289 <groupId>javax.servlet</groupId>
290 <artifactId>javax.servlet-api</artifactId>
291 <version>${servlet-api.version}</version>
292 <scope>provided</scope>
293 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200294
vasrazc81c95b2021-05-31 23:08:39 +0100295 <dependency>
296 <groupId>org.eclipse.jgit</groupId>
297 <artifactId>org.eclipse.jgit</artifactId>
298 <version>3.4.1.201406201815-r</version>
299 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200300
vasrazc81c95b2021-05-31 23:08:39 +0100301 <!-- spring - used by A4C -->
302 <dependency>
303 <groupId>org.springframework</groupId>
304 <artifactId>spring-core</artifactId>
305 <version>${spring.version}</version>
306 <scope>compile</scope>
307 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200308
vasrazc81c95b2021-05-31 23:08:39 +0100309 <dependency>
310 <groupId>org.springframework</groupId>
311 <artifactId>spring-context</artifactId>
312 <version>${spring.version}</version>
313 <scope>compile</scope>
314 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200315
vasrazc81c95b2021-05-31 23:08:39 +0100316 <dependency>
317 <groupId>org.springframework</groupId>
318 <artifactId>spring-web</artifactId>
319 <version>${spring.version}</version>
320 <scope>compile</scope>
321 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200322
vasrazc81c95b2021-05-31 23:08:39 +0100323 <dependency>
324 <groupId>org.springframework</groupId>
325 <artifactId>spring-webmvc</artifactId>
326 <version>${spring.version}</version>
327 <scope>compile</scope>
328 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200329
vasrazc81c95b2021-05-31 23:08:39 +0100330 <dependency>
331 <groupId>org.springframework</groupId>
332 <artifactId>spring-aop</artifactId>
333 <version>${spring.version}</version>
334 <scope>compile</scope>
335 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200336
vasrazc81c95b2021-05-31 23:08:39 +0100337 <dependency>
338 <groupId>org.springframework</groupId>
339 <artifactId>spring-beans</artifactId>
340 <version>${spring.version}</version>
341 <scope>compile</scope>
342 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200343
vasrazc81c95b2021-05-31 23:08:39 +0100344 <dependency>
345 <groupId>org.springframework</groupId>
346 <artifactId>spring-expression</artifactId>
347 <version>${spring.version}</version>
348 <scope>compile</scope>
349 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200350
vasrazc81c95b2021-05-31 23:08:39 +0100351 <!-- Spring integration (optional) -->
352 <dependency>
353 <groupId>org.togglz</groupId>
354 <artifactId>togglz-spring-web</artifactId>
355 <version>${togglz.version}</version>
356 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200357
vasrazc81c95b2021-05-31 23:08:39 +0100358 <dependency>
359 <groupId>org.codehaus.janino</groupId>
360 <artifactId>janino</artifactId>
361 <version>${janino.version}</version>
362 <scope>compile</scope>
363 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200364
vasrazc81c95b2021-05-31 23:08:39 +0100365 <dependency>
366 <groupId>org.codehaus.janino</groupId>
367 <artifactId>commons-compiler</artifactId>
368 <version>${janino.version}</version>
369 <scope>compile</scope>
370 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200371
vasrazc81c95b2021-05-31 23:08:39 +0100372 <dependency>
373 <groupId>com.google.guava</groupId>
374 <artifactId>guava</artifactId>
375 <version>${guava.version}</version>
376 <scope>compile</scope>
377 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200378
vasrazc81c95b2021-05-31 23:08:39 +0100379 <dependency>
380 <groupId>org.janusgraph</groupId>
381 <artifactId>janusgraph-core</artifactId>
382 <version>${janusgraph.version}</version>
383 <scope>compile</scope>
384 <exclusions>
385 <exclusion>
386 <artifactId>gremlin-groovy</artifactId>
387 <groupId>org.apache.tinkerpop</groupId>
388 </exclusion>
389 <exclusion>
390 <groupId>org.json</groupId>
391 <artifactId>json</artifactId>
392 </exclusion>
393 <exclusion>
394 <artifactId>slf4j-log4j12</artifactId>
395 <groupId>org.slf4j</groupId>
396 </exclusion>
397 <exclusion>
398 <artifactId>commons-collections</artifactId>
399 <groupId>commons-collections</groupId>
400 </exclusion>
401 <exclusion>
402 <groupId>org.apache.thrift</groupId>
403 <artifactId>libthrift</artifactId>
404 </exclusion>
405 <exclusion>
406 <groupId>commons-io</groupId>
407 <artifactId>commons-io</artifactId>
408 </exclusion>
409 </exclusions>
410 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200411
vasrazc81c95b2021-05-31 23:08:39 +0100412 <dependency>
413 <groupId>org.janusgraph</groupId>
414 <artifactId>janusgraph-cql</artifactId>
415 <version>${janusgraph.version}</version>
416 <scope>compile</scope>
417 <exclusions>
418 <exclusion>
419 <groupId>org.slf4j</groupId>
420 <artifactId>slf4j-log4j12</artifactId>
421 </exclusion>
422 <exclusion>
423 <groupId>org.json</groupId>
424 <artifactId>json</artifactId>
425 </exclusion>
426 <exclusion>
427 <artifactId>commons-collections</artifactId>
428 <groupId>commons-collections</groupId>
429 </exclusion>
430 <exclusion>
431 <artifactId>groovy</artifactId>
432 <groupId>org.codehaus.groovy</groupId>
433 </exclusion>
434 <exclusion>
435 <groupId>io.netty</groupId>
436 <artifactId>netty-all</artifactId>
437 </exclusion>
438 </exclusions>
439 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200440
vasrazc81c95b2021-05-31 23:08:39 +0100441 <dependency>
442 <groupId>org.apache.commons</groupId>
443 <artifactId>commons-lang3</artifactId>
444 <version>${lang3.version}</version>
445 <scope>compile</scope>
446 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200447
vasrazc81c95b2021-05-31 23:08:39 +0100448 <dependency>
449 <groupId>com.googlecode.json-simple</groupId>
450 <artifactId>json-simple</artifactId>
451 <version>${json-simple.version}</version>
452 <scope>compile</scope>
sebdet591810d2020-09-17 15:07:23 +0200453
vasrazc81c95b2021-05-31 23:08:39 +0100454 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200455
vasrazc81c95b2021-05-31 23:08:39 +0100456 <!-- functional java -->
457 <dependency>
458 <groupId>org.functionaljava</groupId>
459 <artifactId>functionaljava</artifactId>
460 <version>${functionaljava.version}</version>
461 <scope>compile</scope>
462 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200463
vasrazc81c95b2021-05-31 23:08:39 +0100464 <!-- Aspects -->
465 <dependency>
466 <groupId>com.jcabi</groupId>
467 <artifactId>jcabi-aspects</artifactId>
468 <version>${jcabi.version}</version>
469 <scope>compile</scope>
470 </dependency>
471
472 <dependency>
473 <groupId>org.aspectj</groupId>
474 <artifactId>aspectjrt</artifactId>
475 <version>${aspectjrt.version}</version>
476 <scope>compile</scope>
477 </dependency>
478
479
480 <!-- CAMBRIA CLIENT for U-EB -->
481 <dependency>
482 <groupId>com.att.nsa</groupId>
483 <artifactId>cambriaClient</artifactId>
484 <version>1.2.1-oss</version>
485 <scope>compile</scope>
486 <exclusions>
487 <exclusion>
488 <groupId>com.att.nsa</groupId>
489 <artifactId>saClientLibrary</artifactId>
490 </exclusion>
491 </exclusions>
492 </dependency>
493
494 <dependency>
495 <groupId>org.json</groupId>
496 <artifactId>json</artifactId>
497 <version>20131018</version>
498 <scope>compile</scope>
499 </dependency>
500
501 <!-- CASSANDRA -->
502 <dependency>
503 <groupId>com.datastax.cassandra</groupId>
504 <artifactId>cassandra-driver-core</artifactId>
505 <version>${cassandra.driver.version}</version>
506 <scope>compile</scope>
507 </dependency>
508 <dependency>
509 <groupId>com.datastax.cassandra</groupId>
510 <artifactId>cassandra-driver-mapping</artifactId>
511 <version>${cassandra.driver.version}</version>
512 <scope>compile</scope>
513 </dependency>
514 <!-- CASSANDRA END -->
515
516 <!-- Inserted for ECOMP Portal Integration -->
517 <dependency>
518 <groupId>org.owasp.esapi</groupId>
519 <artifactId>esapi</artifactId>
520 <version>2.2.0.0</version>
521 <exclusions>
522 <exclusion>
523 <groupId>xerces</groupId>
524 <artifactId>xercesImpl</artifactId>
525 </exclusion>
526 <exclusion>
527 <groupId>log4j</groupId>
528 <artifactId>log4j</artifactId>
529 </exclusion>
530 <exclusion>
531 <groupId>commons-fileupload</groupId>
532 <artifactId>commons-fileupload</artifactId>
533 </exclusion>
534 </exclusions>
535 </dependency>
536 <dependency>
537 <groupId>org.onap.portal.sdk</groupId>
538 <artifactId>epsdk-fw</artifactId>
539 <version>${ecomp.version}</version>
540 <scope>compile</scope>
541 <exclusions>
542 <exclusion>
543 <groupId>com.att.nsa</groupId>
544 <artifactId>cambriaClient</artifactId>
545 </exclusion>
546 <exclusion>
547 <artifactId>slf4j-log4j12</artifactId>
548 <groupId>org.slf4j</groupId>
549 </exclusion>
550 <exclusion>
551 <groupId>org.onap.aaf.authz</groupId>
552 <artifactId>aaf-cadi-aaf</artifactId>
553 </exclusion>
554 <exclusion>
555 <artifactId>aaf-cadi-core</artifactId>
556 <groupId>org.onap.aaf.authz</groupId>
557 </exclusion>
558 <exclusion>
559 <artifactId>commons-codec</artifactId>
560 <groupId>commons-codec</groupId>
561 </exclusion>
562 <exclusion>
563 <artifactId>log4j</artifactId>
564 <groupId>log4j</groupId>
565 </exclusion>
566 </exclusions>
567 </dependency>
568
569 <!--Jetty Proxy-->
570 <dependency>
571 <groupId>org.eclipse.jetty</groupId>
572 <artifactId>jetty-http</artifactId>
573 <version>${jetty.version}</version>
574 <scope>compile</scope>
575 </dependency>
576
577 <dependency>
578 <groupId>org.eclipse.jetty</groupId>
579 <artifactId>jetty-proxy</artifactId>
580 <version>${jetty.version}</version>
581 <scope>compile</scope>
582 <exclusions>
583 <exclusion>
584 <groupId>org.eclipse.jetty</groupId>
585 <artifactId>jetty-http</artifactId>
586 </exclusion>
587 </exclusions>
588 </dependency>
589
590 <dependency>
591 <groupId>org.eclipse.jetty</groupId>
592 <artifactId>jetty-servlets</artifactId>
593 <version>${jetty.version}</version>
594 <scope>compile</scope>
595 <exclusions>
596 <exclusion>
597 <groupId>org.eclipse.jetty</groupId>
598 <artifactId>jetty-http</artifactId>
599 </exclusion>
600 <exclusion>
601 <groupId>org.eclipse.jetty</groupId>
602 <artifactId>jetty-continuation</artifactId>
603 </exclusion>
604 </exclusions>
605 </dependency>
606 <!-- System metrics -->
607 <dependency>
608 <groupId>org.fusesource</groupId>
609 <artifactId>sigar</artifactId>
610 <version>${sigar.version}</version>
611 <scope>compile</scope>
612 <exclusions>
613 <exclusion>
614 <groupId>log4j</groupId>
615 <artifactId>log4j</artifactId>
616 </exclusion>
617 </exclusions>
618 </dependency>
619 <dependency>
620 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
621 <artifactId>dmaapClient</artifactId>
622 <version>1.1.3</version>
623 <scope>compile</scope>
624 <exclusions>
625 <exclusion>
626 <groupId>com.att.aft</groupId>
627 <artifactId>dme2</artifactId>
628 </exclusion>
629 <exclusion>
630 <groupId>com.fasterxml.jackson.core</groupId>
631 <artifactId>jackson-core</artifactId>
632 </exclusion>
633 <exclusion>
634 <artifactId>log4j</artifactId>
635 <groupId>log4j</groupId>
636 </exclusion>
637 <exclusion>
638 <artifactId>apache-log4j-extras</artifactId>
639 <groupId>log4j</groupId>
640 </exclusion>
641 </exclusions>
642 </dependency>
643 <dependency>
644 <groupId>com.att.aft</groupId>
645 <artifactId>dme2</artifactId>
646 <version>3.1.200-oss</version>
647 </dependency>
648
649 <dependency>
650 <groupId>javax.jms</groupId>
651 <artifactId>jms</artifactId>
652 <version>1.1</version>
653 <scope>provided</scope>
654 </dependency>
655
656 <!-- CADI -->
657 <dependency>
658 <groupId>org.onap.aaf.authz</groupId>
659 <artifactId>aaf-cadi-aaf</artifactId>
660 <version>${cadi.version}</version>
661 <exclusions>
662 <exclusion>
663 <groupId>com.datastax.cassandra</groupId>
664 <artifactId>cassandra-driver-core</artifactId>
665 </exclusion>
666 <exclusion>
667 <groupId>org.slf4j</groupId>
668 <artifactId>slf4j-log4j12</artifactId>
669 </exclusion>
670 <exclusion>
671 <artifactId>log4j</artifactId>
672 <groupId>log4j</groupId>
673 </exclusion>
674 </exclusions>
675 </dependency>
676
677 <!-- TEST -->
678 <dependency>
679 <groupId>org.assertj</groupId>
680 <artifactId>assertj-core</artifactId>
681 <scope>test</scope>
682 </dependency>
683
684 <dependency>
685 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
686 <artifactId>jersey-test-framework-provider-bundle</artifactId>
687 <version>${jersey-bom.version}</version>
688 <type>pom</type>
689 <scope>test</scope>
690 <exclusions>
691 <exclusion>
692 <groupId>org.eclipse.jetty</groupId>
693 <artifactId>jetty-server</artifactId>
694 </exclusion>
695 <exclusion>
696 <groupId>org.eclipse.jetty</groupId>
697 <artifactId>jetty-continuation</artifactId>
698 </exclusion>
699 </exclusions>
700 </dependency>
701
702 <dependency>
703 <groupId>org.glassfish.jersey.core</groupId>
704 <artifactId>jersey-client</artifactId>
705 <version>${jersey-bom.version}</version>
706 </dependency>
707
708 <dependency>
709 <groupId>org.eclipse.jetty</groupId>
710 <artifactId>jetty-webapp</artifactId>
711 <version>${jetty.version}</version>
712 <scope>test</scope>
713 <exclusions>
714 <exclusion>
715 <groupId>org.eclipse.jetty</groupId>
716 <artifactId>jetty-servlet</artifactId>
717 </exclusion>
718 </exclusions>
719 </dependency>
720
721 <dependency>
722 <groupId>org.hamcrest</groupId>
723 <artifactId>hamcrest</artifactId>
724 <version>${hamcrest.version}</version>
725 <scope>test</scope>
726 </dependency>
727
728 <dependency>
729 <groupId>org.hamcrest</groupId>
730 <artifactId>hamcrest-library</artifactId>
731 <version>${hamcrest.version}</version>
732 <scope>test</scope>
733 </dependency>
734
735 <dependency>
736 <groupId>org.junit.jupiter</groupId>
737 <artifactId>junit-jupiter-api</artifactId>
738 <version>${junitJupiter.version}</version>
739 <scope>test</scope>
740 </dependency>
741
742 <dependency>
743 <groupId>org.junit.jupiter</groupId>
744 <artifactId>junit-jupiter</artifactId>
745 <version>${junitJupiter.version}</version>
746 <scope>test</scope>
747 </dependency>
748
749 <dependency>
750 <groupId>org.junit.platform</groupId>
751 <artifactId>junit-platform-commons</artifactId>
752 <version>${junit.platform.version}</version>
753 <scope>test</scope>
754 </dependency>
755 <dependency>
756 <groupId>org.junit.platform</groupId>
757 <artifactId>junit-platform-engine</artifactId>
758 <version>${junit.platform.version}</version>
759 <scope>test</scope>
760 </dependency>
761 <dependency>
762 <groupId>org.mockito</groupId>
763 <artifactId>mockito-junit-jupiter</artifactId>
764 <version>${mockitoJupiter.version}</version>
765 <scope>test</scope>
766 </dependency>
767
768 <dependency>
769 <groupId>org.springframework</groupId>
770 <artifactId>spring-test</artifactId>
771 <version>${spring.version}</version>
772 <scope>test</scope>
773 </dependency>
774
775 <dependency>
776 <groupId>org.springframework</groupId>
777 <artifactId>spring-tx</artifactId>
778 <version>${spring.version}</version>
779 </dependency>
780
781 <dependency>
782 <groupId>io.cucumber</groupId>
783 <artifactId>cucumber-java</artifactId>
784 <version>${cucumber.version}</version>
785 <scope>test</scope>
786 </dependency>
787
788 <dependency>
789 <groupId>io.cucumber</groupId>
790 <artifactId>cucumber-junit</artifactId>
791 <version>${cucumber.version}</version>
792 <scope>test</scope>
793 </dependency>
794
795 <dependency>
796 <groupId>org.jmockit</groupId>
797 <artifactId>jmockit</artifactId>
798 <version>${jmockit.version}</version>
799 <scope>test</scope>
800 </dependency>
801
802 <dependency>
803 <groupId>com.google.code.bean-matchers</groupId>
804 <artifactId>bean-matchers</artifactId>
805 <version>0.11</version>
806 <scope>test</scope>
807 </dependency>
808
809 <dependency>
810 <groupId>org.codehaus.groovy</groupId>
811 <artifactId>groovy</artifactId>
812 <version>${groovy.version}</version>
813 </dependency>
814
815 <dependency>
816 <groupId>io.netty</groupId>
817 <artifactId>netty-handler</artifactId>
818 </dependency>
819 <dependency>
820 <groupId>org.onap.sdc.common</groupId>
821 <artifactId>onap-tosca-datatype</artifactId>
822 <version>${project.version}</version>
823 <exclusions>
824 <exclusion>
825 <groupId>com.fasterxml.jackson.core</groupId>
826 <artifactId>jackson-core</artifactId>
827 </exclusion>
828 </exclusions>
829 </dependency>
830 <dependency>
831 <groupId>org.apache.commons</groupId>
832 <artifactId>commons-collections4</artifactId>
833 <version>${commons.collections.version}</version>
834 </dependency>
835 <dependency>
836 <groupId>org.onap.sdc.sdc-be-common</groupId>
837 <artifactId>security-util-lib</artifactId>
838 <version>${security.util.lib.version}</version>
839 <exclusions>
840 <exclusion>
841 <groupId>org.springframework.boot</groupId>
842 <artifactId>spring-boot-starter-logging</artifactId>
843 </exclusion>
844 </exclusions>
845 </dependency>
846 <dependency>
847 <groupId>org.openecomp.sdc.core</groupId>
848 <artifactId>openecomp-tosca-lib</artifactId>
849 <version>${project.version}</version>
850 <exclusions>
851 <exclusion>
852 <groupId>com.fasterxml.jackson.core</groupId>
853 <artifactId>jackson-core</artifactId>
854 </exclusion>
855 </exclusions>
856 </dependency>
857 <dependency>
858 <groupId>org.onap.vnfsdk.validation</groupId>
859 <artifactId>validation-pmdictionary</artifactId>
860 <version>${onap.vnfsdk.validation.pmdictionary.version}</version>
861 <exclusions>
862 <exclusion>
863 <groupId>org.apache.logging.log4j</groupId>
864 <artifactId>log4j-slf4j-impl</artifactId>
865 </exclusion>
866 </exclusions>
867 </dependency>
868
869 <dependency>
870 <groupId>com.googlecode.jmapper-framework</groupId>
871 <artifactId>jmapper-core</artifactId>
872 <version>${jMapper.version}</version>
873 <exclusions>
874 <exclusion>
875 <groupId>com.thoughtworks.xstream</groupId>
876 <artifactId>xstream</artifactId>
877 </exclusion>
878 </exclusions>
879 </dependency>
880
881 </dependencies>
882
883 <build>
884 <finalName>catalog-be</finalName>
885 <plugins>
886 <plugin>
887 <groupId>org.apache.maven.plugins</groupId>
888 <artifactId>maven-surefire-plugin</artifactId>
889 <configuration>
890 <forkCount>1C</forkCount>
891 <reuseForks>false</reuseForks>
892 </configuration>
893 </plugin>
894 <plugin>
895 <!-- Download Swagger UI webjar. -->
896 <artifactId>maven-dependency-plugin</artifactId>
897 <version>${maven-dependency-plugin.version}</version>
898 <executions>
899 <execution>
900 <phase>prepare-package</phase>
901 <goals>
902 <goal>unpack</goal>
903 </goals>
904 <configuration>
905 <artifactItems>
906 <artifactItem>
907 <groupId>org.webjars</groupId>
908 <artifactId>swagger-ui</artifactId>
909 <version>${swagger-ui.version}</version>
910 </artifactItem>
911 </artifactItems>
912 <outputDirectory>${project.build.directory}/swagger-ui</outputDirectory>
913 </configuration>
914 </execution>
915 </executions>
916 </plugin>
917 <plugin>
918 <!-- Replace the OpenAPI specification example URL with the local one. -->
919 <groupId>com.google.code.maven-replacer-plugin</groupId>
920 <artifactId>replacer</artifactId>
921 <version>${replacer.plugin.version}</version>
922 <executions>
923 <execution>
924 <phase>prepare-package</phase>
925 <goals>
926 <goal>replace</goal>
927 </goals>
928 </execution>
929 </executions>
930 <configuration>
931 <file>
932 ${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}/index.html
933 </file>
934 <replacements>
935 <replacement>
936 <token>https://petstore.swagger.io/v2/swagger.json</token>
937 <value>/sdc/openapi.json</value>
938 </replacement>
939 </replacements>
940 </configuration>
941 </plugin>
942 <plugin>
943 <groupId>org.apache.maven.plugins</groupId>
944 <artifactId>maven-war-plugin</artifactId>
945 <configuration>
946 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
947 WEB-INF/classes/elasticsearch.yml,
948 WEB-INF/classes/portal.properties
949 </packagingExcludes>
950 <archive>
951 <manifestEntries>
952 <SDC-Version>${project.version}</SDC-Version>
953 </manifestEntries>
954 <manifest>
955 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
956 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
957 </manifest>
958 </archive>
959 <attachClasses>true</attachClasses>
960 <webResources combine.children="append">
961 <resource>
962 <directory>
963 ${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}
964 </directory>
965 <includes>
966 <include>**/*.*</include>
967 </includes>
968 <targetPath>swagger-ui</targetPath>
969 </resource>
970 </webResources>
971 </configuration>
972 </plugin>
973 <plugin>
974 <groupId>com.github.sylvainlaurent.maven</groupId>
975 <artifactId>yaml-json-validator-maven-plugin</artifactId>
976 <executions>
977 <execution>
978 <id>validate</id>
979 <phase>validate</phase>
980 <goals>
981 <goal>validate</goal>
982 </goals>
983 <configuration>
984 <validationSets>
985 <validationSet>
986 <includes>
987 <include>src/main/resources/**/*.y*ml</include>
988 <include>src/test/resources/**/*.y*ml</include>
989 </includes>
990 <excludes>
991 <exclude>
992 src/test/resources/artifacts/pnfSoftwareInformation/**
993 </exclude>
994 </excludes>
995 </validationSet>
996 <validationSet>
997 <includes>
998 <include>src/main/resources/**/*.json</include>
999 <include>src/test/resources/**/*.json</include>
1000 </includes>
1001 </validationSet>
1002 </validationSets>
1003 <skip>${skipYamlJsonValidator}</skip>
1004 </configuration>
1005 </execution>
1006 </executions>
1007 </plugin>
1008 <plugin>
1009 <groupId>com.jcabi</groupId>
1010 <artifactId>jcabi-maven-plugin</artifactId>
1011 <version>${jcabi.maven.plugin.version}</version>
1012 <dependencies>
1013 <dependency>
sebdet591810d2020-09-17 15:07:23 +02001014 <groupId>org.aspectj</groupId>
vasrazc81c95b2021-05-31 23:08:39 +01001015 <artifactId>aspectjtools</artifactId>
1016 <version>1.9.2</version>
1017 </dependency>
1018 <dependency>
1019 <groupId>org.aspectj</groupId>
1020 <artifactId>aspectjweaver</artifactId>
1021 <version>1.9.2</version>
1022 </dependency>
1023 </dependencies>
1024 <executions>
1025 <execution>
1026 <goals>
1027 <goal>ajc</goal>
1028 </goals>
1029 </execution>
1030 </executions>
1031 </plugin>
1032 <plugin>
1033 <groupId>org.apache.maven.plugins</groupId>
1034 <artifactId>maven-assembly-plugin</artifactId>
1035 <executions>
1036 <execution>
1037 <id>normatives</id>
1038 <phase>prepare-package</phase>
1039 <goals>
1040 <goal>single</goal>
1041 </goals>
1042 <configuration>
1043 <finalName>normatives</finalName>
1044 <appendAssemblyId>false</appendAssemblyId>
1045 <descriptors>
1046 <descriptor>src/main/assembly/normatives.xml</descriptor>
1047 </descriptors>
1048 </configuration>
1049 </execution>
1050 </executions>
1051 </plugin>
1052 <plugin>
1053 <groupId>org.apache.maven.plugins</groupId>
1054 <artifactId>maven-clean-plugin</artifactId>
1055 <executions>
1056 <execution>
1057 <id>clean.sdc.backend.folder</id>
1058 <phase>clean</phase>
1059 <goals>
1060 <goal>clean</goal>
1061 </goals>
1062 <configuration>
1063 <filesets>
1064 <fileset>
1065 <directory>
1066 sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
1067 </directory>
1068 <followSymlinks>false</followSymlinks>
1069 <includes>
1070 <include>normatives.tar.gz</include>
1071 </includes>
1072 </fileset>
1073 </filesets>
1074 </configuration>
1075 </execution>
1076 </executions>
1077 </plugin>
1078 <plugin>
1079 <groupId>io.swagger.core.v3</groupId>
1080 <artifactId>swagger-maven-plugin</artifactId>
1081 <version>${swagger-core-mvn-plugin.version}</version>
1082 <executions>
1083 <execution>
1084 <id>sdce-2-sdce-5</id>
1085 <phase>compile</phase>
1086 <goals>
1087 <goal>resolve</goal>
1088 </goals>
1089 <configuration>
1090 <contextId>sdce-2-sdce-5</contextId>
1091 <outputPath>${project.build.directory}/generated/swagger</outputPath>
1092 <outputFileName>swagger-sdce-2-sdce-5</outputFileName>
1093 <outputFormat>JSON</outputFormat>
1094 <configurationFilePath>
1095 ${project.basedir}/src/main/resources/swagger-config/sdce-2-sdce-5.yaml
1096 </configurationFilePath>
1097 <skip>${swagger.skip}</skip>
1098 </configuration>
1099 </execution>
1100 <execution>
1101 <id>sdce-4</id>
1102 <phase>compile</phase>
1103 <goals>
1104 <goal>resolve</goal>
1105 </goals>
1106 <configuration>
1107 <contextId>sdce-4</contextId>
1108 <outputPath>${project.build.directory}/generated/swagger</outputPath>
1109 <outputFileName>swagger-sdce-4</outputFileName>
1110 <outputFormat>JSON</outputFormat>
1111 <configurationFilePath>
1112 ${project.basedir}/src/main/resources/swagger-config/sdce-4.yaml
1113 </configurationFilePath>
1114 <skip>${swagger.skip}</skip>
1115 </configuration>
1116 </execution>
1117 <execution>
1118 <id>sdce-6</id>
1119 <phase>compile</phase>
1120 <goals>
1121 <goal>resolve</goal>
1122 </goals>
1123 <configuration>
1124 <contextId>sdce-6</contextId>
1125 <outputPath>${project.build.directory}/generated/swagger</outputPath>
1126 <outputFileName>swagger-sdce-6</outputFileName>
1127 <outputFormat>JSON</outputFormat>
1128 <configurationFilePath>
1129 ${project.basedir}/src/main/resources/swagger-config/sdce-6.yaml
1130 </configurationFilePath>
1131 <skip>${swagger.skip}</skip>
1132 </configuration>
1133 </execution>
1134 <execution>
1135 <id>sdce-7</id>
1136 <phase>compile</phase>
1137 <goals>
1138 <goal>resolve</goal>
1139 </goals>
1140 <configuration>
1141 <contextId>sdce-7</contextId>
1142 <outputPath>${project.build.directory}/generated/swagger</outputPath>
1143 <outputFileName>swagger-sdce-7</outputFileName>
1144 <outputFormat>JSON</outputFormat>
1145 <configurationFilePath>
1146 ${project.basedir}/src/main/resources/swagger-config/sdce-7.yaml
1147 </configurationFilePath>
1148 <skip>${swagger.skip}</skip>
1149 </configuration>
1150 </execution>
1151 </executions>
1152 </plugin>
1153 </plugins>
sebdet591810d2020-09-17 15:07:23 +02001154
vasrazc81c95b2021-05-31 23:08:39 +01001155 <pluginManagement>
1156 <plugins>
1157 <!--This plugin's configuration is used to store Eclipse m2e settings
1158 only. It has no influence on the Maven build itself. -->
1159 <plugin>
1160 <groupId>org.eclipse.m2e</groupId>
1161 <artifactId>lifecycle-mapping</artifactId>
1162 <version>1.0.0</version>
1163 <configuration>
1164 <lifecycleMappingMetadata>
1165 <pluginExecutions>
1166 <pluginExecution>
1167 <pluginExecutionFilter>
1168 <groupId>com.googlecode.maven-download-plugin</groupId>
1169 <artifactId>download-maven-plugin</artifactId>
1170 <versionRange>[1.2.1,)</versionRange>
1171 <goals>
1172 <goal>wget</goal>
1173 </goals>
1174 </pluginExecutionFilter>
1175 </pluginExecution>
sebdet591810d2020-09-17 15:07:23 +02001176
vasrazc81c95b2021-05-31 23:08:39 +01001177 <pluginExecution>
1178 <pluginExecutionFilter>
1179 <groupId>com.jcabi</groupId>
1180 <artifactId>jcabi-maven-plugin</artifactId>
1181 <versionRange>[0.0,)</versionRange>
1182 <goals>
1183 <goal>ajc</goal>
1184 </goals>
1185 </pluginExecutionFilter>
1186 <action>
1187 <execute/>
1188 </action>
1189 </pluginExecution>
sebdet591810d2020-09-17 15:07:23 +02001190
vasrazc81c95b2021-05-31 23:08:39 +01001191 </pluginExecutions>
1192 </lifecycleMappingMetadata>
1193 </configuration>
1194 </plugin>
1195 </plugins>
1196 </pluginManagement>
1197 <!-- Swagger Plugins End -->
1198 </build>
sebdet591810d2020-09-17 15:07:23 +02001199
vasrazc81c95b2021-05-31 23:08:39 +01001200 <profiles>
1201 <profile>
1202 <id>docker</id>
1203 <activation>
1204 <activeByDefault>false</activeByDefault>
1205 </activation>
1206 <build>
vasrazfa5bdf02019-08-26 13:39:26 +00001207 <plugins>
vasrazc81c95b2021-05-31 23:08:39 +01001208 <plugin>
1209 <groupId>org.apache.maven.plugins</groupId>
1210 <artifactId>maven-resources-plugin</artifactId>
1211 <executions>
1212 <execution>
1213 <id>copy-normatives</id>
1214 <phase>package</phase>
1215 <goals>
1216 <goal>copy-resources</goal>
1217 </goals>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +01001218 <configuration>
vasrazc81c95b2021-05-31 23:08:39 +01001219 <outputDirectory>
1220 sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
1221 </outputDirectory>
1222 <resources>
1223 <resource>
1224 <directory>${project.parent.basedir}/catalog-be/target
1225 </directory>
1226 <includes>
1227 <include>normatives.tar.gz</include>
1228 </includes>
1229 </resource>
1230 </resources>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +01001231 </configuration>
vasrazc81c95b2021-05-31 23:08:39 +01001232 </execution>
1233 <execution>
1234 <id>copy-sdc-be-py</id>
1235 <phase>verify</phase>
1236 <goals>
1237 <goal>copy-resources</goal>
1238 </goals>
vasrazfa5bdf02019-08-26 13:39:26 +00001239 <configuration>
vasrazc81c95b2021-05-31 23:08:39 +01001240 <outputDirectory>
1241 sdc-backend-init/
1242 </outputDirectory>
1243 <resources>
1244 <resource>
1245 <directory>
1246 ${project.parent.basedir}/catalog-be/src/main/resources/
1247 </directory>
1248 <includes>
1249 <include>scripts/sdcBePy/**</include>
1250 <inculde>scripts/setup.py</inculde>
1251 </includes>
1252 </resource>
1253 </resources>
vasrazfa5bdf02019-08-26 13:39:26 +00001254 </configuration>
vasrazc81c95b2021-05-31 23:08:39 +01001255 </execution>
1256 </executions>
1257 </plugin>
1258 <plugin>
1259 <groupId>io.fabric8</groupId>
1260 <artifactId>docker-maven-plugin</artifactId>
1261 <configuration>
1262 <verbose>${verbose}</verbose>
1263 <apiVersion>${docker.api.version}</apiVersion>
1264 <registry>nexus3.onap.org:10001</registry>
1265 <authConfig>
1266 <pull>
1267 <username>docker</username>
1268 <password>docker</password>
1269 </pull>
1270 </authConfig>
1271 <images>
1272
1273 <!-- Build backend image -->
1274 <image>
1275 <name>onap/sdc-backend</name>
1276 <alias>sdc-backend</alias>
1277 <build>
1278 <cleanup>try</cleanup>
1279 <dockerFileDir>backend</dockerFileDir>
1280 <tags>
1281 <tag>latest</tag>
1282 <tag>
1283 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1284 </tag>
1285 <tag>
1286 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
1287 </tag>
1288 </tags>
1289 <assembly>
1290 <descriptor>backend/backend-files.xml</descriptor>
1291 <name>onap-sdc-backend</name>
1292 </assembly>
1293 </build>
1294 </image>
1295 <!-- Build backend-init image -->
1296 <image>
1297 <name>onap/sdc-backend-init</name>
1298 <alias>sdc-backend-init</alias>
1299 <build>
1300 <cleanup>try</cleanup>
1301 <dockerFileDir>${project.basedir}/sdc-backend-init
1302 </dockerFileDir>
1303 <tags>
1304 <tag>latest</tag>
1305 <tag>
1306 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1307 </tag>
1308 <tag>
1309 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
1310 </tag>
1311 </tags>
1312 </build>
1313 </image>
1314 </images>
1315 </configuration>
1316 <executions>
1317 <execution>
1318 <id>clean-images</id>
1319 <phase>pre-clean</phase>
1320 <goals>
1321 <goal>remove</goal>
1322 </goals>
vasraza36531c2020-04-29 18:39:35 +01001323 <configuration>
vasrazc81c95b2021-05-31 23:08:39 +01001324 <removeAll>true</removeAll>
1325 <image>onap/sdc-backend,onap/sdc-backend-init</image>
vasraza36531c2020-04-29 18:39:35 +01001326 </configuration>
vasrazc81c95b2021-05-31 23:08:39 +01001327 </execution>
1328
1329 <execution>
1330 <id>generate-images</id>
1331 <phase>install</phase>
1332 <goals>
1333 <goal>build</goal>
1334 </goals>
1335 </execution>
1336
1337 <execution>
1338 <id>push-images</id>
1339 <phase>deploy</phase>
1340 <goals>
1341 <goal>push</goal>
1342 </goals>
1343 <configuration>
1344 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1345 </configuration>
1346 </execution>
1347 </executions>
1348 </plugin>
vasrazfa5bdf02019-08-26 13:39:26 +00001349 </plugins>
vasrazc81c95b2021-05-31 23:08:39 +01001350 </build>
1351 </profile>
1352 </profiles>
MichaelMorris580e5362020-02-08 22:55:49 +00001353</project>