blob: 4959e2212a31e8a9578132f2365cdb38dfdf8963 [file] [log] [blame]
vasrazfa5bdf02019-08-26 13:39:26 +00001<project xmlns="http://maven.apache.org/POM/4.0.0"
vasraza36531c2020-04-29 18:39:35 +01002 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
vasrazfa5bdf02019-08-26 13:39:26 +00005
vasraza36531c2020-04-29 18:39:35 +01006 <artifactId>catalog-be</artifactId>
7 <packaging>war</packaging>
vasrazfa5bdf02019-08-26 13:39:26 +00008
vasraza36531c2020-04-29 18:39:35 +01009 <parent>
10 <groupId>org.openecomp.sdc</groupId>
11 <artifactId>sdc-main</artifactId>
12 <version>1.7.0-SNAPSHOT</version>
13 </parent>
vasrazfa5bdf02019-08-26 13:39:26 +000014
vasraza36531c2020-04-29 18:39:35 +010015 <properties>
16 <java-hamcrest.version>2.0.0.0</java-hamcrest.version>
17 <swagger.version>2.1.1</swagger.version>
18 <swagger-ui.version>3.25.0</swagger-ui.version>
19 <maven-dependency-plugin.version>3.1.1</maven-dependency-plugin.version>
20 <replacer.plugin.version>1.5.3</replacer.plugin.version>
21 </properties>
vasrazfa5bdf02019-08-26 13:39:26 +000022
vasraza36531c2020-04-29 18:39:35 +010023 <dependencies>
talioa098eda2020-06-17 15:57:06 +030024 <dependency>
25 <groupId>org.openecomp.sdc</groupId>
26 <artifactId>togglz-rest-services</artifactId>
27 <version>${project.version}</version>
28 </dependency>
29
vasraza36531c2020-04-29 18:39:35 +010030 <!--JSON and YAML Parsing-->
31 <dependency>
vasrazca685bb2020-06-11 17:05:29 +010032 <groupId>com.fasterxml.jackson.core</groupId>
33 <artifactId>jackson-core</artifactId>
34 <version>${jackson.version}</version>
35 </dependency>
36 <dependency>
vasraza36531c2020-04-29 18:39:35 +010037 <groupId>com.fasterxml.jackson.dataformat</groupId>
38 <artifactId>jackson-dataformat-yaml</artifactId>
39 <version>${jackson.version}</version>
vasrazca685bb2020-06-11 17:05:29 +010040 <exclusions>
41 <exclusion>
42 <groupId>com.fasterxml.jackson.core</groupId>
43 <artifactId>jackson-core</artifactId>
44 </exclusion>
45 </exclusions>
vasraza36531c2020-04-29 18:39:35 +010046 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +000047
vasraza36531c2020-04-29 18:39:35 +010048 <dependency>
49 <groupId>com.fasterxml.jackson.core</groupId>
50 <artifactId>jackson-databind</artifactId>
51 <version>${jackson.version}</version>
vasrazca685bb2020-06-11 17:05:29 +010052 <exclusions>
53 <exclusion>
54 <groupId>com.fasterxml.jackson.core</groupId>
55 <artifactId>jackson-core</artifactId>
56 </exclusion>
57 </exclusions>
vasraza36531c2020-04-29 18:39:35 +010058 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +000059
vasraza36531c2020-04-29 18:39:35 +010060 <dependency>
61 <groupId>org.onap.sdc.common</groupId>
62 <artifactId>onap-generic-artifact-browser-service</artifactId>
63 <version>${project.version}</version>
64 <scope>compile</scope>
65 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +000066
vasraza36531c2020-04-29 18:39:35 +010067 <!-- Swagger Dependencies Start -->
68 <dependency>
69 <groupId>io.swagger.core.v3</groupId>
70 <artifactId>swagger-jaxrs2</artifactId>
71 <version>${swagger.version}</version>
vasrazca685bb2020-06-11 17:05:29 +010072 <exclusions>
73 <exclusion>
74 <groupId>com.fasterxml.jackson.core</groupId>
75 <artifactId>jackson-core</artifactId>
76 </exclusion>
77 </exclusions>
vasraza36531c2020-04-29 18:39:35 +010078 </dependency>
79 <dependency>
80 <groupId>io.swagger.core.v3</groupId>
81 <artifactId>swagger-annotations</artifactId>
82 <version>${swagger.version}</version>
83 </dependency>
84 <!-- Swagger Dependencies End -->
vasrazfa5bdf02019-08-26 13:39:26 +000085
vasraza36531c2020-04-29 18:39:35 +010086 <dependency>
87 <groupId>org.openecomp.sdc</groupId>
88 <artifactId>common-app-api</artifactId>
89 <version>${project.version}</version>
vasrazca685bb2020-06-11 17:05:29 +010090 <exclusions>
91 <exclusion>
92 <groupId>com.fasterxml.jackson.core</groupId>
93 <artifactId>jackson-core</artifactId>
94 </exclusion>
95 </exclusions>
vasraza36531c2020-04-29 18:39:35 +010096 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +000097
talioa098eda2020-06-17 15:57:06 +030098 <dependency>
99 <groupId>javax.ws.rs</groupId>
100 <artifactId>javax.ws.rs-api</artifactId>
101 <version>${ws.rs.version}</version>
102 </dependency>
103
vasraza36531c2020-04-29 18:39:35 +0100104 <dependency>
105 <groupId>org.openecomp.sdc.be</groupId>
106 <artifactId>common-be</artifactId>
107 <version>${project.version}</version>
108 <scope>compile</scope>
109 </dependency>
110 <dependency>
111 <groupId>org.openecomp.sdc.be</groupId>
112 <artifactId>common-be</artifactId>
113 <version>${project.version}</version>
114 <type>test-jar</type>
115 <scope>test</scope>
116 </dependency>
117 <dependency>
118 <groupId>org.openecomp.sdc.be</groupId>
119 <artifactId>catalog-dao</artifactId>
120 <version>${project.version}</version>
vasrazca685bb2020-06-11 17:05:29 +0100121 <exclusions>
122 <exclusion>
123 <groupId>com.fasterxml.jackson.core</groupId>
124 <artifactId>jackson-core</artifactId>
125 </exclusion>
126 </exclusions>
vasraza36531c2020-04-29 18:39:35 +0100127 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000128
vasraza36531c2020-04-29 18:39:35 +0100129 <dependency>
130 <groupId>org.openecomp.sdc.be</groupId>
131 <artifactId>catalog-model</artifactId>
132 <version>${project.version}</version>
vasrazca685bb2020-06-11 17:05:29 +0100133 <exclusions>
134 <exclusion>
135 <groupId>com.fasterxml.jackson.core</groupId>
136 <artifactId>jackson-core</artifactId>
137 </exclusion>
138 </exclusions>
vasraza36531c2020-04-29 18:39:35 +0100139 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000140
vasraza36531c2020-04-29 18:39:35 +0100141 <dependency>
142 <groupId>ch.qos.logback</groupId>
143 <artifactId>logback-classic</artifactId>
144 <version>${logback.version}</version>
145 <scope>compile</scope>
146 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000147
vasraza36531c2020-04-29 18:39:35 +0100148 <!-- Snake Yaml -->
149 <dependency>
150 <groupId>org.yaml</groupId>
151 <artifactId>snakeyaml</artifactId>
152 <version>${snakeyaml.version}</version>
153 <scope>compile</scope>
154 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000155
vasraza36531c2020-04-29 18:39:35 +0100156 <!-- File changes listener -->
157 <dependency>
158 <groupId>org.apache.commons</groupId>
159 <artifactId>commons-jci-core</artifactId>
160 <version>${commons-jci-core.version}</version>
161 <scope>compile</scope>
162 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000163
vasraza36531c2020-04-29 18:39:35 +0100164 <!-- Gson -->
165 <dependency>
166 <groupId>com.google.code.gson</groupId>
167 <artifactId>gson</artifactId>
168 <version>${gson.version}</version>
169 <scope>compile</scope>
170 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000171
vasraza36531c2020-04-29 18:39:35 +0100172 <!-- jersey -->
173 <dependency>
174 <groupId>org.glassfish.jersey.media</groupId>
175 <artifactId>jersey-media-json-jackson</artifactId>
176 <version>${jersey-bom.version}</version>
vasrazca685bb2020-06-11 17:05:29 +0100177 <exclusions>
178 <exclusion>
179 <groupId>com.fasterxml.jackson.core</groupId>
180 <artifactId>jackson-core</artifactId>
181 </exclusion>
182 </exclusions>
vasraza36531c2020-04-29 18:39:35 +0100183 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000184
vasraza36531c2020-04-29 18:39:35 +0100185 <dependency>
186 <groupId>org.glassfish.jersey.containers</groupId>
187 <artifactId>jersey-container-servlet-core</artifactId>
188 <version>${jersey-bom.version}</version>
189 <scope>compile</scope>
190 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000191
vasraza36531c2020-04-29 18:39:35 +0100192 <dependency>
193 <groupId>org.glassfish.jersey.media</groupId>
194 <artifactId>jersey-media-multipart</artifactId>
195 <version>${jersey-bom.version}</version>
196 <scope>compile</scope>
197 </dependency>
198 <dependency>
199 <groupId>org.glassfish.jersey.ext</groupId>
200 <artifactId>jersey-spring4</artifactId>
201 <version>${jersey-bom.version}</version>
202 <exclusions>
203 <exclusion>
204 <groupId>org.springframework</groupId>
205 <artifactId>spring-web</artifactId>
206 </exclusion>
207 <exclusion>
208 <groupId>org.springframework</groupId>
209 <artifactId>spring-beans</artifactId>
210 </exclusion>
211 <exclusion>
212 <groupId>org.springframework</groupId>
213 <artifactId>spring-core</artifactId>
214 </exclusion>
215 <exclusion>
216 <groupId>org.springframework</groupId>
217 <artifactId>spring-aop</artifactId>
218 </exclusion>
219 <!-- Transitive dependency of spring-bridge -->
220 <exclusion>
221 <groupId>org.springframework</groupId>
222 <artifactId>spring-context</artifactId>
223 </exclusion>
224 </exclusions>
vasrazfa5bdf02019-08-26 13:39:26 +0000225
vasraza36531c2020-04-29 18:39:35 +0100226 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000227
vasraza36531c2020-04-29 18:39:35 +0100228 <!--asm-all-repackaged is a jersey dependency. in current version jersey depends on a version that was compiled using java 9 compiler
229 currently our jetty (v9.3.6) does not support java 9. as soon as jetty gets upgraded we will remove this dependency-->
230 <dependency>
231 <groupId>org.glassfish.hk2.external</groupId>
232 <artifactId>asm-all-repackaged</artifactId>
233 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000234
vasraza36531c2020-04-29 18:39:35 +0100235 <dependency>
236 <groupId>org.glassfish.jersey.ext</groupId>
237 <artifactId>jersey-bean-validation</artifactId>
238 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000239
vasraza36531c2020-04-29 18:39:35 +0100240 <!-- http client -->
241 <dependency>
242 <groupId>org.apache.httpcomponents</groupId>
243 <artifactId>httpclient</artifactId>
244 <version>${httpclient.version}</version>
245 <scope>compile</scope>
246 </dependency>
247
248 <dependency>
249 <groupId>org.apache.httpcomponents</groupId>
250 <artifactId>httpcore</artifactId>
251 <version>${httpcore.version}</version>
252 <scope>compile</scope>
253 </dependency>
254
255 <dependency>
256 <groupId>commons-logging</groupId>
257 <artifactId>commons-logging</artifactId>
258 <version>${commons-logging}</version>
259 <scope>compile</scope>
260 </dependency>
261
262 <dependency>
263 <groupId>commons-codec</groupId>
264 <artifactId>commons-codec</artifactId>
265 <version>${commons-codec}</version>
266 <scope>compile</scope>
267 </dependency>
268 <!-- http client END -->
269
270 <dependency>
271 <groupId>javax.servlet</groupId>
272 <artifactId>javax.servlet-api</artifactId>
273 <version>${servlet-api.version}</version>
274 <scope>provided</scope>
275 </dependency>
276
277 <dependency>
278 <groupId>org.eclipse.jgit</groupId>
279 <artifactId>org.eclipse.jgit</artifactId>
280 <version>3.4.1.201406201815-r</version>
281 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000282
vasraza36531c2020-04-29 18:39:35 +0100283 <!-- spring - used by A4C -->
284 <dependency>
285 <groupId>org.springframework</groupId>
286 <artifactId>spring-core</artifactId>
287 <version>${spring.version}</version>
288 <scope>compile</scope>
289 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000290
vasraza36531c2020-04-29 18:39:35 +0100291 <dependency>
292 <groupId>org.springframework</groupId>
293 <artifactId>spring-context</artifactId>
294 <version>${spring.version}</version>
295 <scope>compile</scope>
296 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000297
vasraza36531c2020-04-29 18:39:35 +0100298 <dependency>
299 <groupId>org.springframework</groupId>
300 <artifactId>spring-web</artifactId>
301 <version>${spring.version}</version>
302 <scope>compile</scope>
303 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000304
vasraza36531c2020-04-29 18:39:35 +0100305 <dependency>
306 <groupId>org.springframework</groupId>
307 <artifactId>spring-webmvc</artifactId>
308 <version>${spring.version}</version>
309 <scope>compile</scope>
310 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000311
vasraza36531c2020-04-29 18:39:35 +0100312 <dependency>
313 <groupId>org.springframework</groupId>
314 <artifactId>spring-aop</artifactId>
315 <version>${spring.version}</version>
316 <scope>compile</scope>
317 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000318
vasraza36531c2020-04-29 18:39:35 +0100319 <dependency>
320 <groupId>org.springframework</groupId>
321 <artifactId>spring-beans</artifactId>
322 <version>${spring.version}</version>
323 <scope>compile</scope>
324 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000325
vasraza36531c2020-04-29 18:39:35 +0100326 <dependency>
327 <groupId>org.springframework</groupId>
328 <artifactId>spring-expression</artifactId>
329 <version>${spring.version}</version>
330 <scope>compile</scope>
331 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000332
vasraza36531c2020-04-29 18:39:35 +0100333 <!-- Spring integration (optional) -->
334 <dependency>
335 <groupId>org.togglz</groupId>
336 <artifactId>togglz-spring-web</artifactId>
337 <version>${togglz.version}</version>
338 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000339
vasraza36531c2020-04-29 18:39:35 +0100340 <dependency>
341 <groupId>org.codehaus.janino</groupId>
342 <artifactId>janino</artifactId>
343 <version>${janino.version}</version>
344 <scope>compile</scope>
345 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000346
vasraza36531c2020-04-29 18:39:35 +0100347 <dependency>
348 <groupId>org.codehaus.janino</groupId>
349 <artifactId>commons-compiler</artifactId>
350 <version>${janino.version}</version>
351 <scope>compile</scope>
352 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000353
vasraza36531c2020-04-29 18:39:35 +0100354 <dependency>
355 <groupId>com.google.guava</groupId>
356 <artifactId>guava</artifactId>
357 <version>${guava.version}</version>
358 <scope>compile</scope>
359 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000360
vasraza36531c2020-04-29 18:39:35 +0100361 <dependency>
362 <groupId>org.janusgraph</groupId>
363 <artifactId>janusgraph-core</artifactId>
364 <version>${janusgraph.version}</version>
365 <scope>compile</scope>
366 <exclusions>
367 <exclusion>
368 <groupId>org.json</groupId>
369 <artifactId>json</artifactId>
370 </exclusion>
371 <exclusion>
372 <artifactId>slf4j-log4j12</artifactId>
373 <groupId>org.slf4j</groupId>
374 </exclusion>
375 <exclusion>
376 <artifactId>commons-collections</artifactId>
377 <groupId>commons-collections</groupId>
378 </exclusion>
379 <exclusion>
380 <groupId>org.apache.thrift</groupId>
381 <artifactId>libthrift</artifactId>
382 </exclusion>
383 </exclusions>
384 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000385
vasraza36531c2020-04-29 18:39:35 +0100386 <dependency>
387 <groupId>org.janusgraph</groupId>
388 <artifactId>janusgraph-cql</artifactId>
389 <version>${janusgraph.version}</version>
390 <scope>compile</scope>
391 <exclusions>
392 <exclusion>
393 <groupId>org.slf4j</groupId>
394 <artifactId>slf4j-log4j12</artifactId>
395 </exclusion>
396 <exclusion>
397 <groupId>org.json</groupId>
398 <artifactId>json</artifactId>
399 </exclusion>
400 <exclusion>
401 <artifactId>commons-collections</artifactId>
402 <groupId>commons-collections</groupId>
403 </exclusion>
404 <exclusion>
405 <artifactId>groovy</artifactId>
406 <groupId>org.codehaus.groovy</groupId>
407 </exclusion>
408 <exclusion>
409 <groupId>io.netty</groupId>
410 <artifactId>netty-all</artifactId>
411 </exclusion>
412 </exclusions>
413 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000414
vasraza36531c2020-04-29 18:39:35 +0100415 <dependency>
416 <groupId>org.apache.commons</groupId>
417 <artifactId>commons-lang3</artifactId>
418 <version>${lang3.version}</version>
419 <scope>compile</scope>
420 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000421
vasraza36531c2020-04-29 18:39:35 +0100422 <dependency>
423 <groupId>com.googlecode.json-simple</groupId>
424 <artifactId>json-simple</artifactId>
425 <version>${json-simple.version}</version>
426 <scope>compile</scope>
vasrazfa5bdf02019-08-26 13:39:26 +0000427
vasraza36531c2020-04-29 18:39:35 +0100428 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000429
vasraza36531c2020-04-29 18:39:35 +0100430 <!-- functional java -->
431 <dependency>
432 <groupId>org.functionaljava</groupId>
433 <artifactId>functionaljava</artifactId>
434 <version>${functionaljava.version}</version>
435 <scope>compile</scope>
436 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000437
vasraza36531c2020-04-29 18:39:35 +0100438 <!-- Aspects -->
439 <dependency>
440 <groupId>com.jcabi</groupId>
441 <artifactId>jcabi-aspects</artifactId>
442 <version>${jcabi.version}</version>
443 <scope>compile</scope>
444 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000445
vasraza36531c2020-04-29 18:39:35 +0100446 <dependency>
447 <groupId>org.aspectj</groupId>
448 <artifactId>aspectjrt</artifactId>
449 <version>${aspectjrt.version}</version>
450 <scope>compile</scope>
451 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000452
vasrazfa5bdf02019-08-26 13:39:26 +0000453
vasraza36531c2020-04-29 18:39:35 +0100454 <!-- CAMBRIA CLIENT for U-EB -->
455 <dependency>
456 <groupId>com.att.nsa</groupId>
457 <artifactId>cambriaClient</artifactId>
458 <version>1.2.1-oss</version>
459 <scope>compile</scope>
460 <exclusions>
461 <exclusion>
462 <groupId>com.att.nsa</groupId>
463 <artifactId>saClientLibrary</artifactId>
464 </exclusion>
465 </exclusions>
466 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000467
vasraza36531c2020-04-29 18:39:35 +0100468 <dependency>
469 <groupId>org.json</groupId>
470 <artifactId>json</artifactId>
471 <version>20131018</version>
472 <scope>compile</scope>
473 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000474
vasraza36531c2020-04-29 18:39:35 +0100475 <!-- CASSANDRA -->
476 <dependency>
477 <groupId>com.datastax.cassandra</groupId>
478 <artifactId>cassandra-driver-core</artifactId>
479 <version>${cassandra.driver.version}</version>
480 <scope>compile</scope>
481 </dependency>
482 <dependency>
483 <groupId>com.datastax.cassandra</groupId>
484 <artifactId>cassandra-driver-mapping</artifactId>
485 <version>${cassandra.driver.version}</version>
486 <scope>compile</scope>
487 </dependency>
488 <!-- CASSANDRA END -->
vasrazfa5bdf02019-08-26 13:39:26 +0000489
vasraza36531c2020-04-29 18:39:35 +0100490 <!-- Inserted for ECOMP Portal Integration -->
491 <dependency>
492 <groupId>org.onap.portal.sdk</groupId>
493 <artifactId>epsdk-fw</artifactId>
494 <version>${ecomp.version}</version>
495 <scope>compile</scope>
496 <exclusions>
497 <exclusion>
498 <groupId>com.att.nsa</groupId>
499 <artifactId>cambriaClient</artifactId>
500 </exclusion>
501 <exclusion>
502 <artifactId>slf4j-log4j12</artifactId>
503 <groupId>org.slf4j</groupId>
504 </exclusion>
505 <exclusion>
vasraza36531c2020-04-29 18:39:35 +0100506 <groupId>org.onap.aaf.authz</groupId>
507 <artifactId>aaf-cadi-aaf</artifactId>
508 </exclusion>
509 <exclusion>
510 <artifactId>aaf-cadi-core</artifactId>
511 <groupId>org.onap.aaf.authz</groupId>
512 </exclusion>
513 <exclusion>
514 <artifactId>commons-codec</artifactId>
515 <groupId>commons-codec</groupId>
516 </exclusion>
517 </exclusions>
518 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000519
vasraza36531c2020-04-29 18:39:35 +0100520 <!--Jetty Proxy-->
521 <dependency>
522 <groupId>org.eclipse.jetty</groupId>
523 <artifactId>jetty-proxy</artifactId>
524 <version>${jetty.version}</version>
525 <scope>compile</scope>
526 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000527
vasraza36531c2020-04-29 18:39:35 +0100528 <dependency>
529 <groupId>org.eclipse.jetty</groupId>
530 <artifactId>jetty-servlets</artifactId>
531 <version>${jetty.version}</version>
532 <scope>compile</scope>
533 </dependency>
534 <!-- System metrics -->
535 <dependency>
536 <groupId>org.fusesource</groupId>
537 <artifactId>sigar</artifactId>
538 <version>${sigar.version}</version>
539 <scope>compile</scope>
540 </dependency>
541 <dependency>
542 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
543 <artifactId>dmaapClient</artifactId>
544 <version>1.1.3</version>
545 <scope>compile</scope>
546 <exclusions>
547 <exclusion>
548 <groupId>com.att.aft</groupId>
549 <artifactId>dme2</artifactId>
550 </exclusion>
vasrazca685bb2020-06-11 17:05:29 +0100551 <exclusion>
552 <groupId>com.fasterxml.jackson.core</groupId>
553 <artifactId>jackson-core</artifactId>
554 </exclusion>
vasraza36531c2020-04-29 18:39:35 +0100555 </exclusions>
556 </dependency>
557 <dependency>
558 <groupId>com.att.aft</groupId>
559 <artifactId>dme2</artifactId>
560 <version>3.1.200-oss</version>
561 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000562
vasraza36531c2020-04-29 18:39:35 +0100563 <dependency>
564 <groupId>javax.jms</groupId>
565 <artifactId>jms</artifactId>
566 <version>1.1</version>
567 <scope>provided</scope>
568 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000569
vasraza36531c2020-04-29 18:39:35 +0100570 <!-- CADI -->
571 <dependency>
572 <groupId>org.onap.aaf.authz</groupId>
573 <artifactId>aaf-cadi-aaf</artifactId>
574 <version>${cadi.version}</version>
575 <exclusions>
576 <exclusion>
577 <groupId>com.datastax.cassandra</groupId>
578 <artifactId>cassandra-driver-core</artifactId>
579 </exclusion>
580 <exclusion>
581 <groupId>org.slf4j</groupId>
582 <artifactId>slf4j-log4j12</artifactId>
583 </exclusion>
584 </exclusions>
585 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000586
vasraza36531c2020-04-29 18:39:35 +0100587 <!-- TEST -->
588 <dependency>
589 <groupId>org.assertj</groupId>
590 <artifactId>assertj-core</artifactId>
591 <scope>test</scope>
592 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000593
vasraza36531c2020-04-29 18:39:35 +0100594 <dependency>
595 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
596 <artifactId>jersey-test-framework-provider-bundle</artifactId>
597 <version>${jersey-bom.version}</version>
598 <type>pom</type>
599 <scope>test</scope>
600 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000601
vasraza36531c2020-04-29 18:39:35 +0100602 <dependency>
603 <groupId>org.glassfish.jersey.core</groupId>
604 <artifactId>jersey-client</artifactId>
605 <version>${jersey-bom.version}</version>
606 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000607
vasraza36531c2020-04-29 18:39:35 +0100608 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100609 <groupId>org.eclipse.jetty</groupId>
610 <artifactId>jetty-webapp</artifactId>
611 <version>${jetty.version}</version>
612 <scope>test</scope>
613 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000614
vasraza36531c2020-04-29 18:39:35 +0100615 <dependency>
616 <groupId>org.hamcrest</groupId>
617 <artifactId>hamcrest</artifactId>
618 <version>${hamcrest.version}</version>
619 <scope>test</scope>
620 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000621
vasraza36531c2020-04-29 18:39:35 +0100622 <dependency>
623 <groupId>org.hamcrest</groupId>
624 <artifactId>hamcrest-library</artifactId>
625 <version>${hamcrest.version}</version>
626 <scope>test</scope>
627 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000628
vasraza36531c2020-04-29 18:39:35 +0100629 <dependency>
630 <groupId>org.junit.jupiter</groupId>
631 <artifactId>junit-jupiter-api</artifactId>
632 <version>${junitJupiter.version}</version>
633 <scope>test</scope>
634 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000635
vasraza36531c2020-04-29 18:39:35 +0100636 <dependency>
637 <groupId>org.junit.jupiter</groupId>
638 <artifactId>junit-jupiter</artifactId>
639 <version>${junitJupiter.version}</version>
640 <scope>test</scope>
641 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000642
vasraza36531c2020-04-29 18:39:35 +0100643 <dependency>
644 <groupId>org.junit.platform</groupId>
645 <artifactId>junit-platform-commons</artifactId>
646 <version>${junit.platform.version}</version>
647 <scope>test</scope>
648 </dependency>
649 <dependency>
650 <groupId>org.junit.platform</groupId>
651 <artifactId>junit-platform-engine</artifactId>
652 <version>${junit.platform.version}</version>
653 <scope>test</scope>
654 </dependency>
655 <dependency>
656 <groupId>org.mockito</groupId>
657 <artifactId>mockito-junit-jupiter</artifactId>
658 <version>${mockitoJupiter.version}</version>
659 <scope>test</scope>
660 </dependency>
andre.schmidcd6f9332020-01-29 17:25:21 +0000661
vasraza36531c2020-04-29 18:39:35 +0100662 <dependency>
663 <groupId>org.springframework</groupId>
664 <artifactId>spring-test</artifactId>
665 <version>${spring.version}</version>
666 <scope>test</scope>
667 </dependency>
andre.schmidcd6f9332020-01-29 17:25:21 +0000668
vasraza36531c2020-04-29 18:39:35 +0100669 <dependency>
670 <groupId>org.springframework</groupId>
671 <artifactId>spring-tx</artifactId>
672 <version>${spring.version}</version>
673 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000674
vasraza36531c2020-04-29 18:39:35 +0100675 <dependency>
676 <groupId>io.cucumber</groupId>
677 <artifactId>cucumber-java</artifactId>
678 <version>${cucumber.version}</version>
679 <scope>test</scope>
680 </dependency>
Baumel, Dvir (db384r)3e879322020-03-23 16:21:05 +0200681
vasraza36531c2020-04-29 18:39:35 +0100682 <dependency>
683 <groupId>io.cucumber</groupId>
684 <artifactId>cucumber-junit</artifactId>
685 <version>${cucumber.version}</version>
686 <scope>test</scope>
687 </dependency>
Baumel, Dvir (db384r)3e879322020-03-23 16:21:05 +0200688
vasraza36531c2020-04-29 18:39:35 +0100689 <dependency>
690 <groupId>org.jmockit</groupId>
691 <artifactId>jmockit</artifactId>
692 <version>${jmockit.version}</version>
693 <scope>test</scope>
694 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000695
vasraza36531c2020-04-29 18:39:35 +0100696 <dependency>
697 <groupId>com.google.code.bean-matchers</groupId>
698 <artifactId>bean-matchers</artifactId>
699 <version>0.11</version>
700 <scope>test</scope>
701 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000702
vasraza36531c2020-04-29 18:39:35 +0100703 <dependency>
704 <groupId>org.codehaus.groovy</groupId>
705 <artifactId>groovy</artifactId>
706 <version>2.4.8</version>
707 </dependency>
vasrazfa5bdf02019-08-26 13:39:26 +0000708
vasraza36531c2020-04-29 18:39:35 +0100709 <dependency>
710 <groupId>io.netty</groupId>
711 <artifactId>netty-handler</artifactId>
712 </dependency>
713 <dependency>
714 <groupId>org.onap.sdc.common</groupId>
715 <artifactId>onap-tosca-datatype</artifactId>
716 <version>${project.version}</version>
vasrazca685bb2020-06-11 17:05:29 +0100717 <exclusions>
718 <exclusion>
719 <groupId>com.fasterxml.jackson.core</groupId>
720 <artifactId>jackson-core</artifactId>
721 </exclusion>
722 </exclusions>
vasraza36531c2020-04-29 18:39:35 +0100723 </dependency>
724 <dependency>
725 <groupId>org.apache.commons</groupId>
726 <artifactId>commons-collections4</artifactId>
727 <version>${commons.collections.version}</version>
728 </dependency>
729 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100730 <groupId>org.onap.sdc.sdc-be-common</groupId>
731 <artifactId>security-util-lib</artifactId>
732 <version>${security.util.lib.version}</version>
733 </dependency>
vasrazca685bb2020-06-11 17:05:29 +0100734 <dependency>
735 <groupId>org.openecomp.sdc.core</groupId>
736 <artifactId>openecomp-tosca-lib</artifactId>
737 <version>${project.version}</version>
738 <exclusions>
739 <exclusion>
740 <groupId>com.fasterxml.jackson.core</groupId>
741 <artifactId>jackson-core</artifactId>
742 </exclusion>
743 </exclusions>
744 </dependency>
vasraza36531c2020-04-29 18:39:35 +0100745 </dependencies>
vasrazfa5bdf02019-08-26 13:39:26 +0000746
vasraza36531c2020-04-29 18:39:35 +0100747 <build>
748 <finalName>${project.artifactId}-${project.version}</finalName>
749 <plugins>
750 <plugin>
sebdet5b057082020-09-01 23:47:27 +0200751 <groupId>org.apache.maven.plugins</groupId>
752 <artifactId>maven-surefire-plugin</artifactId>
753 <configuration>
754 <forkCount>1</forkCount>
755 </configuration>
756 </plugin>
757 <plugin>
vasraza36531c2020-04-29 18:39:35 +0100758 <!-- Download Swagger UI webjar. -->
759 <artifactId>maven-dependency-plugin</artifactId>
760 <version>${maven-dependency-plugin.version}</version>
761 <executions>
762 <execution>
763 <phase>prepare-package</phase>
764 <goals>
765 <goal>unpack</goal>
766 </goals>
767 <configuration>
768 <artifactItems>
769 <artifactItem>
770 <groupId>org.webjars</groupId>
771 <artifactId>swagger-ui</artifactId>
772 <version>${swagger-ui.version}</version>
773 </artifactItem>
774 </artifactItems>
775 <outputDirectory>${project.build.directory}/swagger-ui</outputDirectory>
776 </configuration>
777 </execution>
778 </executions>
779 </plugin>
780 <plugin>
781 <!-- Replace the OpenAPI specification example URL with the local one. -->
782 <groupId>com.google.code.maven-replacer-plugin</groupId>
783 <artifactId>replacer</artifactId>
784 <version>${replacer.plugin.version}</version>
785 <executions>
786 <execution>
787 <phase>prepare-package</phase>
788 <goals>
789 <goal>replace</goal>
790 </goals>
791 </execution>
792 </executions>
793 <configuration>
794 <file>
795 ${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}/index.html
796 </file>
797 <replacements>
798 <replacement>
799 <token>https://petstore.swagger.io/v2/swagger.json</token>
800 <value>/sdc/openapi.json</value>
801 </replacement>
802 </replacements>
803 </configuration>
804 </plugin>
805 <plugin>
806 <groupId>org.apache.maven.plugins</groupId>
807 <artifactId>maven-war-plugin</artifactId>
808 <configuration>
809 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
810 WEB-INF/classes/elasticsearch.yml,
811 WEB-INF/classes/portal.properties
812 </packagingExcludes>
813 <archive>
814 <manifestEntries>
815 <SDC-Version>${project.version}</SDC-Version>
816 </manifestEntries>
817 <manifest>
818 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
819 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
820 </manifest>
821 </archive>
822 <attachClasses>true</attachClasses>
823 <webResources combine.children="append">
824 <resource>
825 <directory>
826 ${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}
827 </directory>
828 <includes>
829 <include>**/*.*</include>
830 </includes>
831 <targetPath>swagger-ui</targetPath>
832 </resource>
833 </webResources>
834 </configuration>
835 </plugin>
836 <plugin>
837 <groupId>com.github.sylvainlaurent.maven</groupId>
838 <artifactId>yaml-json-validator-maven-plugin</artifactId>
839 <executions>
840 <execution>
841 <id>validate</id>
842 <phase>validate</phase>
843 <goals>
844 <goal>validate</goal>
845 </goals>
846 <configuration>
847 <validationSets>
848 <validationSet>
849 <includes>
850 <include>src/main/resources/**/*.y*ml</include>
851 <include>src/test/resources/**/*.y*ml</include>
852 </includes>
853 <excludes>
854 <exclude>src/test/resources/artifacts/pnfSoftwareInformation/**</exclude>
855 </excludes>
856 </validationSet>
857 <validationSet>
858 <includes>
859 <include>src/main/resources/**/*.json</include>
860 <include>src/test/resources/**/*.json</include>
861 </includes>
862 </validationSet>
863 </validationSets>
JulienBe6bd3d3a2020-06-24 15:35:23 +0200864 <skip>${skipYamlJsonValidator}</skip>
vasraza36531c2020-04-29 18:39:35 +0100865 </configuration>
866 </execution>
867 </executions>
868 </plugin>
869 <plugin>
870 <groupId>com.jcabi</groupId>
871 <artifactId>jcabi-maven-plugin</artifactId>
872 <version>${jcabi.maven.plugin.version}</version>
873 <executions>
874 <execution>
875 <goals>
876 <goal>ajc</goal>
877 </goals>
878 </execution>
879 </executions>
880 </plugin>
881 <plugin>
882 <groupId>org.apache.maven.plugins</groupId>
883 <artifactId>maven-assembly-plugin</artifactId>
884 <executions>
885 <execution>
886 <id>normatives</id>
887 <phase>prepare-package</phase>
888 <goals>
889 <goal>single</goal>
890 </goals>
891 <configuration>
892 <finalName>normatives</finalName>
893 <appendAssemblyId>false</appendAssemblyId>
894 <descriptors>
895 <descriptor>src/main/assembly/normatives.xml</descriptor>
896 </descriptors>
897 </configuration>
898 </execution>
899 </executions>
900 </plugin>
901 <plugin>
902 <groupId>org.apache.maven.plugins</groupId>
903 <artifactId>maven-clean-plugin</artifactId>
904 <executions>
905 <execution>
906 <id>clean.sdc.backend.folder</id>
907 <phase>clean</phase>
908 <goals>
909 <goal>clean</goal>
910 </goals>
911 <configuration>
912 <filesets>
913 <!-- static configuration files -->
914 <fileset>
915 <directory>
916 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
917 </directory>
918 <followSymlinks>false</followSymlinks>
919 <includes>
920 <include>Artifact-Generator.properties</include>
921 <include>error-configuration.yaml</include>
922 <include>ecomp-error-configuration.yaml</include>
923 <include>logback.xml</include>
924 </includes>
925 </fileset>
926 <!-- BE WAR's -->
927 <fileset>
928 <directory>${project.parent.basedir}/catalog-be/sdc-backend</directory>
929 <followSymlinks>false</followSymlinks>
930 <includes>
931 <include>*.war</include>
932 <include>context.xml</include>
933 </includes>
934 </fileset>
935 <fileset>
andre.schmid75dd0bb2020-05-07 09:15:56 +0100936 <directory>sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default</directory>
vasraza36531c2020-04-29 18:39:35 +0100937 <followSymlinks>false</followSymlinks>
938 <includes>
939 <include>normatives.tar.gz</include>
940 </includes>
941 </fileset>
942 </filesets>
943 </configuration>
944 </execution>
945 <execution>
946 <id>clean-static-files</id>
947 <phase>clean</phase>
948 <goals>
949 <goal>clean</goal>
950 </goals>
951 <configuration>
952 <filesets>
953 <!-- tosca files -->
954 <fileset>
955 <directory>${project.parent.basedir}/asdctool/tosca</directory>
956 <followSymlinks>false</followSymlinks>
957 </fileset>
958 </filesets>
959 </configuration>
960 </execution>
961 </executions>
962 </plugin>
963 <plugin>
964 <groupId>org.apache.maven.plugins</groupId>
965 <artifactId>maven-resources-plugin</artifactId>
966 <executions>
967 <execution>
968 <id>copy-static-configuration-files</id>
969 <phase>verify</phase>
970 <goals>
971 <goal>copy-resources</goal>
972 </goals>
973 <configuration>
974 <outputDirectory>
975 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
976 </outputDirectory>
977 <resources>
978 <resource>
979 <directory>${project.parent.basedir}/catalog-be/src/main/resources/config
980 </directory>
981 <includes>
982 <include>Artifact-Generator.properties</include>
983 <include>error-configuration.yaml</include>
984 <include>ecomp-error-configuration.yaml</include>
985 <include>logback.xml</include>
986 </includes>
987 </resource>
988 </resources>
989 </configuration>
990 </execution>
991 <execution>
992 <id>copy-tosca-folder</id>
993 <!-- here the phase you need -->
994 <phase>install</phase>
995 <goals>
996 <goal>copy-resources</goal>
997 </goals>
998 <configuration>
999 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
1000 <resources>
1001 <resource>
1002 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
1003 </directory>
1004 <filtering>true</filtering>
1005 </resource>
1006 </resources>
1007 </configuration>
1008 </execution>
1009 </executions>
1010 </plugin>
1011 </plugins>
vasrazfa5bdf02019-08-26 13:39:26 +00001012
vasraza36531c2020-04-29 18:39:35 +01001013 <pluginManagement>
1014 <plugins>
1015 <!--This plugin's configuration is used to store Eclipse m2e settings
1016 only. It has no influence on the Maven build itself. -->
1017 <plugin>
1018 <groupId>org.eclipse.m2e</groupId>
1019 <artifactId>lifecycle-mapping</artifactId>
1020 <version>1.0.0</version>
1021 <configuration>
1022 <lifecycleMappingMetadata>
1023 <pluginExecutions>
1024 <pluginExecution>
1025 <pluginExecutionFilter>
1026 <groupId>com.googlecode.maven-download-plugin</groupId>
1027 <artifactId>download-maven-plugin</artifactId>
1028 <versionRange>[1.2.1,)</versionRange>
1029 <goals>
1030 <goal>wget</goal>
1031 </goals>
1032 </pluginExecutionFilter>
1033 </pluginExecution>
vasrazfa5bdf02019-08-26 13:39:26 +00001034
vasraza36531c2020-04-29 18:39:35 +01001035 <pluginExecution>
1036 <pluginExecutionFilter>
1037 <groupId>com.jcabi</groupId>
1038 <artifactId>jcabi-maven-plugin</artifactId>
1039 <versionRange>[0.0,)</versionRange>
1040 <goals>
1041 <goal>ajc</goal>
1042 </goals>
1043 </pluginExecutionFilter>
1044 <action>
1045 <execute/>
1046 </action>
1047 </pluginExecution>
vasrazfa5bdf02019-08-26 13:39:26 +00001048
vasraza36531c2020-04-29 18:39:35 +01001049 </pluginExecutions>
1050 </lifecycleMappingMetadata>
1051 </configuration>
1052 </plugin>
1053 </plugins>
1054 </pluginManagement>
1055 <!-- Swagger Plugins End -->
1056 </build>
vasrazfa5bdf02019-08-26 13:39:26 +00001057
vasraza36531c2020-04-29 18:39:35 +01001058 <profiles>
1059 <profile>
1060 <id>docker-staging</id>
1061 <properties>
1062 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
1063 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
1064 </properties>
1065 </profile>
vasrazfa5bdf02019-08-26 13:39:26 +00001066
vasraza36531c2020-04-29 18:39:35 +01001067 <profile>
1068 <id>docker</id>
1069 <activation>
1070 <activeByDefault>false</activeByDefault>
1071 </activation>
1072 <build>
vasrazfa5bdf02019-08-26 13:39:26 +00001073 <plugins>
vasraza36531c2020-04-29 18:39:35 +01001074 <plugin>
1075 <artifactId>maven-antrun-plugin</artifactId>
1076 <version>1.8</version>
1077 <executions>
1078 <execution>
1079 <id>copy-context-file</id>
1080 <phase>validate</phase>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +01001081 <configuration>
vasraza36531c2020-04-29 18:39:35 +01001082 <target>
1083 <copy file="sdc-backend/context.xml.template" tofile="sdc-backend/context.xml"
1084 overwrite="true"/>
1085 </target>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +01001086 </configuration>
vasraza36531c2020-04-29 18:39:35 +01001087 <goals>
1088 <goal>run</goal>
1089 </goals>
1090 </execution>
1091 <execution>
1092 <id>set-version-in-context-file</id>
1093 <phase>generate-resources</phase>
vasrazfa5bdf02019-08-26 13:39:26 +00001094 <configuration>
vasraza36531c2020-04-29 18:39:35 +01001095 <target>
1096 <replace file="sdc-backend/context.xml">
1097 <replacetoken>projectversion</replacetoken>
1098 <replacevalue>${project.version}</replacevalue>
1099 </replace>
1100 </target>
vasrazfa5bdf02019-08-26 13:39:26 +00001101 </configuration>
vasraza36531c2020-04-29 18:39:35 +01001102 <goals>
1103 <goal>run</goal>
1104 </goals>
1105 </execution>
1106 </executions>
1107 </plugin>
1108 <plugin>
1109 <groupId>org.apache.maven.plugins</groupId>
1110 <artifactId>maven-resources-plugin</artifactId>
1111 <executions>
1112 <execution>
1113 <id>copy-resources-be</id>
1114 <phase>verify</phase>
1115 <goals>
1116 <goal>copy-resources</goal>
1117 </goals>
1118 <configuration>
1119 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
1120 <resources>
1121 <resource>
1122 <directory>${project.parent.basedir}/catalog-be/target</directory>
1123 <includes>
1124 <include>catalog-be-${project.version}.war</include>
1125 </includes>
1126 </resource>
1127 </resources>
1128 </configuration>
1129 </execution>
1130 <execution>
1131 <id>copy-normatives</id>
1132 <phase>package</phase>
1133 <goals>
1134 <goal>copy-resources</goal>
1135 </goals>
1136 <configuration>
1137 <outputDirectory>
1138 sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
1139 </outputDirectory>
1140 <resources>
1141 <resource>
1142 <directory>${project.parent.basedir}/catalog-be/target</directory>
1143 <includes>
1144 <include>normatives.tar.gz</include>
1145 </includes>
1146 </resource>
1147 </resources>
1148 </configuration>
1149 </execution>
k.kedroncb30f3a2020-03-05 13:12:27 +01001150 <execution>
1151 <id>copy-sdc-be-py</id>
1152 <phase>verify</phase>
1153 <goals>
1154 <goal>copy-resources</goal>
1155 </goals>
1156 <configuration>
1157 <outputDirectory>
1158 sdc-backend-init/
1159 </outputDirectory>
1160 <resources>
1161 <resource>
1162 <directory>${project.parent.basedir}/catalog-be/src/main/resources/</directory>
1163 <includes>
1164 <include>scripts/sdcBePy/**</include>
1165 <inculde>scripts/setup.py</inculde>
1166 </includes>
1167 </resource>
1168 </resources>
1169 </configuration>
1170 </execution>
vasraza36531c2020-04-29 18:39:35 +01001171 </executions>
1172 </plugin>
1173 <plugin>
1174 <groupId>io.fabric8</groupId>
1175 <artifactId>docker-maven-plugin</artifactId>
1176 <configuration>
1177 <apiVersion>1.23</apiVersion>
1178 <registry>nexus3.onap.org:10001</registry>
1179 <authConfig>
1180 <pull>
1181 <username>docker</username>
1182 <password>docker</password>
1183 </pull>
1184 </authConfig>
1185 <images>
1186
1187 <!-- Build backend image -->
1188 <image>
1189 <name>onap/sdc-backend</name>
1190 <alias>sdc-backend</alias>
1191 <build>
1192 <cleanup>try</cleanup>
1193 <dockerFileDir>${project.basedir}/sdc-backend</dockerFileDir>
1194 <tags>
1195 <tag>${docker.tag}</tag>
1196 <tag>
1197 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1198 </tag>
1199 </tags>
1200 </build>
1201 </image>
1202 <!-- Build backend-init image -->
1203 <image>
1204 <name>onap/sdc-backend-init</name>
1205 <alias>sdc-backend-init</alias>
1206 <build>
1207 <cleanup>try</cleanup>
1208 <dockerFileDir>${project.basedir}/sdc-backend-init</dockerFileDir>
1209 <tags>
1210 <tag>${docker.tag}</tag>
1211 <tag>
1212 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1213 </tag>
1214 </tags>
1215 </build>
1216 </image>
1217 </images>
1218 </configuration>
1219 <executions>
1220 <execution>
1221 <id>clean-images</id>
1222 <phase>pre-clean</phase>
1223 <goals>
1224 <goal>remove</goal>
1225 </goals>
1226 <configuration>
1227 <removeAll>true</removeAll>
1228 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1229 </configuration>
1230 </execution>
1231
1232 <execution>
1233 <id>generate-images</id>
1234 <phase>install</phase>
1235 <goals>
1236 <goal>build</goal>
1237 </goals>
1238 </execution>
1239
1240 <execution>
1241 <id>push-images</id>
1242 <phase>deploy</phase>
1243 <goals>
1244 <goal>push</goal>
1245 </goals>
1246 <configuration>
1247 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1248 </configuration>
1249 </execution>
1250 </executions>
1251 </plugin>
vasrazfa5bdf02019-08-26 13:39:26 +00001252 </plugins>
vasraza36531c2020-04-29 18:39:35 +01001253 </build>
1254 </profile>
1255 </profiles>
MichaelMorris580e5362020-02-08 22:55:49 +00001256</project>