blob: c4b2ac475e919b2128e683402ef2035fd62397f7 [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>
MichaelMorrisfb2953a2021-09-13 22:08:04 +010012 <version>1.9.1-SNAPSHOT</version>
vasrazc81c95b2021-05-31 23:08:39 +010013 </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>
vasraz66af7c52021-07-20 23:22:45 +010019 <maven-dependency-plugin.version>3.2.0</maven-dependency-plugin.version>
vasrazc81c95b2021-05-31 23:08:39 +010020 <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>
vasraz66af7c52021-07-20 23:22:45 +010093 <groupId>org.hibernate.validator</groupId>
vasrazc81c95b2021-05-31 23:08:39 +010094 <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>
vasraz8dbc7322021-06-26 14:23:12 +0100121 <exclusions>
122 <exclusion>
123 <groupId>org.springframework</groupId>
124 <artifactId>spring-core</artifactId>
125 </exclusion>
126 </exclusions>
vasrazc81c95b2021-05-31 23:08:39 +0100127 </dependency>
128 <dependency>
129 <groupId>org.openecomp.sdc.be</groupId>
130 <artifactId>common-be</artifactId>
131 <version>${project.version}</version>
132 <type>test-jar</type>
133 <scope>test</scope>
vasraz8dbc7322021-06-26 14:23:12 +0100134 <exclusions>
135 <exclusion>
136 <groupId>org.springframework</groupId>
137 <artifactId>spring-core</artifactId>
138 </exclusion>
139 </exclusions>
vasrazc81c95b2021-05-31 23:08:39 +0100140 </dependency>
141 <dependency>
142 <groupId>org.openecomp.sdc.be</groupId>
143 <artifactId>catalog-dao</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>org.openecomp.sdc.be</groupId>
155 <artifactId>catalog-model</artifactId>
156 <version>${project.version}</version>
157 <exclusions>
158 <exclusion>
159 <groupId>com.fasterxml.jackson.core</groupId>
160 <artifactId>jackson-core</artifactId>
161 </exclusion>
162 </exclusions>
163 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200164
vasrazc81c95b2021-05-31 23:08:39 +0100165 <dependency>
166 <groupId>ch.qos.logback</groupId>
167 <artifactId>logback-classic</artifactId>
168 <version>${logback.version}</version>
169 <scope>compile</scope>
170 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200171
vasrazc81c95b2021-05-31 23:08:39 +0100172 <!-- Snake Yaml -->
173 <dependency>
174 <groupId>org.yaml</groupId>
175 <artifactId>snakeyaml</artifactId>
176 <version>${snakeyaml.version}</version>
177 <scope>compile</scope>
178 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200179
vasrazc81c95b2021-05-31 23:08:39 +0100180 <!-- File changes listener -->
181 <dependency>
182 <groupId>org.apache.commons</groupId>
183 <artifactId>commons-jci-core</artifactId>
184 <version>${commons-jci-core.version}</version>
185 <scope>compile</scope>
186 <exclusions>
187 <exclusion>
188 <groupId>commons-io</groupId>
189 <artifactId>commons-io</artifactId>
190 </exclusion>
191 </exclusions>
192 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200193
vasrazc81c95b2021-05-31 23:08:39 +0100194 <!-- Gson -->
195 <dependency>
196 <groupId>com.google.code.gson</groupId>
197 <artifactId>gson</artifactId>
198 <version>${gson.version}</version>
199 <scope>compile</scope>
200 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200201
vasrazc81c95b2021-05-31 23:08:39 +0100202 <!-- jersey -->
203 <dependency>
204 <groupId>org.glassfish.jersey.media</groupId>
205 <artifactId>jersey-media-json-jackson</artifactId>
206 <version>${jersey-bom.version}</version>
207 <exclusions>
208 <exclusion>
209 <groupId>com.fasterxml.jackson.core</groupId>
210 <artifactId>jackson-core</artifactId>
211 </exclusion>
212 </exclusions>
213 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200214
vasrazc81c95b2021-05-31 23:08:39 +0100215 <dependency>
216 <groupId>org.glassfish.jersey.containers</groupId>
217 <artifactId>jersey-container-servlet-core</artifactId>
218 <version>${jersey-bom.version}</version>
219 <scope>compile</scope>
220 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200221
vasrazc81c95b2021-05-31 23:08:39 +0100222 <dependency>
223 <groupId>org.glassfish.jersey.media</groupId>
224 <artifactId>jersey-media-multipart</artifactId>
225 <version>${jersey-bom.version}</version>
226 <scope>compile</scope>
227 </dependency>
228 <dependency>
229 <groupId>org.glassfish.jersey.ext</groupId>
230 <artifactId>jersey-spring4</artifactId>
231 <version>${jersey-bom.version}</version>
232 <exclusions>
233 <exclusion>
234 <groupId>org.springframework</groupId>
235 <artifactId>spring-web</artifactId>
236 </exclusion>
237 <exclusion>
238 <groupId>org.springframework</groupId>
239 <artifactId>spring-beans</artifactId>
240 </exclusion>
241 <exclusion>
242 <groupId>org.springframework</groupId>
243 <artifactId>spring-core</artifactId>
244 </exclusion>
245 <exclusion>
246 <groupId>org.springframework</groupId>
247 <artifactId>spring-aop</artifactId>
248 </exclusion>
249 <!-- Transitive dependency of spring-bridge -->
250 <exclusion>
251 <groupId>org.springframework</groupId>
252 <artifactId>spring-context</artifactId>
253 </exclusion>
vasraz66af7c52021-07-20 23:22:45 +0100254 <exclusion>
255 <groupId>org.hibernate</groupId>
256 <artifactId>hibernate-validator</artifactId>
257 </exclusion>
vasrazc81c95b2021-05-31 23:08:39 +0100258 </exclusions>
sebdet591810d2020-09-17 15:07:23 +0200259
vasrazc81c95b2021-05-31 23:08:39 +0100260 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200261
vasrazc81c95b2021-05-31 23:08:39 +0100262 <!--asm-all-repackaged is a jersey dependency. in current version jersey depends on a version that was compiled using java 9 compiler
263 currently our jetty (v9.3.6) does not support java 9. as soon as jetty gets upgraded we will remove this dependency-->
264 <dependency>
265 <groupId>org.glassfish.hk2.external</groupId>
266 <artifactId>asm-all-repackaged</artifactId>
267 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200268
vasrazc81c95b2021-05-31 23:08:39 +0100269 <dependency>
270 <groupId>org.glassfish.jersey.ext</groupId>
271 <artifactId>jersey-bean-validation</artifactId>
vasraz66af7c52021-07-20 23:22:45 +0100272 <exclusions>
273 <exclusion>
274 <groupId>org.hibernate</groupId>
275 <artifactId>hibernate-validator</artifactId>
276 </exclusion>
277 </exclusions>
vasrazc81c95b2021-05-31 23:08:39 +0100278 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200279
vasrazc81c95b2021-05-31 23:08:39 +0100280 <!-- http client -->
281 <dependency>
282 <groupId>org.apache.httpcomponents</groupId>
283 <artifactId>httpclient</artifactId>
284 <version>${httpclient.version}</version>
285 <scope>compile</scope>
286 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200287
vasrazc81c95b2021-05-31 23:08:39 +0100288 <dependency>
289 <groupId>org.apache.httpcomponents</groupId>
290 <artifactId>httpcore</artifactId>
291 <version>${httpcore.version}</version>
292 <scope>compile</scope>
293 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200294
vasrazc81c95b2021-05-31 23:08:39 +0100295 <dependency>
296 <groupId>commons-logging</groupId>
297 <artifactId>commons-logging</artifactId>
298 <version>${commons-logging}</version>
299 <scope>compile</scope>
300 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200301
vasrazc81c95b2021-05-31 23:08:39 +0100302 <dependency>
303 <groupId>commons-codec</groupId>
304 <artifactId>commons-codec</artifactId>
305 <version>${commons-codec}</version>
306 <scope>compile</scope>
307 </dependency>
308 <!-- http client END -->
sebdet591810d2020-09-17 15:07:23 +0200309
vasrazc81c95b2021-05-31 23:08:39 +0100310 <dependency>
311 <groupId>javax.servlet</groupId>
312 <artifactId>javax.servlet-api</artifactId>
313 <version>${servlet-api.version}</version>
314 <scope>provided</scope>
315 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200316
vasrazc81c95b2021-05-31 23:08:39 +0100317 <dependency>
318 <groupId>org.eclipse.jgit</groupId>
319 <artifactId>org.eclipse.jgit</artifactId>
320 <version>3.4.1.201406201815-r</version>
321 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200322
vasrazc81c95b2021-05-31 23:08:39 +0100323 <!-- spring - used by A4C -->
324 <dependency>
325 <groupId>org.springframework</groupId>
326 <artifactId>spring-core</artifactId>
327 <version>${spring.version}</version>
328 <scope>compile</scope>
329 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200330
vasrazc81c95b2021-05-31 23:08:39 +0100331 <dependency>
332 <groupId>org.springframework</groupId>
333 <artifactId>spring-context</artifactId>
334 <version>${spring.version}</version>
335 <scope>compile</scope>
vasraz8dbc7322021-06-26 14:23:12 +0100336 <exclusions>
337 <exclusion>
338 <groupId>org.springframework</groupId>
339 <artifactId>spring-expression</artifactId>
340 </exclusion>
341 <exclusion>
342 <groupId>org.springframework</groupId>
343 <artifactId>spring-core</artifactId>
344 </exclusion>
345 </exclusions>
vasrazc81c95b2021-05-31 23:08:39 +0100346 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200347
vasrazc81c95b2021-05-31 23:08:39 +0100348 <dependency>
349 <groupId>org.springframework</groupId>
350 <artifactId>spring-web</artifactId>
351 <version>${spring.version}</version>
352 <scope>compile</scope>
vasraz8dbc7322021-06-26 14:23:12 +0100353 <exclusions>
354 <exclusion>
355 <groupId>org.springframework</groupId>
356 <artifactId>spring-core</artifactId>
357 </exclusion>
358 </exclusions>
vasrazc81c95b2021-05-31 23:08:39 +0100359 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200360
vasrazc81c95b2021-05-31 23:08:39 +0100361 <dependency>
362 <groupId>org.springframework</groupId>
363 <artifactId>spring-webmvc</artifactId>
364 <version>${spring.version}</version>
365 <scope>compile</scope>
vasraz8dbc7322021-06-26 14:23:12 +0100366 <exclusions>
367 <exclusion>
368 <groupId>org.springframework</groupId>
369 <artifactId>spring-expression</artifactId>
370 </exclusion>
371 <exclusion>
372 <groupId>org.springframework</groupId>
373 <artifactId>spring-core</artifactId>
374 </exclusion>
375 <exclusion>
376 <groupId>org.springframework</groupId>
377 <artifactId>spring-web</artifactId>
378 </exclusion>
379 </exclusions>
vasrazc81c95b2021-05-31 23:08:39 +0100380 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200381
vasrazc81c95b2021-05-31 23:08:39 +0100382 <dependency>
383 <groupId>org.springframework</groupId>
384 <artifactId>spring-aop</artifactId>
385 <version>${spring.version}</version>
386 <scope>compile</scope>
vasraz8dbc7322021-06-26 14:23:12 +0100387 <exclusions>
388 <exclusion>
389 <groupId>org.springframework</groupId>
390 <artifactId>spring-core</artifactId>
391 </exclusion>
392 </exclusions>
vasrazc81c95b2021-05-31 23:08:39 +0100393 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200394
vasrazc81c95b2021-05-31 23:08:39 +0100395 <dependency>
396 <groupId>org.springframework</groupId>
397 <artifactId>spring-beans</artifactId>
398 <version>${spring.version}</version>
399 <scope>compile</scope>
400 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200401
vasrazc81c95b2021-05-31 23:08:39 +0100402 <dependency>
403 <groupId>org.springframework</groupId>
404 <artifactId>spring-expression</artifactId>
405 <version>${spring.version}</version>
406 <scope>compile</scope>
407 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200408
vasrazc81c95b2021-05-31 23:08:39 +0100409 <!-- Spring integration (optional) -->
410 <dependency>
411 <groupId>org.togglz</groupId>
412 <artifactId>togglz-spring-web</artifactId>
413 <version>${togglz.version}</version>
414 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200415
vasrazc81c95b2021-05-31 23:08:39 +0100416 <dependency>
417 <groupId>org.codehaus.janino</groupId>
418 <artifactId>janino</artifactId>
419 <version>${janino.version}</version>
420 <scope>compile</scope>
421 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200422
vasrazc81c95b2021-05-31 23:08:39 +0100423 <dependency>
424 <groupId>org.codehaus.janino</groupId>
425 <artifactId>commons-compiler</artifactId>
426 <version>${janino.version}</version>
427 <scope>compile</scope>
428 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200429
vasrazc81c95b2021-05-31 23:08:39 +0100430 <dependency>
431 <groupId>com.google.guava</groupId>
432 <artifactId>guava</artifactId>
433 <version>${guava.version}</version>
434 <scope>compile</scope>
435 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200436
vasrazc81c95b2021-05-31 23:08:39 +0100437 <dependency>
438 <groupId>org.janusgraph</groupId>
439 <artifactId>janusgraph-core</artifactId>
440 <version>${janusgraph.version}</version>
441 <scope>compile</scope>
442 <exclusions>
443 <exclusion>
444 <artifactId>gremlin-groovy</artifactId>
445 <groupId>org.apache.tinkerpop</groupId>
446 </exclusion>
447 <exclusion>
448 <groupId>org.json</groupId>
449 <artifactId>json</artifactId>
450 </exclusion>
451 <exclusion>
452 <artifactId>slf4j-log4j12</artifactId>
453 <groupId>org.slf4j</groupId>
454 </exclusion>
455 <exclusion>
456 <artifactId>commons-collections</artifactId>
457 <groupId>commons-collections</groupId>
458 </exclusion>
459 <exclusion>
460 <groupId>org.apache.thrift</groupId>
461 <artifactId>libthrift</artifactId>
462 </exclusion>
463 <exclusion>
464 <groupId>commons-io</groupId>
465 <artifactId>commons-io</artifactId>
466 </exclusion>
vasraz66af7c52021-07-20 23:22:45 +0100467 <exclusion>
468 <groupId>commons-codec</groupId>
469 <artifactId>commons-codec</artifactId>
470 </exclusion>
vasrazb65fcbf2021-07-26 15:01:06 +0100471 <exclusion>
472 <groupId>dom4j</groupId>
473 <artifactId>dom4j</artifactId>
474 </exclusion>
vasrazc81c95b2021-05-31 23:08:39 +0100475 </exclusions>
476 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200477
vasrazc81c95b2021-05-31 23:08:39 +0100478 <dependency>
479 <groupId>org.janusgraph</groupId>
480 <artifactId>janusgraph-cql</artifactId>
481 <version>${janusgraph.version}</version>
482 <scope>compile</scope>
483 <exclusions>
484 <exclusion>
485 <groupId>org.slf4j</groupId>
486 <artifactId>slf4j-log4j12</artifactId>
487 </exclusion>
488 <exclusion>
489 <groupId>org.json</groupId>
490 <artifactId>json</artifactId>
491 </exclusion>
492 <exclusion>
493 <artifactId>commons-collections</artifactId>
494 <groupId>commons-collections</groupId>
495 </exclusion>
496 <exclusion>
497 <artifactId>groovy</artifactId>
498 <groupId>org.codehaus.groovy</groupId>
499 </exclusion>
500 <exclusion>
501 <groupId>io.netty</groupId>
502 <artifactId>netty-all</artifactId>
503 </exclusion>
504 </exclusions>
505 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200506
vasrazc81c95b2021-05-31 23:08:39 +0100507 <dependency>
508 <groupId>org.apache.commons</groupId>
509 <artifactId>commons-lang3</artifactId>
510 <version>${lang3.version}</version>
511 <scope>compile</scope>
512 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200513
vasrazc81c95b2021-05-31 23:08:39 +0100514 <dependency>
515 <groupId>com.googlecode.json-simple</groupId>
516 <artifactId>json-simple</artifactId>
517 <version>${json-simple.version}</version>
518 <scope>compile</scope>
sebdet591810d2020-09-17 15:07:23 +0200519
vasrazc81c95b2021-05-31 23:08:39 +0100520 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200521
vasrazc81c95b2021-05-31 23:08:39 +0100522 <!-- functional java -->
523 <dependency>
524 <groupId>org.functionaljava</groupId>
525 <artifactId>functionaljava</artifactId>
526 <version>${functionaljava.version}</version>
527 <scope>compile</scope>
528 </dependency>
sebdet591810d2020-09-17 15:07:23 +0200529
vasrazc81c95b2021-05-31 23:08:39 +0100530 <!-- Aspects -->
531 <dependency>
532 <groupId>com.jcabi</groupId>
533 <artifactId>jcabi-aspects</artifactId>
534 <version>${jcabi.version}</version>
535 <scope>compile</scope>
536 </dependency>
537
538 <dependency>
539 <groupId>org.aspectj</groupId>
540 <artifactId>aspectjrt</artifactId>
541 <version>${aspectjrt.version}</version>
542 <scope>compile</scope>
543 </dependency>
544
545
546 <!-- CAMBRIA CLIENT for U-EB -->
547 <dependency>
548 <groupId>com.att.nsa</groupId>
549 <artifactId>cambriaClient</artifactId>
550 <version>1.2.1-oss</version>
551 <scope>compile</scope>
552 <exclusions>
553 <exclusion>
554 <groupId>com.att.nsa</groupId>
555 <artifactId>saClientLibrary</artifactId>
556 </exclusion>
557 </exclusions>
558 </dependency>
559
560 <dependency>
561 <groupId>org.json</groupId>
562 <artifactId>json</artifactId>
563 <version>20131018</version>
564 <scope>compile</scope>
565 </dependency>
566
567 <!-- CASSANDRA -->
568 <dependency>
569 <groupId>com.datastax.cassandra</groupId>
570 <artifactId>cassandra-driver-core</artifactId>
571 <version>${cassandra.driver.version}</version>
572 <scope>compile</scope>
573 </dependency>
574 <dependency>
575 <groupId>com.datastax.cassandra</groupId>
576 <artifactId>cassandra-driver-mapping</artifactId>
577 <version>${cassandra.driver.version}</version>
578 <scope>compile</scope>
579 </dependency>
580 <!-- CASSANDRA END -->
581
582 <!-- Inserted for ECOMP Portal Integration -->
583 <dependency>
584 <groupId>org.owasp.esapi</groupId>
585 <artifactId>esapi</artifactId>
vasraz66af7c52021-07-20 23:22:45 +0100586 <version>${org.owasp.esapi.version}</version>
vasrazc81c95b2021-05-31 23:08:39 +0100587 <exclusions>
588 <exclusion>
589 <groupId>xerces</groupId>
590 <artifactId>xercesImpl</artifactId>
591 </exclusion>
592 <exclusion>
593 <groupId>log4j</groupId>
594 <artifactId>log4j</artifactId>
595 </exclusion>
596 <exclusion>
597 <groupId>commons-fileupload</groupId>
598 <artifactId>commons-fileupload</artifactId>
599 </exclusion>
vasrazb65fcbf2021-07-26 15:01:06 +0100600 <exclusion>
601 <groupId>org.apache.xmlgraphics</groupId>
602 <artifactId>xmlgraphics-commons</artifactId>
603 </exclusion>
vasrazc81c95b2021-05-31 23:08:39 +0100604 </exclusions>
605 </dependency>
606 <dependency>
607 <groupId>org.onap.portal.sdk</groupId>
608 <artifactId>epsdk-fw</artifactId>
609 <version>${ecomp.version}</version>
610 <scope>compile</scope>
611 <exclusions>
612 <exclusion>
613 <groupId>com.att.nsa</groupId>
614 <artifactId>cambriaClient</artifactId>
615 </exclusion>
616 <exclusion>
617 <artifactId>slf4j-log4j12</artifactId>
618 <groupId>org.slf4j</groupId>
619 </exclusion>
620 <exclusion>
621 <groupId>org.onap.aaf.authz</groupId>
622 <artifactId>aaf-cadi-aaf</artifactId>
623 </exclusion>
624 <exclusion>
625 <artifactId>aaf-cadi-core</artifactId>
626 <groupId>org.onap.aaf.authz</groupId>
627 </exclusion>
628 <exclusion>
629 <artifactId>commons-codec</artifactId>
630 <groupId>commons-codec</groupId>
631 </exclusion>
632 <exclusion>
633 <artifactId>log4j</artifactId>
634 <groupId>log4j</groupId>
635 </exclusion>
636 </exclusions>
637 </dependency>
638
639 <!--Jetty Proxy-->
640 <dependency>
641 <groupId>org.eclipse.jetty</groupId>
642 <artifactId>jetty-http</artifactId>
643 <version>${jetty.version}</version>
644 <scope>compile</scope>
645 </dependency>
646
647 <dependency>
648 <groupId>org.eclipse.jetty</groupId>
649 <artifactId>jetty-proxy</artifactId>
650 <version>${jetty.version}</version>
651 <scope>compile</scope>
652 <exclusions>
653 <exclusion>
654 <groupId>org.eclipse.jetty</groupId>
655 <artifactId>jetty-http</artifactId>
656 </exclusion>
657 </exclusions>
658 </dependency>
659
660 <dependency>
661 <groupId>org.eclipse.jetty</groupId>
662 <artifactId>jetty-servlets</artifactId>
663 <version>${jetty.version}</version>
664 <scope>compile</scope>
665 <exclusions>
666 <exclusion>
667 <groupId>org.eclipse.jetty</groupId>
668 <artifactId>jetty-http</artifactId>
669 </exclusion>
670 <exclusion>
671 <groupId>org.eclipse.jetty</groupId>
672 <artifactId>jetty-continuation</artifactId>
673 </exclusion>
674 </exclusions>
675 </dependency>
676 <!-- System metrics -->
677 <dependency>
678 <groupId>org.fusesource</groupId>
679 <artifactId>sigar</artifactId>
680 <version>${sigar.version}</version>
681 <scope>compile</scope>
682 <exclusions>
683 <exclusion>
684 <groupId>log4j</groupId>
685 <artifactId>log4j</artifactId>
686 </exclusion>
687 </exclusions>
688 </dependency>
689 <dependency>
690 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
691 <artifactId>dmaapClient</artifactId>
692 <version>1.1.3</version>
693 <scope>compile</scope>
694 <exclusions>
695 <exclusion>
696 <groupId>com.att.aft</groupId>
697 <artifactId>dme2</artifactId>
698 </exclusion>
699 <exclusion>
700 <groupId>com.fasterxml.jackson.core</groupId>
701 <artifactId>jackson-core</artifactId>
702 </exclusion>
703 <exclusion>
704 <artifactId>log4j</artifactId>
705 <groupId>log4j</groupId>
706 </exclusion>
707 <exclusion>
708 <artifactId>apache-log4j-extras</artifactId>
709 <groupId>log4j</groupId>
710 </exclusion>
711 </exclusions>
712 </dependency>
713 <dependency>
714 <groupId>com.att.aft</groupId>
715 <artifactId>dme2</artifactId>
716 <version>3.1.200-oss</version>
vasrazb886cde2021-08-18 16:16:14 +0100717 <exclusions>
718 <exclusion>
719 <groupId>javax.jms</groupId>
720 <artifactId>jms</artifactId>
721 </exclusion>
722 </exclusions>
vasrazc81c95b2021-05-31 23:08:39 +0100723 </dependency>
724
725 <!-- CADI -->
726 <dependency>
727 <groupId>org.onap.aaf.authz</groupId>
728 <artifactId>aaf-cadi-aaf</artifactId>
729 <version>${cadi.version}</version>
730 <exclusions>
731 <exclusion>
732 <groupId>com.datastax.cassandra</groupId>
733 <artifactId>cassandra-driver-core</artifactId>
734 </exclusion>
735 <exclusion>
736 <groupId>org.slf4j</groupId>
737 <artifactId>slf4j-log4j12</artifactId>
738 </exclusion>
739 <exclusion>
740 <artifactId>log4j</artifactId>
741 <groupId>log4j</groupId>
742 </exclusion>
743 </exclusions>
744 </dependency>
745
746 <!-- TEST -->
747 <dependency>
748 <groupId>org.assertj</groupId>
749 <artifactId>assertj-core</artifactId>
750 <scope>test</scope>
751 </dependency>
752
753 <dependency>
754 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
755 <artifactId>jersey-test-framework-provider-bundle</artifactId>
756 <version>${jersey-bom.version}</version>
757 <type>pom</type>
758 <scope>test</scope>
759 <exclusions>
760 <exclusion>
761 <groupId>org.eclipse.jetty</groupId>
762 <artifactId>jetty-server</artifactId>
763 </exclusion>
764 <exclusion>
765 <groupId>org.eclipse.jetty</groupId>
766 <artifactId>jetty-continuation</artifactId>
767 </exclusion>
768 </exclusions>
769 </dependency>
770
771 <dependency>
772 <groupId>org.glassfish.jersey.core</groupId>
773 <artifactId>jersey-client</artifactId>
774 <version>${jersey-bom.version}</version>
775 </dependency>
776
777 <dependency>
778 <groupId>org.eclipse.jetty</groupId>
779 <artifactId>jetty-webapp</artifactId>
780 <version>${jetty.version}</version>
781 <scope>test</scope>
782 <exclusions>
783 <exclusion>
784 <groupId>org.eclipse.jetty</groupId>
785 <artifactId>jetty-servlet</artifactId>
786 </exclusion>
787 </exclusions>
788 </dependency>
789
790 <dependency>
791 <groupId>org.hamcrest</groupId>
792 <artifactId>hamcrest</artifactId>
793 <version>${hamcrest.version}</version>
794 <scope>test</scope>
795 </dependency>
796
797 <dependency>
798 <groupId>org.hamcrest</groupId>
799 <artifactId>hamcrest-library</artifactId>
800 <version>${hamcrest.version}</version>
801 <scope>test</scope>
802 </dependency>
803
804 <dependency>
805 <groupId>org.junit.jupiter</groupId>
806 <artifactId>junit-jupiter-api</artifactId>
807 <version>${junitJupiter.version}</version>
808 <scope>test</scope>
809 </dependency>
810
811 <dependency>
812 <groupId>org.junit.jupiter</groupId>
813 <artifactId>junit-jupiter</artifactId>
814 <version>${junitJupiter.version}</version>
815 <scope>test</scope>
816 </dependency>
817
818 <dependency>
819 <groupId>org.junit.platform</groupId>
820 <artifactId>junit-platform-commons</artifactId>
821 <version>${junit.platform.version}</version>
822 <scope>test</scope>
823 </dependency>
824 <dependency>
825 <groupId>org.junit.platform</groupId>
826 <artifactId>junit-platform-engine</artifactId>
827 <version>${junit.platform.version}</version>
828 <scope>test</scope>
829 </dependency>
830 <dependency>
831 <groupId>org.mockito</groupId>
832 <artifactId>mockito-junit-jupiter</artifactId>
833 <version>${mockitoJupiter.version}</version>
834 <scope>test</scope>
835 </dependency>
836
837 <dependency>
838 <groupId>org.springframework</groupId>
839 <artifactId>spring-test</artifactId>
840 <version>${spring.version}</version>
841 <scope>test</scope>
842 </dependency>
843
844 <dependency>
845 <groupId>org.springframework</groupId>
846 <artifactId>spring-tx</artifactId>
847 <version>${spring.version}</version>
vasraz8dbc7322021-06-26 14:23:12 +0100848 <exclusions>
849 <exclusion>
850 <groupId>org.springframework</groupId>
851 <artifactId>spring-core</artifactId>
852 </exclusion>
853 </exclusions>
vasrazc81c95b2021-05-31 23:08:39 +0100854 </dependency>
855
856 <dependency>
857 <groupId>io.cucumber</groupId>
858 <artifactId>cucumber-java</artifactId>
859 <version>${cucumber.version}</version>
860 <scope>test</scope>
861 </dependency>
862
863 <dependency>
864 <groupId>io.cucumber</groupId>
865 <artifactId>cucumber-junit</artifactId>
866 <version>${cucumber.version}</version>
867 <scope>test</scope>
868 </dependency>
869
870 <dependency>
871 <groupId>org.jmockit</groupId>
872 <artifactId>jmockit</artifactId>
873 <version>${jmockit.version}</version>
874 <scope>test</scope>
875 </dependency>
876
877 <dependency>
878 <groupId>com.google.code.bean-matchers</groupId>
879 <artifactId>bean-matchers</artifactId>
880 <version>0.11</version>
881 <scope>test</scope>
882 </dependency>
883
884 <dependency>
885 <groupId>org.codehaus.groovy</groupId>
886 <artifactId>groovy</artifactId>
887 <version>${groovy.version}</version>
888 </dependency>
889
890 <dependency>
891 <groupId>io.netty</groupId>
892 <artifactId>netty-handler</artifactId>
893 </dependency>
894 <dependency>
895 <groupId>org.onap.sdc.common</groupId>
896 <artifactId>onap-tosca-datatype</artifactId>
897 <version>${project.version}</version>
898 <exclusions>
899 <exclusion>
900 <groupId>com.fasterxml.jackson.core</groupId>
901 <artifactId>jackson-core</artifactId>
902 </exclusion>
903 </exclusions>
904 </dependency>
905 <dependency>
906 <groupId>org.apache.commons</groupId>
907 <artifactId>commons-collections4</artifactId>
908 <version>${commons.collections.version}</version>
909 </dependency>
910 <dependency>
911 <groupId>org.onap.sdc.sdc-be-common</groupId>
912 <artifactId>security-util-lib</artifactId>
913 <version>${security.util.lib.version}</version>
914 <exclusions>
915 <exclusion>
916 <groupId>org.springframework.boot</groupId>
917 <artifactId>spring-boot-starter-logging</artifactId>
918 </exclusion>
919 </exclusions>
920 </dependency>
921 <dependency>
922 <groupId>org.openecomp.sdc.core</groupId>
923 <artifactId>openecomp-tosca-lib</artifactId>
924 <version>${project.version}</version>
925 <exclusions>
926 <exclusion>
927 <groupId>com.fasterxml.jackson.core</groupId>
928 <artifactId>jackson-core</artifactId>
929 </exclusion>
vasraz8dbc7322021-06-26 14:23:12 +0100930 <exclusion>
931 <groupId>org.springframework</groupId>
932 <artifactId>spring-core</artifactId>
933 </exclusion>
vasrazc81c95b2021-05-31 23:08:39 +0100934 </exclusions>
935 </dependency>
936 <dependency>
937 <groupId>org.onap.vnfsdk.validation</groupId>
938 <artifactId>validation-pmdictionary</artifactId>
939 <version>${onap.vnfsdk.validation.pmdictionary.version}</version>
940 <exclusions>
941 <exclusion>
942 <groupId>org.apache.logging.log4j</groupId>
943 <artifactId>log4j-slf4j-impl</artifactId>
944 </exclusion>
945 </exclusions>
946 </dependency>
947
948 <dependency>
949 <groupId>com.googlecode.jmapper-framework</groupId>
950 <artifactId>jmapper-core</artifactId>
951 <version>${jMapper.version}</version>
952 <exclusions>
953 <exclusion>
954 <groupId>com.thoughtworks.xstream</groupId>
955 <artifactId>xstream</artifactId>
956 </exclusion>
957 </exclusions>
958 </dependency>
959
960 </dependencies>
961
962 <build>
963 <finalName>catalog-be</finalName>
964 <plugins>
965 <plugin>
966 <groupId>org.apache.maven.plugins</groupId>
967 <artifactId>maven-surefire-plugin</artifactId>
968 <configuration>
969 <forkCount>1C</forkCount>
970 <reuseForks>false</reuseForks>
971 </configuration>
972 </plugin>
973 <plugin>
974 <!-- Download Swagger UI webjar. -->
975 <artifactId>maven-dependency-plugin</artifactId>
976 <version>${maven-dependency-plugin.version}</version>
977 <executions>
978 <execution>
979 <phase>prepare-package</phase>
980 <goals>
981 <goal>unpack</goal>
982 </goals>
983 <configuration>
984 <artifactItems>
985 <artifactItem>
986 <groupId>org.webjars</groupId>
987 <artifactId>swagger-ui</artifactId>
988 <version>${swagger-ui.version}</version>
989 </artifactItem>
990 </artifactItems>
991 <outputDirectory>${project.build.directory}/swagger-ui</outputDirectory>
992 </configuration>
993 </execution>
994 </executions>
995 </plugin>
996 <plugin>
997 <!-- Replace the OpenAPI specification example URL with the local one. -->
998 <groupId>com.google.code.maven-replacer-plugin</groupId>
999 <artifactId>replacer</artifactId>
1000 <version>${replacer.plugin.version}</version>
1001 <executions>
1002 <execution>
1003 <phase>prepare-package</phase>
1004 <goals>
1005 <goal>replace</goal>
1006 </goals>
1007 </execution>
1008 </executions>
1009 <configuration>
1010 <file>
1011 ${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}/index.html
1012 </file>
1013 <replacements>
1014 <replacement>
1015 <token>https://petstore.swagger.io/v2/swagger.json</token>
1016 <value>/sdc/openapi.json</value>
1017 </replacement>
1018 </replacements>
1019 </configuration>
1020 </plugin>
1021 <plugin>
1022 <groupId>org.apache.maven.plugins</groupId>
1023 <artifactId>maven-war-plugin</artifactId>
1024 <configuration>
1025 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
1026 WEB-INF/classes/elasticsearch.yml,
1027 WEB-INF/classes/portal.properties
1028 </packagingExcludes>
1029 <archive>
1030 <manifestEntries>
1031 <SDC-Version>${project.version}</SDC-Version>
1032 </manifestEntries>
1033 <manifest>
1034 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
1035 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
1036 </manifest>
1037 </archive>
1038 <attachClasses>true</attachClasses>
1039 <webResources combine.children="append">
1040 <resource>
1041 <directory>
1042 ${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}
1043 </directory>
1044 <includes>
1045 <include>**/*.*</include>
1046 </includes>
1047 <targetPath>swagger-ui</targetPath>
1048 </resource>
1049 </webResources>
1050 </configuration>
1051 </plugin>
1052 <plugin>
1053 <groupId>com.github.sylvainlaurent.maven</groupId>
1054 <artifactId>yaml-json-validator-maven-plugin</artifactId>
1055 <executions>
1056 <execution>
1057 <id>validate</id>
1058 <phase>validate</phase>
1059 <goals>
1060 <goal>validate</goal>
1061 </goals>
1062 <configuration>
1063 <validationSets>
1064 <validationSet>
1065 <includes>
1066 <include>src/main/resources/**/*.y*ml</include>
1067 <include>src/test/resources/**/*.y*ml</include>
1068 </includes>
1069 <excludes>
1070 <exclude>
1071 src/test/resources/artifacts/pnfSoftwareInformation/**
1072 </exclude>
1073 </excludes>
1074 </validationSet>
1075 <validationSet>
1076 <includes>
1077 <include>src/main/resources/**/*.json</include>
1078 <include>src/test/resources/**/*.json</include>
1079 </includes>
1080 </validationSet>
1081 </validationSets>
1082 <skip>${skipYamlJsonValidator}</skip>
1083 </configuration>
1084 </execution>
1085 </executions>
1086 </plugin>
1087 <plugin>
1088 <groupId>com.jcabi</groupId>
1089 <artifactId>jcabi-maven-plugin</artifactId>
1090 <version>${jcabi.maven.plugin.version}</version>
1091 <dependencies>
1092 <dependency>
sebdet591810d2020-09-17 15:07:23 +02001093 <groupId>org.aspectj</groupId>
vasrazc81c95b2021-05-31 23:08:39 +01001094 <artifactId>aspectjtools</artifactId>
vasraz7edf3d32021-08-18 13:54:08 +01001095 <version>${aspectj.version}</version>
vasrazc81c95b2021-05-31 23:08:39 +01001096 </dependency>
1097 <dependency>
1098 <groupId>org.aspectj</groupId>
1099 <artifactId>aspectjweaver</artifactId>
vasraz7edf3d32021-08-18 13:54:08 +01001100 <version>${aspectj.version}</version>
vasrazc81c95b2021-05-31 23:08:39 +01001101 </dependency>
1102 </dependencies>
1103 <executions>
1104 <execution>
1105 <goals>
1106 <goal>ajc</goal>
1107 </goals>
1108 </execution>
1109 </executions>
1110 </plugin>
1111 <plugin>
1112 <groupId>org.apache.maven.plugins</groupId>
1113 <artifactId>maven-assembly-plugin</artifactId>
1114 <executions>
1115 <execution>
1116 <id>normatives</id>
1117 <phase>prepare-package</phase>
1118 <goals>
1119 <goal>single</goal>
1120 </goals>
1121 <configuration>
1122 <finalName>normatives</finalName>
1123 <appendAssemblyId>false</appendAssemblyId>
1124 <descriptors>
1125 <descriptor>src/main/assembly/normatives.xml</descriptor>
1126 </descriptors>
1127 </configuration>
1128 </execution>
1129 </executions>
1130 </plugin>
1131 <plugin>
1132 <groupId>org.apache.maven.plugins</groupId>
1133 <artifactId>maven-clean-plugin</artifactId>
1134 <executions>
1135 <execution>
1136 <id>clean.sdc.backend.folder</id>
1137 <phase>clean</phase>
1138 <goals>
1139 <goal>clean</goal>
1140 </goals>
1141 <configuration>
1142 <filesets>
1143 <fileset>
1144 <directory>
1145 sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
1146 </directory>
1147 <followSymlinks>false</followSymlinks>
1148 <includes>
1149 <include>normatives.tar.gz</include>
1150 </includes>
1151 </fileset>
1152 </filesets>
1153 </configuration>
1154 </execution>
1155 </executions>
1156 </plugin>
1157 <plugin>
1158 <groupId>io.swagger.core.v3</groupId>
1159 <artifactId>swagger-maven-plugin</artifactId>
1160 <version>${swagger-core-mvn-plugin.version}</version>
1161 <executions>
1162 <execution>
1163 <id>sdce-2-sdce-5</id>
1164 <phase>compile</phase>
1165 <goals>
1166 <goal>resolve</goal>
1167 </goals>
1168 <configuration>
1169 <contextId>sdce-2-sdce-5</contextId>
1170 <outputPath>${project.build.directory}/generated/swagger</outputPath>
1171 <outputFileName>swagger-sdce-2-sdce-5</outputFileName>
1172 <outputFormat>JSON</outputFormat>
1173 <configurationFilePath>
1174 ${project.basedir}/src/main/resources/swagger-config/sdce-2-sdce-5.yaml
1175 </configurationFilePath>
1176 <skip>${swagger.skip}</skip>
1177 </configuration>
1178 </execution>
1179 <execution>
1180 <id>sdce-4</id>
1181 <phase>compile</phase>
1182 <goals>
1183 <goal>resolve</goal>
1184 </goals>
1185 <configuration>
1186 <contextId>sdce-4</contextId>
1187 <outputPath>${project.build.directory}/generated/swagger</outputPath>
1188 <outputFileName>swagger-sdce-4</outputFileName>
1189 <outputFormat>JSON</outputFormat>
1190 <configurationFilePath>
1191 ${project.basedir}/src/main/resources/swagger-config/sdce-4.yaml
1192 </configurationFilePath>
1193 <skip>${swagger.skip}</skip>
1194 </configuration>
1195 </execution>
1196 <execution>
1197 <id>sdce-6</id>
1198 <phase>compile</phase>
1199 <goals>
1200 <goal>resolve</goal>
1201 </goals>
1202 <configuration>
1203 <contextId>sdce-6</contextId>
1204 <outputPath>${project.build.directory}/generated/swagger</outputPath>
1205 <outputFileName>swagger-sdce-6</outputFileName>
1206 <outputFormat>JSON</outputFormat>
1207 <configurationFilePath>
1208 ${project.basedir}/src/main/resources/swagger-config/sdce-6.yaml
1209 </configurationFilePath>
1210 <skip>${swagger.skip}</skip>
1211 </configuration>
1212 </execution>
1213 <execution>
1214 <id>sdce-7</id>
1215 <phase>compile</phase>
1216 <goals>
1217 <goal>resolve</goal>
1218 </goals>
1219 <configuration>
1220 <contextId>sdce-7</contextId>
1221 <outputPath>${project.build.directory}/generated/swagger</outputPath>
1222 <outputFileName>swagger-sdce-7</outputFileName>
1223 <outputFormat>JSON</outputFormat>
1224 <configurationFilePath>
1225 ${project.basedir}/src/main/resources/swagger-config/sdce-7.yaml
1226 </configurationFilePath>
1227 <skip>${swagger.skip}</skip>
1228 </configuration>
1229 </execution>
1230 </executions>
1231 </plugin>
1232 </plugins>
sebdet591810d2020-09-17 15:07:23 +02001233
vasrazc81c95b2021-05-31 23:08:39 +01001234 <pluginManagement>
1235 <plugins>
1236 <!--This plugin's configuration is used to store Eclipse m2e settings
1237 only. It has no influence on the Maven build itself. -->
1238 <plugin>
1239 <groupId>org.eclipse.m2e</groupId>
1240 <artifactId>lifecycle-mapping</artifactId>
1241 <version>1.0.0</version>
1242 <configuration>
1243 <lifecycleMappingMetadata>
1244 <pluginExecutions>
1245 <pluginExecution>
1246 <pluginExecutionFilter>
1247 <groupId>com.googlecode.maven-download-plugin</groupId>
1248 <artifactId>download-maven-plugin</artifactId>
1249 <versionRange>[1.2.1,)</versionRange>
1250 <goals>
1251 <goal>wget</goal>
1252 </goals>
1253 </pluginExecutionFilter>
1254 </pluginExecution>
sebdet591810d2020-09-17 15:07:23 +02001255
vasrazc81c95b2021-05-31 23:08:39 +01001256 <pluginExecution>
1257 <pluginExecutionFilter>
1258 <groupId>com.jcabi</groupId>
1259 <artifactId>jcabi-maven-plugin</artifactId>
1260 <versionRange>[0.0,)</versionRange>
1261 <goals>
1262 <goal>ajc</goal>
1263 </goals>
1264 </pluginExecutionFilter>
1265 <action>
1266 <execute/>
1267 </action>
1268 </pluginExecution>
sebdet591810d2020-09-17 15:07:23 +02001269
vasrazc81c95b2021-05-31 23:08:39 +01001270 </pluginExecutions>
1271 </lifecycleMappingMetadata>
1272 </configuration>
1273 </plugin>
1274 </plugins>
1275 </pluginManagement>
1276 <!-- Swagger Plugins End -->
1277 </build>
sebdet591810d2020-09-17 15:07:23 +02001278
vasrazc81c95b2021-05-31 23:08:39 +01001279 <profiles>
1280 <profile>
1281 <id>docker</id>
1282 <activation>
1283 <activeByDefault>false</activeByDefault>
1284 </activation>
1285 <build>
vasrazfa5bdf02019-08-26 13:39:26 +00001286 <plugins>
vasrazc81c95b2021-05-31 23:08:39 +01001287 <plugin>
1288 <groupId>org.apache.maven.plugins</groupId>
1289 <artifactId>maven-resources-plugin</artifactId>
1290 <executions>
1291 <execution>
1292 <id>copy-normatives</id>
1293 <phase>package</phase>
1294 <goals>
1295 <goal>copy-resources</goal>
1296 </goals>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +01001297 <configuration>
vasrazc81c95b2021-05-31 23:08:39 +01001298 <outputDirectory>
1299 sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
1300 </outputDirectory>
1301 <resources>
1302 <resource>
andre.schmidc82aebc2021-05-14 20:38:45 +01001303 <directory>${project.build.directory}</directory>
vasrazc81c95b2021-05-31 23:08:39 +01001304 <includes>
1305 <include>normatives.tar.gz</include>
1306 </includes>
1307 </resource>
1308 </resources>
Dmitry Puzikovcdca7002020-03-03 10:18:41 +01001309 </configuration>
vasrazc81c95b2021-05-31 23:08:39 +01001310 </execution>
1311 <execution>
1312 <id>copy-sdc-be-py</id>
1313 <phase>verify</phase>
1314 <goals>
1315 <goal>copy-resources</goal>
1316 </goals>
vasrazfa5bdf02019-08-26 13:39:26 +00001317 <configuration>
vasrazc81c95b2021-05-31 23:08:39 +01001318 <outputDirectory>
1319 sdc-backend-init/
1320 </outputDirectory>
1321 <resources>
1322 <resource>
1323 <directory>
1324 ${project.parent.basedir}/catalog-be/src/main/resources/
1325 </directory>
1326 <includes>
1327 <include>scripts/sdcBePy/**</include>
1328 <inculde>scripts/setup.py</inculde>
1329 </includes>
1330 </resource>
1331 </resources>
vasrazfa5bdf02019-08-26 13:39:26 +00001332 </configuration>
vasrazc81c95b2021-05-31 23:08:39 +01001333 </execution>
1334 </executions>
1335 </plugin>
1336 <plugin>
1337 <groupId>io.fabric8</groupId>
1338 <artifactId>docker-maven-plugin</artifactId>
1339 <configuration>
1340 <verbose>${verbose}</verbose>
1341 <apiVersion>${docker.api.version}</apiVersion>
1342 <registry>nexus3.onap.org:10001</registry>
1343 <authConfig>
1344 <pull>
1345 <username>docker</username>
1346 <password>docker</password>
1347 </pull>
1348 </authConfig>
1349 <images>
1350
1351 <!-- Build backend image -->
1352 <image>
1353 <name>onap/sdc-backend</name>
1354 <alias>sdc-backend</alias>
1355 <build>
1356 <cleanup>try</cleanup>
1357 <dockerFileDir>backend</dockerFileDir>
1358 <tags>
1359 <tag>latest</tag>
1360 <tag>
1361 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1362 </tag>
1363 <tag>
1364 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
1365 </tag>
1366 </tags>
1367 <assembly>
1368 <descriptor>backend/backend-files.xml</descriptor>
1369 <name>onap-sdc-backend</name>
1370 </assembly>
1371 </build>
1372 </image>
1373 <!-- Build backend-init image -->
1374 <image>
1375 <name>onap/sdc-backend-init</name>
1376 <alias>sdc-backend-init</alias>
1377 <build>
1378 <cleanup>try</cleanup>
1379 <dockerFileDir>${project.basedir}/sdc-backend-init
1380 </dockerFileDir>
1381 <tags>
1382 <tag>latest</tag>
1383 <tag>
1384 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1385 </tag>
1386 <tag>
1387 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
1388 </tag>
1389 </tags>
1390 </build>
1391 </image>
1392 </images>
1393 </configuration>
1394 <executions>
1395 <execution>
1396 <id>clean-images</id>
1397 <phase>pre-clean</phase>
1398 <goals>
1399 <goal>remove</goal>
1400 </goals>
vasraza36531c2020-04-29 18:39:35 +01001401 <configuration>
vasrazc81c95b2021-05-31 23:08:39 +01001402 <removeAll>true</removeAll>
1403 <image>onap/sdc-backend,onap/sdc-backend-init</image>
vasraza36531c2020-04-29 18:39:35 +01001404 </configuration>
vasrazc81c95b2021-05-31 23:08:39 +01001405 </execution>
1406
1407 <execution>
1408 <id>generate-images</id>
1409 <phase>install</phase>
1410 <goals>
1411 <goal>build</goal>
1412 </goals>
1413 </execution>
1414
1415 <execution>
1416 <id>push-images</id>
1417 <phase>deploy</phase>
1418 <goals>
1419 <goal>push</goal>
1420 </goals>
1421 <configuration>
1422 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1423 </configuration>
1424 </execution>
1425 </executions>
1426 </plugin>
vasrazfa5bdf02019-08-26 13:39:26 +00001427 </plugins>
vasrazc81c95b2021-05-31 23:08:39 +01001428 </build>
1429 </profile>
1430 </profiles>
MichaelMorris580e5362020-02-08 22:55:49 +00001431</project>