blob: dfa6eaa031c588245ab978bdabd970908b1473b1 [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Yuli Shlosbergaf70a202018-09-25 17:16:48 +03002 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02003 <modelVersion>4.0.0</modelVersion>
Michael Lando451a3402017-02-19 10:28:42 +02004
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02005 <artifactId>catalog-be</artifactId>
6 <packaging>war</packaging>
Michael Lando451a3402017-02-19 10:28:42 +02007
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02008 <parent>
9 <groupId>org.openecomp.sdc</groupId>
10 <artifactId>sdc-main</artifactId>
Sonsino, Ofir (os0695)55c536e2019-05-07 18:30:15 +030011 <version>1.5.0-SNAPSHOT</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020012 </parent>
Michael Lando451a3402017-02-19 10:28:42 +020013
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020014 <properties>
Tomasz Golabek7e28cea2019-04-11 14:29:49 +020015 <java-hamcrest.version>2.0.0.0</java-hamcrest.version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020016 </properties>
Michael Lando451a3402017-02-19 10:28:42 +020017
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020018 <dependencies>
19 <!--JSON and YAML Parsing-->
20 <dependency>
21 <groupId>com.fasterxml.jackson.dataformat</groupId>
22 <artifactId>jackson-dataformat-yaml</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +030023 <version>${jackson.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020024 <scope>compile</scope>
25 </dependency>
Michael Landoc34b77c2017-02-28 19:03:11 +020026
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020027 <dependency>
28 <groupId>com.fasterxml.jackson.core</groupId>
29 <artifactId>jackson-databind</artifactId>
30 <version>${jackson.version}</version>
31 <scope>compile</scope>
32 </dependency>
Michael Landoc0ac0152017-02-27 23:48:43 +020033
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020034 <dependency>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020035 <groupId>org.openecomp.sdc</groupId>
36 <artifactId>security-utils</artifactId>
37 <version>${project.version}</version>
38 <scope>compile</scope>
39 </dependency>
shrek20001dd5db92019-02-07 12:57:08 +020040 <dependency>
41 <groupId>org.onap.sdc.common</groupId>
42 <artifactId>onap-tosca-datatype</artifactId>
43 <version>${project.version}</version>
44 <scope>compile</scope>
45 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020046
Tomasz Golabek06e8b702019-03-26 16:36:22 +010047 <dependency>
48 <groupId>org.onap.sdc.common</groupId>
49 <artifactId>onap-generic-artifact-browser-service</artifactId>
50 <version>${project.version}</version>
51 <scope>compile</scope>
52 </dependency>
53
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020054 <!-- Swagger Dependencies Start -->
55 <dependency>
56 <groupId>io.swagger</groupId>
57 <artifactId>swagger-jersey2-jaxrs</artifactId>
58 <scope>compile</scope>
Michael Landocb1b7da2018-05-22 20:43:41 +030059 <version>1.5.15</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020060 </dependency>
61 <!-- Swagger Dependencies End -->
Tal Gitelmaned7e1c32017-06-29 19:30:00 +030062
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020063 <dependency>
64 <groupId>org.openecomp.sdc</groupId>
65 <artifactId>common-app-api</artifactId>
66 <version>${project.version}</version>
67 <scope>compile</scope>
68 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020069
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020070 <dependency>
71 <groupId>org.openecomp.sdc.be</groupId>
72 <artifactId>common-be</artifactId>
73 <version>${project.version}</version>
74 <scope>compile</scope>
75 </dependency>
76 <dependency>
77 <groupId>org.openecomp.sdc.be</groupId>
78 <artifactId>catalog-dao</artifactId>
79 <version>${project.version}</version>
80 <scope>compile</scope>
81 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020082
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020083 <dependency>
84 <groupId>org.openecomp.sdc.be</groupId>
85 <artifactId>catalog-model</artifactId>
86 <version>${project.version}</version>
87 <scope>compile</scope>
88 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020089
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020090 <dependency>
91 <groupId>ch.qos.logback</groupId>
92 <artifactId>logback-classic</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +030093 <version>${logback.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020094 <scope>compile</scope>
95 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020096
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020097 <!-- Snake Yaml -->
98 <dependency>
99 <groupId>org.yaml</groupId>
100 <artifactId>snakeyaml</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300101 <version>${snakeyaml.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200102 <scope>compile</scope>
103 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200104
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200105 <!-- File changes listener -->
106 <dependency>
107 <groupId>org.apache.commons</groupId>
108 <artifactId>commons-jci-core</artifactId>
109 <version>${commons-jci-core.version}</version>
110 <scope>compile</scope>
111 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200112
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200113 <!-- Gson -->
114 <dependency>
115 <groupId>com.google.code.gson</groupId>
116 <artifactId>gson</artifactId>
117 <version>${gson.version}</version>
118 <scope>compile</scope>
119 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200120
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200121 <!-- jersey -->
122 <dependency>
123 <groupId>org.glassfish.jersey.media</groupId>
124 <artifactId>jersey-media-json-jackson</artifactId>
125 <version>${jersey-bom.version}</version>
126 <scope>compile</scope>
127 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200128
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200129 <dependency>
130 <groupId>org.glassfish.jersey.containers</groupId>
131 <artifactId>jersey-container-servlet-core</artifactId>
132 <version>${jersey-bom.version}</version>
133 <scope>compile</scope>
134 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200135
Michael Lando5b593492018-07-29 16:13:45 +0300136 <dependency>
137 <groupId>org.glassfish.jersey.media</groupId>
138 <artifactId>jersey-media-multipart</artifactId>
139 <version>${jersey-bom.version}</version>
140 <scope>compile</scope>
141 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300142 <dependency>
143 <groupId>org.glassfish.jersey.ext</groupId>
144 <artifactId>jersey-spring4</artifactId>
145 <version>${jersey-bom.version}</version>
146 <exclusions>
147 <exclusion>
148 <groupId>org.springframework</groupId>
149 <artifactId>spring-web</artifactId>
150 </exclusion>
151 <exclusion>
152 <groupId>org.springframework</groupId>
153 <artifactId>spring-beans</artifactId>
154 </exclusion>
155 <exclusion>
156 <groupId>org.springframework</groupId>
157 <artifactId>spring-core</artifactId>
158 </exclusion>
159 <exclusion>
160 <groupId>org.springframework</groupId>
161 <artifactId>spring-aop</artifactId>
162 </exclusion>
163 <!-- Transitive dependency of spring-bridge -->
164 <exclusion>
165 <groupId>org.springframework</groupId>
166 <artifactId>spring-context</artifactId>
167 </exclusion>
168 </exclusions>
Michael Landoa5445102018-03-04 14:53:33 +0200169
Michael Lando5b593492018-07-29 16:13:45 +0300170 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200171
Michael Lando5b593492018-07-29 16:13:45 +0300172 <!--asm-all-repackaged is a jersey dependency. in current version jersey depends on a version that was compiled using java 9 compiler
173 currently our jetty (v9.3.6) does not support java 9. as soon as jetty gets upgraded we will remove this dependency-->
174 <dependency>
175 <groupId>org.glassfish.hk2.external</groupId>
176 <artifactId>asm-all-repackaged</artifactId>
177 </dependency>
178
179 <dependency>
180 <groupId>org.glassfish.jersey.ext</groupId>
181 <artifactId>jersey-bean-validation</artifactId>
182 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200183
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200184 <!-- http client -->
185 <dependency>
186 <groupId>org.apache.httpcomponents</groupId>
187 <artifactId>httpclient</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300188 <version>${httpclient.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200189 <scope>compile</scope>
190 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200191
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200192 <dependency>
193 <groupId>org.apache.httpcomponents</groupId>
194 <artifactId>httpcore</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300195 <version>${httpcore.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200196 <scope>compile</scope>
197 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200198
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200199 <dependency>
200 <groupId>commons-logging</groupId>
201 <artifactId>commons-logging</artifactId>
202 <version>${commons-logging}</version>
203 <scope>compile</scope>
204 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200205
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200206 <dependency>
207 <groupId>commons-codec</groupId>
208 <artifactId>commons-codec</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300209 <version>${commons-codec}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200210 <scope>compile</scope>
211 </dependency>
212 <!-- http client END -->
Michael Lando451a3402017-02-19 10:28:42 +0200213
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200214 <dependency>
215 <groupId>javax.servlet</groupId>
vempod6d12912018-07-09 14:27:57 +0300216 <artifactId>javax.servlet-api</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300217 <version>${servlet-api.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200218 <scope>provided</scope>
219 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200220
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200221 <dependency>
222 <groupId>org.eclipse.jgit</groupId>
223 <artifactId>org.eclipse.jgit</artifactId>
224 <version>3.4.1.201406201815-r</version>
225 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200226
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200227 <!-- spring - used by A4C -->
228 <dependency>
229 <groupId>org.springframework</groupId>
230 <artifactId>spring-core</artifactId>
231 <version>${spring.version}</version>
232 <scope>compile</scope>
233 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200234
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200235 <dependency>
236 <groupId>org.springframework</groupId>
237 <artifactId>spring-context</artifactId>
238 <version>${spring.version}</version>
239 <scope>compile</scope>
240 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200241
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200242 <dependency>
243 <groupId>org.springframework</groupId>
244 <artifactId>spring-web</artifactId>
245 <version>${spring.version}</version>
246 <scope>compile</scope>
247 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200248
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200249 <dependency>
250 <groupId>org.springframework</groupId>
251 <artifactId>spring-webmvc</artifactId>
252 <version>${spring.version}</version>
253 <scope>compile</scope>
254 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200255
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200256 <dependency>
257 <groupId>org.springframework</groupId>
258 <artifactId>spring-aop</artifactId>
259 <version>${spring.version}</version>
260 <scope>compile</scope>
261 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200262
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200263 <dependency>
264 <groupId>org.springframework</groupId>
265 <artifactId>spring-beans</artifactId>
266 <version>${spring.version}</version>
267 <scope>compile</scope>
268 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200269
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200270 <dependency>
271 <groupId>org.springframework</groupId>
272 <artifactId>spring-expression</artifactId>
273 <version>${spring.version}</version>
274 <scope>compile</scope>
275 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200276
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200277 <dependency>
278 <groupId>org.codehaus.groovy</groupId>
Tal Gitelmana3b79a22018-09-25 17:22:34 +0300279 <artifactId>groovy</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200280 <scope>compile</scope>
281 </dependency>
Michael Landoc34b77c2017-02-28 19:03:11 +0200282
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200283 <dependency>
284 <groupId>org.codehaus.janino</groupId>
285 <artifactId>janino</artifactId>
286 <version>${janino.version}</version>
287 <scope>compile</scope>
288 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200289
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200290 <dependency>
291 <groupId>org.codehaus.janino</groupId>
292 <artifactId>commons-compiler</artifactId>
293 <version>${janino.version}</version>
294 <scope>compile</scope>
295 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200296
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200297 <dependency>
298 <groupId>com.google.guava</groupId>
299 <artifactId>guava</artifactId>
300 <version>${guava.version}</version>
301 <scope>compile</scope>
302 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200303
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200304 <dependency>
shrikantawachar2623c842019-05-20 12:11:54 +0530305 <groupId>org.janusgraph</groupId>
306 <artifactId>janusgraph-core</artifactId>
307 <version>${janusgraph.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200308 <scope>compile</scope>
309 <exclusions>
310 <exclusion>
311 <groupId>org.json</groupId>
312 <artifactId>json</artifactId>
313 </exclusion>
314 <exclusion>
315 <artifactId>slf4j-log4j12</artifactId>
316 <groupId>org.slf4j</groupId>
317 </exclusion>
Tal Gitelman76783962018-09-06 18:16:24 +0300318 <exclusion>
319 <artifactId>commons-collections</artifactId>
320 <groupId>commons-collections</groupId>
321 </exclusion>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200322 </exclusions>
323 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200324
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200325 <dependency>
shrikantawachar2623c842019-05-20 12:11:54 +0530326 <groupId>org.janusgraph</groupId>
327 <artifactId>janusgraph-cassandra</artifactId>
328 <version>${janusgraph.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200329 <scope>compile</scope>
330 <exclusions>
331 <exclusion>
332 <groupId>org.slf4j</groupId>
333 <artifactId>slf4j-log4j12</artifactId>
334 </exclusion>
335 <exclusion>
336 <groupId>io.netty</groupId>
337 <artifactId>netty-all</artifactId>
338 </exclusion>
339 </exclusions>
340 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200341
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200342 <dependency>
343 <groupId>org.apache.commons</groupId>
344 <artifactId>commons-lang3</artifactId>
345 <version>${lang3.version}</version>
346 <scope>compile</scope>
347 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200348
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200349 <dependency>
350 <groupId>com.googlecode.json-simple</groupId>
351 <artifactId>json-simple</artifactId>
352 <version>${json-simple.version}</version>
353 <scope>compile</scope>
Michael Lando451a3402017-02-19 10:28:42 +0200354
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200355 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200356
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200357 <dependency>
358 <groupId>org.elasticsearch</groupId>
359 <artifactId>elasticsearch</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300360 <version>${elastic-search.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200361 <scope>compile</scope>
362 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200363
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200364 <!-- functional java -->
365 <dependency>
366 <groupId>org.functionaljava</groupId>
367 <artifactId>functionaljava</artifactId>
368 <version>${functionaljava.version}</version>
369 <scope>compile</scope>
370 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200371
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200372 <!-- Aspects -->
373 <dependency>
374 <groupId>com.jcabi</groupId>
375 <artifactId>jcabi-aspects</artifactId>
376 <version>${jcabi.version}</version>
377 <scope>compile</scope>
378 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200379
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200380 <dependency>
381 <groupId>org.aspectj</groupId>
382 <artifactId>aspectjrt</artifactId>
383 <version>${aspectjrt.version}</version>
384 <scope>compile</scope>
385 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200386
Michael Landoa5445102018-03-04 14:53:33 +0200387
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200388 <!-- CAMBRIA CLIENT for U-EB -->
389 <dependency>
390 <groupId>com.att.nsa</groupId>
391 <artifactId>cambriaClient</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200392 <version>1.2.1-oss</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200393 <scope>compile</scope>
394 <exclusions>
395 <exclusion>
Michael Lando5b593492018-07-29 16:13:45 +0300396 <groupId>com.att.nsa</groupId>
397 <artifactId>saClientLibrary</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200398 </exclusion>
399 </exclusions>
400 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200401
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200402 <dependency>
403 <groupId>org.json</groupId>
404 <artifactId>json</artifactId>
405 <version>20131018</version>
406 <scope>compile</scope>
407 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200408
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200409 <!-- CASSANDRA -->
410 <dependency>
411 <groupId>com.datastax.cassandra</groupId>
412 <artifactId>cassandra-driver-core</artifactId>
413 <version>${cassandra.driver.version}</version>
414 <scope>compile</scope>
415 </dependency>
416 <dependency>
417 <groupId>com.datastax.cassandra</groupId>
418 <artifactId>cassandra-driver-mapping</artifactId>
419 <version>${cassandra.driver.version}</version>
420 <scope>compile</scope>
421 </dependency>
422 <!-- CASSANDRA END -->
Michael Lando451a3402017-02-19 10:28:42 +0200423
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200424 <!-- Inserted for ECOMP Portal Integration -->
425 <dependency>
Tal Gitelman7d05e162018-10-10 14:52:54 +0300426 <groupId>org.onap.portal.sdk</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200427 <artifactId>epsdk-fw</artifactId>
428 <version>${ecomp.version}</version>
429 <scope>compile</scope>
430 <exclusions>
431 <exclusion>
432 <groupId>com.att.nsa</groupId>
433 <artifactId>cambriaClient</artifactId>
434 </exclusion>
435 <exclusion>
436 <artifactId>slf4j-log4j12</artifactId>
437 <groupId>org.slf4j</groupId>
438 </exclusion>
439 </exclusions>
440 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200441
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200442 <!--Jetty Proxy-->
443 <dependency>
444 <groupId>org.eclipse.jetty</groupId>
445 <artifactId>jetty-proxy</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300446 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200447 <scope>compile</scope>
448 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200449
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200450 <dependency>
451 <groupId>org.eclipse.jetty</groupId>
452 <artifactId>jetty-servlets</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300453 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200454 <scope>compile</scope>
455 </dependency>
456 <!-- System metrics -->
457 <dependency>
458 <groupId>org.fusesource</groupId>
459 <artifactId>sigar</artifactId>
460 <version>${sigar.version}</version>
461 <scope>compile</scope>
462 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300463 <dependency>
464 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
465 <artifactId>dmaapClient</artifactId>
466 <version>1.1.3</version>
467 <scope>compile</scope>
468 <exclusions>
469 <exclusion>
470 <groupId>com.att.aft</groupId>
471 <artifactId>dme2</artifactId>
472 </exclusion>
473 </exclusions>
474 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300475 <dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200476 <groupId>com.att.aft</groupId>
477 <artifactId>dme2</artifactId>
478 <version>3.1.200-oss</version>
479 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200480
Michael Lando5b593492018-07-29 16:13:45 +0300481 <dependency>
482 <groupId>javax.jms</groupId>
483 <artifactId>jms</artifactId>
484 <version>1.1</version>
485 <scope>provided</scope>
486 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200487
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200488 <!-- TEST -->
489 <dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300490 <groupId>org.assertj</groupId>
491 <artifactId>assertj-core</artifactId>
492 <scope>test</scope>
493 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200494
Michael Lando5b593492018-07-29 16:13:45 +0300495 <dependency>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200496 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
497 <artifactId>jersey-test-framework-provider-bundle</artifactId>
498 <version>${jersey-bom.version}</version>
499 <type>pom</type>
500 <scope>test</scope>
501 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200502
Michael Lando5b593492018-07-29 16:13:45 +0300503 <dependency>
504 <groupId>org.glassfish.jersey.core</groupId>
505 <artifactId>jersey-client</artifactId>
506 <version>${jersey-bom.version}</version>
Michael Lando5b593492018-07-29 16:13:45 +0300507 </dependency>
508
509 <dependency>
510 <groupId>com.github.tomakehurst</groupId>
511 <artifactId>wiremock-standalone</artifactId>
512 <scope>test</scope>
513 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200514
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200515 <dependency>
516 <groupId>org.eclipse.jetty</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200517 <artifactId>jetty-webapp</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300518 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200519 <scope>test</scope>
520 </dependency>
521
522 <dependency>
523 <groupId>junit</groupId>
524 <artifactId>junit</artifactId>
525 <version>${junit.version}</version>
526 <scope>test</scope>
527 </dependency>
528
529 <dependency>
530 <groupId>org.mockito</groupId>
531 <artifactId>mockito-core</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200532 <scope>test</scope>
533 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200534
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200535 <dependency>
536 <groupId>org.springframework</groupId>
537 <artifactId>spring-test</artifactId>
538 <version>${spring.version}</version>
539 <scope>test</scope>
540 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200541
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200542 <dependency>
543 <groupId>org.springframework</groupId>
544 <artifactId>spring-tx</artifactId>
545 <version>${spring.version}</version>
Michael Lando5b593492018-07-29 16:13:45 +0300546 </dependency>
547
548 <dependency>
549 <groupId>io.cucumber</groupId>
550 <artifactId>cucumber-java</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200551 <scope>test</scope>
552 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200553
Michael Lando5b593492018-07-29 16:13:45 +0300554 <dependency>
555 <groupId>io.cucumber</groupId>
556 <artifactId>cucumber-junit</artifactId>
557 <scope>test</scope>
558 </dependency>
dekstroza37843cb2018-05-18 14:42:24 +0100559
560 <dependency>
561 <groupId>org.jmockit</groupId>
562 <artifactId>jmockit</artifactId>
563 <version>${jmockit.version}</version>
564 <scope>test</scope>
565 </dependency>
Tal Gitelman364c0f52018-06-13 14:51:53 +0300566
567 <dependency>
568 <groupId>com.google.code.bean-matchers</groupId>
569 <artifactId>bean-matchers</artifactId>
570 <version>0.11</version>
571 <scope>test</scope>
572 </dependency>
Tal Gitelmane0199372018-09-18 11:57:53 +0300573
574 <dependency>
Tomasz Golabek7e28cea2019-04-11 14:29:49 +0200575 <groupId>org.hamcrest</groupId>
576 <artifactId>java-hamcrest</artifactId>
577 <version>${java-hamcrest.version}</version>
578 <scope>test</scope>
579 </dependency>
580
581 <dependency>
Tal Gitelmane0199372018-09-18 11:57:53 +0300582 <groupId>org.codehaus.groovy</groupId>
583 <artifactId>groovy</artifactId>
584 <version>2.4.8</version>
585 </dependency>
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300586
587 <dependency>
588 <groupId>io.netty</groupId>
589 <artifactId>netty-handler</artifactId>
590 </dependency>
Talio09537852019-01-31 18:00:36 +0200591 <dependency>
592 <groupId>org.onap.sdc.common</groupId>
593 <artifactId>onap-tosca-datatype</artifactId>
594 <version>${project.version}</version>
595 </dependency>
596 <dependency>
597 <groupId>org.apache.commons</groupId>
598 <artifactId>commons-collections4</artifactId>
Talio1468fdc2019-02-05 11:05:05 +0200599 <version>${commons.collections.version}</version>
Talio09537852019-01-31 18:00:36 +0200600 </dependency>
taliofe4afd42019-04-14 15:37:20 +0300601 <dependency>
602 <groupId>org.codehaus.jackson</groupId>
603 <artifactId>jackson-mapper-asl</artifactId>
604 <version>${jackson.mapper.version}</version>
605 </dependency>
talioa4c1c762019-06-05 16:11:11 +0300606 <dependency>
607 <groupId>org.apache.commons</groupId>
608 <artifactId>commons-collections4</artifactId>
609 <version>${commons.collections.version}</version>
610 </dependency>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200611 </dependencies>
dekstroza37843cb2018-05-18 14:42:24 +0100612
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200613 <build>
Michael Lando451a3402017-02-19 10:28:42 +0200614
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200615 <finalName>${project.artifactId}-${project.version}</finalName>
Michael Lando451a3402017-02-19 10:28:42 +0200616
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200617 <plugins>
618 <plugin>
619 <groupId>org.apache.maven.plugins</groupId>
620 <artifactId>maven-war-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200621 <configuration>
622 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
623 WEB-INF/classes/elasticsearch.yml,
624 WEB-INF/classes/portal.properties
625 </packagingExcludes>
626 <archive>
627 <manifestEntries>
628 <SDC-Version>${project.version}</SDC-Version>
629 </manifestEntries>
630 <manifest>
631 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
632 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
633 </manifest>
634 </archive>
Michael Lando451a3402017-02-19 10:28:42 +0200635
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200636 <webResources>
637 <resource>
638 <directory>src/main/resources</directory>
639 <directory>src/main/resources/swagger</directory>
640 </resource>
641 </webResources>
642 <attachClasses>true</attachClasses>
643 </configuration>
644 </plugin>
Michael Lando5b593492018-07-29 16:13:45 +0300645 <plugin>
dekstroza37843cb2018-05-18 14:42:24 +0100646 <groupId>com.github.sylvainlaurent.maven</groupId>
647 <artifactId>yaml-json-validator-maven-plugin</artifactId>
648 <executions>
649 <execution>
650 <id>validate</id>
651 <phase>validate</phase>
652 <goals>
653 <goal>validate</goal>
654 </goals>
655 <configuration>
656 <validationSets>
657 <validationSet>
658 <includes>
659 <include>src/main/resources/**/*.y*ml</include>
660 <include>src/test/resources/**/*.y*ml</include>
661 </includes>
662 </validationSet>
663 <validationSet>
664 <includes>
665 <include>src/main/resources/**/*.json</include>
666 <include>src/test/resources/**/*.json</include>
667 </includes>
668 </validationSet>
669 </validationSets>
670 </configuration>
671 </execution>
672 </executions>
673 </plugin>
674 <plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200675 <groupId>com.jcabi</groupId>
676 <artifactId>jcabi-maven-plugin</artifactId>
Michael Landodc856bb2018-08-13 13:27:52 +0300677 <version>${jcabi.maven.plugin.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200678 <executions>
679 <execution>
680 <goals>
681 <goal>ajc</goal>
682 </goals>
683 </execution>
684 </executions>
685 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200686 <plugin>
687 <groupId>org.apache.maven.plugins</groupId>
688 <artifactId>maven-assembly-plugin</artifactId>
689 <executions>
690 <execution>
691 <id>normatives</id>
692 <phase>package</phase>
693 <goals>
694 <goal>single</goal>
695 </goals>
696 <configuration>
697 <finalName>normatives</finalName>
698 <appendAssemblyId>false</appendAssemblyId>
Michael Lando02ab6512018-04-05 23:32:27 +0300699 <descriptors>
700 <descriptor>${project.basedir}/normatives.xml</descriptor>
701 </descriptors>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200702 </configuration>
703 </execution>
704 </executions>
705 </plugin>
706 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300707 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200708 <artifactId>maven-clean-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200709 <executions>
710 <execution>
711 <id>clean.sdc.backend.folder</id>
712 <phase>clean</phase>
713 <goals>
714 <goal>clean</goal>
715 </goals>
716 <configuration>
717 <filesets>
718 <!-- static configuration files -->
719 <fileset>
720 <directory>
721 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
722 </directory>
723 <followSymlinks>false</followSymlinks>
724 <includes>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200725 <include>error-configuration.yaml</include>
726 <include>ecomp-error-configuration.yaml</include>
727 <include>logback.xml</include>
728 </includes>
729 </fileset>
730 <!-- BE WAR's -->
731 <fileset>
732 <directory>${project.parent.basedir}/catalog-be/sdc-backend</directory>
733 <followSymlinks>false</followSymlinks>
734 <includes>
735 <include>*.war</include>
736 </includes>
737 </fileset>
738 <fileset>
739 <directory>
740 ${project.basedir}/sdc-backend-init/chef-repo/cookbooks/sdc-normatives/files/default
741 </directory>
742 <followSymlinks>false</followSymlinks>
743 <includes>
744 <include>normatives.tar.gz</include>
745 </includes>
746 </fileset>
Michael Lando451a3402017-02-19 10:28:42 +0200747
748
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200749 </filesets>
750 </configuration>
751 </execution>
Michael Lando5b593492018-07-29 16:13:45 +0300752
Michael Landoa5445102018-03-04 14:53:33 +0200753 <execution>
Michael Lando5b593492018-07-29 16:13:45 +0300754 <id>clean-static-files</id>
755 <phase>clean</phase>
756 <goals>
757 <goal>clean</goal>
758 </goals>
759 <configuration>
760 <filesets>
761 <!-- tosca files -->
762 <fileset>
763 <directory>${project.parent.basedir}/asdctool/tosca</directory>
764 <followSymlinks>false</followSymlinks>
765 </fileset>
766 </filesets>
767 </configuration>
768 </execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200769 </executions>
770 </plugin>
Michael Lando5b593492018-07-29 16:13:45 +0300771 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300772 <groupId>org.apache.maven.plugins</groupId>
Michael Lando5b593492018-07-29 16:13:45 +0300773 <artifactId>maven-resources-plugin</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300774 <executions>
775 <execution>
776 <id>copy-static-configuration-files</id>
777 <phase>verify</phase>
778 <goals>
779 <goal>copy-resources</goal>
780 </goals>
781 <configuration>
Yuli Shlosbergaf70a202018-09-25 17:16:48 +0300782 <outputDirectory>
783 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
784 </outputDirectory>
Michael Lando5b593492018-07-29 16:13:45 +0300785 <resources>
786 <resource>
Yuli Shlosbergaf70a202018-09-25 17:16:48 +0300787 <directory>${project.parent.basedir}/catalog-be/src/main/resources/config
788 </directory>
Michael Lando5b593492018-07-29 16:13:45 +0300789 <includes>
Michael Lando5b593492018-07-29 16:13:45 +0300790 <include>error-configuration.yaml</include>
791 <include>ecomp-error-configuration.yaml</include>
792 <include>logback.xml</include>
793 </includes>
794 </resource>
795 </resources>
796 </configuration>
797 </execution>
798 <execution>
799 <id>copy-tosca-folder</id>
800 <!-- here the phase you need -->
801 <phase>install</phase>
802 <goals>
803 <goal>copy-resources</goal>
804 </goals>
805 <configuration>
806 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
807 <resources>
808 <resource>
Yuli Shlosbergaf70a202018-09-25 17:16:48 +0300809 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
810 </directory>
Michael Lando5b593492018-07-29 16:13:45 +0300811 <filtering>true</filtering>
812 </resource>
813 </resources>
814 </configuration>
815 </execution>
816 </executions>
817 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200818 </plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200819
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200820 <pluginManagement>
821 <plugins>
822 <!--This plugin's configuration is used to store Eclipse m2e settings
823 only. It has no influence on the Maven build itself. -->
824 <plugin>
825 <groupId>org.eclipse.m2e</groupId>
826 <artifactId>lifecycle-mapping</artifactId>
827 <version>1.0.0</version>
828 <configuration>
829 <lifecycleMappingMetadata>
830 <pluginExecutions>
831 <pluginExecution>
832 <pluginExecutionFilter>
833 <groupId>com.googlecode.maven-download-plugin</groupId>
834 <artifactId>download-maven-plugin</artifactId>
835 <versionRange>[1.2.1,)</versionRange>
836 <goals>
837 <goal>wget</goal>
838 </goals>
839 </pluginExecutionFilter>
840 <action>
841 <ignore></ignore>
842 </action>
843 </pluginExecution>
Michael Lando451a3402017-02-19 10:28:42 +0200844
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200845 <pluginExecution>
846 <pluginExecutionFilter>
847 <groupId>com.jcabi</groupId>
848 <artifactId>jcabi-maven-plugin</artifactId>
849 <versionRange>[0.0,)</versionRange>
850 <goals>
851 <goal>ajc</goal>
852 </goals>
853 </pluginExecutionFilter>
854 <action>
855 <execute/>
856 </action>
857 </pluginExecution>
858
859 </pluginExecutions>
860 </lifecycleMappingMetadata>
861 </configuration>
862 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200863 </plugins>
864 </pluginManagement>
865 <!-- Swagger Plugins End -->
866 </build>
867
868 <profiles>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200869 <profile>
870 <id>docker-staging</id>
871 <properties>
872 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
873 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
874 </properties>
875 </profile>
876
877 <profile>
878 <id>docker</id>
879 <activation>
880 <activeByDefault>false</activeByDefault>
881 </activation>
882 <build>
883 <plugins>
884 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300885 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200886 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200887 <executions>
888 <execution>
889 <id>copy-resources-apidocs</id>
890 <phase>verify</phase>
891 <goals>
892 <goal>copy-resources</goal>
893 </goals>
894 <configuration>
895 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
896 <resources>
897 <resource>
898 <directory>
Gautam Shah09a41f52018-04-11 19:55:29 +0530899 ${project.parent.basedir}/openecomp-be/tools/swagger-ui/target/api-docs
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200900 </directory>
901 <includes>
902 <include>api-docs.war</include>
903 </includes>
904 </resource>
905 </resources>
906 </configuration>
907 </execution>
908
909 <execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200910 <id>copy-resources-be</id>
911 <phase>verify</phase>
912 <goals>
913 <goal>copy-resources</goal>
914 </goals>
915 <configuration>
916 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
917 <resources>
918 <resource>
919 <directory>${project.parent.basedir}/catalog-be/target</directory>
920 <includes>
921 <include>catalog-be-${project.version}.war</include>
922 </includes>
923 </resource>
924 <resource>
925 <directory>
926 ${project.parent.basedir}/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/target
927 </directory>
928 <includes>
929 <include>onboarding-be-${project.version}.war</include>
930 </includes>
931 </resource>
932 </resources>
933 </configuration>
934 </execution>
935 <execution>
936 <id>copy-normatives</id>
937 <phase>verify</phase>
938 <goals>
939 <goal>copy-resources</goal>
940 </goals>
941 <configuration>
Yuli Shlosbergaf70a202018-09-25 17:16:48 +0300942 <outputDirectory>
943 sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
944 </outputDirectory>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200945 <resources>
946 <resource>
947 <directory>${project.parent.basedir}/catalog-be/target</directory>
948 <includes>
949 <include>normatives.tar.gz</include>
950 </includes>
951 </resource>
952 </resources>
953 </configuration>
954 </execution>
955 </executions>
956 </plugin>
957 <plugin>
958 <groupId>io.fabric8</groupId>
959 <artifactId>docker-maven-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200960 <configuration>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200961 <apiVersion>1.23</apiVersion>
962 <registry>nexus3.onap.org:10001</registry>
963 <authConfig>
964 <pull>
965 <username>docker</username>
966 <password>docker</password>
967 </pull>
968 </authConfig>
969 <images>
970
971 <!-- Build backend image -->
972 <image>
973 <name>onap/sdc-backend</name>
974 <alias>sdc-backend</alias>
975 <build>
976 <cleanup>try</cleanup>
977 <dockerFileDir>${project.basedir}/sdc-backend</dockerFileDir>
978 <tags>
979 <tag>${docker.tag}</tag>
Yuli Shlosbergaf70a202018-09-25 17:16:48 +0300980 <tag>
981 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
982 </tag>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200983 </tags>
984 </build>
985 </image>
986 <!-- Build backend-init image -->
987 <image>
988 <name>onap/sdc-backend-init</name>
989 <alias>sdc-backend-init</alias>
990 <build>
991 <cleanup>try</cleanup>
992 <dockerFileDir>${project.basedir}/sdc-backend-init</dockerFileDir>
993 <tags>
994 <tag>${docker.tag}</tag>
Yuli Shlosbergaf70a202018-09-25 17:16:48 +0300995 <tag>
996 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
997 </tag>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200998 </tags>
999 </build>
1000 </image>
1001 </images>
1002 </configuration>
1003 <executions>
1004 <execution>
1005 <id>clean-images</id>
1006 <phase>pre-clean</phase>
1007 <goals>
1008 <goal>remove</goal>
1009 </goals>
1010 <configuration>
1011 <removeAll>true</removeAll>
1012 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1013 </configuration>
1014 </execution>
1015
1016 <execution>
1017 <id>generate-images</id>
1018 <phase>install</phase>
1019 <goals>
1020 <goal>build</goal>
1021 </goals>
1022 </execution>
1023
1024 <execution>
1025 <id>push-images</id>
1026 <phase>deploy</phase>
1027 <goals>
1028 <goal>push</goal>
1029 </goals>
1030 <configuration>
1031 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1032 </configuration>
1033 </execution>
1034 </executions>
1035 </plugin>
1036 </plugins>
1037 </build>
1038 </profile>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02001039 </profiles>
dekstroza37843cb2018-05-18 14:42:24 +01001040</project>