blob: 60a10084cd01f6a77cc41475a20083ce48d78429 [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 Shlosberg958c32d2018-02-15 12:04:46 +02002 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <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>
Michael Landod8a0dea2018-06-02 19:23:27 +030011 <version>1.3.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>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020015 </properties>
Michael Lando451a3402017-02-19 10:28:42 +020016
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020017 <dependencies>
18 <!--JSON and YAML Parsing-->
19 <dependency>
20 <groupId>com.fasterxml.jackson.dataformat</groupId>
21 <artifactId>jackson-dataformat-yaml</artifactId>
22 <version>${jackson.yaml.version}</version>
23 <scope>compile</scope>
24 </dependency>
Michael Landoc34b77c2017-02-28 19:03:11 +020025
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020026 <dependency>
27 <groupId>com.fasterxml.jackson.core</groupId>
28 <artifactId>jackson-databind</artifactId>
29 <version>${jackson.version}</version>
30 <scope>compile</scope>
31 </dependency>
Michael Landoc0ac0152017-02-27 23:48:43 +020032
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020033 <dependency>
34 <groupId>com.fasterxml.jackson.core</groupId>
35 <artifactId>jackson-core</artifactId>
36 <version>${jackson.version}</version>
37 <scope>compile</scope>
38 </dependency>
Michael Landoc0ac0152017-02-27 23:48:43 +020039
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020040 <dependency>
41 <groupId>com.fasterxml.jackson.core</groupId>
42 <artifactId>jackson-annotations</artifactId>
43 <version>${jackson.annotations.version}</version>
44 <scope>compile</scope>
45 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +030046
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020047 <dependency>
48 <groupId>org.glassfish.jersey.media</groupId>
49 <artifactId>jersey-media-multipart</artifactId>
50 <version>${jersey-bom.version}</version>
51 <scope>compile</scope>
52 </dependency>
Michael Landoc0ac0152017-02-27 23:48:43 +020053
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020054 <dependency>
55 <groupId>org.openecomp.sdc</groupId>
56 <artifactId>security-utils</artifactId>
57 <version>${project.version}</version>
58 <scope>compile</scope>
59 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020060
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020061 <dependency>
62 <groupId>com.tinkerpop.blueprints</groupId>
63 <artifactId>blueprints-sail-graph</artifactId>
64 <version>2.5.0</version>
65 <optional>true</optional>
66 <exclusions>
67 <exclusion>
68 <groupId>org.slf4j</groupId>
69 <artifactId>slf4j-log4j12</artifactId>
70 </exclusion>
71 </exclusions>
72 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020073
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020074 <dependency>
75 <groupId>com.tinkerpop.blueprints</groupId>
76 <artifactId>blueprints-graph-sail</artifactId>
77 <version>2.5.0</version>
78 <optional>true</optional>
79 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020080
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020081 <!-- Swagger Dependencies Start -->
82 <dependency>
83 <groupId>io.swagger</groupId>
84 <artifactId>swagger-jersey2-jaxrs</artifactId>
85 <scope>compile</scope>
Michael Landocb1b7da2018-05-22 20:43:41 +030086 <version>1.5.15</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020087 </dependency>
88 <!-- Swagger Dependencies End -->
Tal Gitelmaned7e1c32017-06-29 19:30:00 +030089
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020090 <dependency>
91 <groupId>org.openecomp.sdc</groupId>
92 <artifactId>common-app-api</artifactId>
93 <version>${project.version}</version>
94 <scope>compile</scope>
95 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020096
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020097 <dependency>
98 <groupId>org.openecomp.sdc.be</groupId>
99 <artifactId>common-be</artifactId>
100 <version>${project.version}</version>
101 <scope>compile</scope>
102 </dependency>
103 <dependency>
104 <groupId>org.openecomp.sdc.be</groupId>
105 <artifactId>catalog-dao</artifactId>
106 <version>${project.version}</version>
107 <scope>compile</scope>
108 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200109
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200110 <dependency>
111 <groupId>org.openecomp.sdc.be</groupId>
112 <artifactId>catalog-model</artifactId>
113 <version>${project.version}</version>
114 <scope>compile</scope>
115 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200116
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200117 <dependency>
118 <groupId>ch.qos.logback</groupId>
119 <artifactId>logback-classic</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200120 <version>${logback.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200121 <scope>compile</scope>
122 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200123
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200124 <!-- Snake Yaml -->
125 <dependency>
126 <groupId>org.yaml</groupId>
127 <artifactId>snakeyaml</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200128 <version>${snakeyaml.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200129 <scope>compile</scope>
130 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200131
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200132 <!-- File changes listener -->
133 <dependency>
134 <groupId>org.apache.commons</groupId>
135 <artifactId>commons-jci-core</artifactId>
136 <version>${commons-jci-core.version}</version>
137 <scope>compile</scope>
138 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200139
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200140 <!-- Gson -->
141 <dependency>
142 <groupId>com.google.code.gson</groupId>
143 <artifactId>gson</artifactId>
144 <version>${gson.version}</version>
145 <scope>compile</scope>
146 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200147
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200148 <!-- jersey -->
149 <dependency>
150 <groupId>org.glassfish.jersey.media</groupId>
151 <artifactId>jersey-media-json-jackson</artifactId>
152 <version>${jersey-bom.version}</version>
153 <scope>compile</scope>
154 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200155
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200156 <dependency>
157 <groupId>org.glassfish.jersey.containers</groupId>
158 <artifactId>jersey-container-servlet-core</artifactId>
159 <version>${jersey-bom.version}</version>
160 <scope>compile</scope>
161 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200162
Michael Landoa5445102018-03-04 14:53:33 +0200163 <dependency>
164 <groupId>org.glassfish.jersey.ext</groupId>
165 <artifactId>jersey-spring4</artifactId>
166 <version>${jersey-bom.version}</version>
167 <exclusions>
168 <exclusion>
169 <groupId>org.springframework</groupId>
170 <artifactId>spring-web</artifactId>
171 </exclusion>
172 <exclusion>
173 <groupId>org.springframework</groupId>
174 <artifactId>spring-beans</artifactId>
175 </exclusion>
176 <exclusion>
177 <groupId>org.springframework</groupId>
178 <artifactId>spring-core</artifactId>
179 </exclusion>
180 <exclusion>
181 <groupId>org.springframework</groupId>
182 <artifactId>spring-aop</artifactId>
183 </exclusion>
184 <!-- Transitive dependency of spring-bridge -->
185 <exclusion>
186 <groupId>org.springframework</groupId>
187 <artifactId>spring-context</artifactId>
188 </exclusion>
189 </exclusions>
190
191 </dependency>
192
193 <!--asm-all-repackaged is a jersey dependency. in current version jersey depends on a version that was compiled using java 9 compiler
194 currently our jetty (v9.3.6) does not support java 9. as soon as jetty gets upgraded we will remove this dependency-->
195 <dependency>
196 <groupId>org.glassfish.hk2.external</groupId>
197 <artifactId>asm-all-repackaged</artifactId>
198 </dependency>
199
200 <dependency>
201 <groupId>org.glassfish.jersey.ext</groupId>
202 <artifactId>jersey-bean-validation</artifactId>
203 </dependency>
204
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200205 <!-- http client -->
206 <dependency>
207 <groupId>org.apache.httpcomponents</groupId>
208 <artifactId>httpclient</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200209 <version>${httpclient.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200210 <scope>compile</scope>
211 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200212
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200213 <dependency>
214 <groupId>org.apache.httpcomponents</groupId>
215 <artifactId>httpcore</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200216 <version>${httpcore.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200217 <scope>compile</scope>
218 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200219
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200220 <dependency>
221 <groupId>commons-logging</groupId>
222 <artifactId>commons-logging</artifactId>
223 <version>${commons-logging}</version>
224 <scope>compile</scope>
225 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200226
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200227 <dependency>
228 <groupId>commons-codec</groupId>
229 <artifactId>commons-codec</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200230 <version>${commons-codec}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200231 <scope>compile</scope>
232 </dependency>
233 <!-- http client END -->
Michael Lando451a3402017-02-19 10:28:42 +0200234
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200235 <dependency>
236 <groupId>javax.servlet</groupId>
237 <artifactId>servlet-api</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200238 <version>${servlet-api.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200239 <scope>provided</scope>
240 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200241
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200242 <dependency>
243 <groupId>org.eclipse.jgit</groupId>
244 <artifactId>org.eclipse.jgit</artifactId>
245 <version>3.4.1.201406201815-r</version>
246 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200247
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200248 <!-- spring - used by A4C -->
249 <dependency>
250 <groupId>org.springframework</groupId>
251 <artifactId>spring-core</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-context</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-web</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-webmvc</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.springframework</groupId>
279 <artifactId>spring-aop</artifactId>
280 <version>${spring.version}</version>
281 <scope>compile</scope>
282 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200283
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200284 <dependency>
285 <groupId>org.springframework</groupId>
286 <artifactId>spring-beans</artifactId>
287 <version>${spring.version}</version>
288 <scope>compile</scope>
289 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200290
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200291 <dependency>
292 <groupId>org.springframework</groupId>
293 <artifactId>spring-expression</artifactId>
294 <version>${spring.version}</version>
295 <scope>compile</scope>
296 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200297
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200298 <dependency>
299 <groupId>org.codehaus.groovy</groupId>
300 <artifactId>groovy-all</artifactId>
301 <version>${groovy.version}</version>
302 <scope>compile</scope>
303 </dependency>
Michael Landoc34b77c2017-02-28 19:03:11 +0200304
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200305 <dependency>
306 <groupId>org.codehaus.janino</groupId>
307 <artifactId>janino</artifactId>
308 <version>${janino.version}</version>
309 <scope>compile</scope>
310 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200311
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200312 <dependency>
313 <groupId>org.codehaus.janino</groupId>
314 <artifactId>commons-compiler</artifactId>
315 <version>${janino.version}</version>
316 <scope>compile</scope>
317 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200318
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200319 <dependency>
320 <groupId>com.google.guava</groupId>
321 <artifactId>guava</artifactId>
322 <version>${guava.version}</version>
323 <scope>compile</scope>
324 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200325
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200326 <!-- TITAN -->
327 <dependency>
328 <groupId>com.thinkaurelius.titan</groupId>
329 <artifactId>titan-core</artifactId>
330 <version>${titan.version}</version>
331 <scope>compile</scope>
332 <exclusions>
333 <exclusion>
334 <groupId>org.json</groupId>
335 <artifactId>json</artifactId>
336 </exclusion>
337 <exclusion>
338 <artifactId>slf4j-log4j12</artifactId>
339 <groupId>org.slf4j</groupId>
340 </exclusion>
341 </exclusions>
342 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200343
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200344 <dependency>
Michael Landode67b612018-03-15 16:53:05 +0200345 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200346 <artifactId>sdc-titan-cassandra</artifactId>
Michael Landode67b612018-03-15 16:53:05 +0200347 <version>${sdc.titan.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200348 <scope>compile</scope>
349 <exclusions>
350 <exclusion>
351 <groupId>org.slf4j</groupId>
352 <artifactId>slf4j-log4j12</artifactId>
353 </exclusion>
354 <exclusion>
355 <groupId>io.netty</groupId>
356 <artifactId>netty-all</artifactId>
357 </exclusion>
358 </exclusions>
359 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200360
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200361 <dependency>
362 <groupId>org.apache.commons</groupId>
363 <artifactId>commons-lang3</artifactId>
364 <version>${lang3.version}</version>
365 <scope>compile</scope>
366 </dependency>
367 <!-- TITAN END -->
Michael Lando451a3402017-02-19 10:28:42 +0200368
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200369 <dependency>
370 <groupId>com.googlecode.json-simple</groupId>
371 <artifactId>json-simple</artifactId>
372 <version>${json-simple.version}</version>
373 <scope>compile</scope>
Michael Lando451a3402017-02-19 10:28:42 +0200374
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200375 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200376
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200377 <dependency>
378 <groupId>org.elasticsearch</groupId>
379 <artifactId>elasticsearch</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200380 <version>${elastic-search.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200381 <scope>compile</scope>
382 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200383
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200384 <dependency>
385 <groupId>org.elasticsearch.plugin</groupId>
386 <artifactId>shield</artifactId>
387 <version>${elastic-search.version}</version>
388 <scope>compile</scope>
389 </dependency>
390 <!-- functional java -->
391 <dependency>
392 <groupId>org.functionaljava</groupId>
393 <artifactId>functionaljava</artifactId>
394 <version>${functionaljava.version}</version>
395 <scope>compile</scope>
396 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200397
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200398 <!-- Aspects -->
399 <dependency>
400 <groupId>com.jcabi</groupId>
401 <artifactId>jcabi-aspects</artifactId>
402 <version>${jcabi.version}</version>
403 <scope>compile</scope>
404 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200405
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200406 <dependency>
407 <groupId>org.aspectj</groupId>
408 <artifactId>aspectjrt</artifactId>
409 <version>${aspectjrt.version}</version>
410 <scope>compile</scope>
411 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200412
Michael Landoa5445102018-03-04 14:53:33 +0200413
414
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200415 <!-- CAMBRIA CLIENT for U-EB -->
416 <dependency>
417 <groupId>com.att.nsa</groupId>
418 <artifactId>cambriaClient</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200419 <version>1.2.1-oss</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200420 <scope>compile</scope>
421 <exclusions>
422 <exclusion>
Michael Landoa5445102018-03-04 14:53:33 +0200423 <groupId>com.att.nsa</groupId>
424 <artifactId>saClientLibrary</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200425 </exclusion>
426 </exclusions>
427 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200428
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200429 <dependency>
430 <groupId>org.json</groupId>
431 <artifactId>json</artifactId>
432 <version>20131018</version>
433 <scope>compile</scope>
434 </dependency>
435 <dependency>
436 <groupId>org.apache.tinkerpop</groupId>
437 <artifactId>tinkergraph-gremlin</artifactId>
438 <version>3.0.1-incubating</version>
439 <scope>compile</scope>
440 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200441
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200442 <dependency>
443 <groupId>org.apache.tinkerpop</groupId>
444 <artifactId>gremlin-groovy</artifactId>
445 <version>3.0.1-incubating</version>
446 <scope>compile</scope>
447 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200448
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200449 <!-- CASSANDRA -->
450 <dependency>
451 <groupId>com.datastax.cassandra</groupId>
452 <artifactId>cassandra-driver-core</artifactId>
453 <version>${cassandra.driver.version}</version>
454 <scope>compile</scope>
455 </dependency>
456 <dependency>
457 <groupId>com.datastax.cassandra</groupId>
458 <artifactId>cassandra-driver-mapping</artifactId>
459 <version>${cassandra.driver.version}</version>
460 <scope>compile</scope>
461 </dependency>
462 <!-- CASSANDRA END -->
Michael Lando451a3402017-02-19 10:28:42 +0200463
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200464 <!-- Inserted for ECOMP Portal Integration -->
465 <dependency>
466 <groupId>org.openecomp.ecompsdkos</groupId>
467 <artifactId>epsdk-fw</artifactId>
468 <version>${ecomp.version}</version>
469 <scope>compile</scope>
470 <exclusions>
471 <exclusion>
472 <groupId>com.att.nsa</groupId>
473 <artifactId>cambriaClient</artifactId>
474 </exclusion>
475 <exclusion>
476 <artifactId>slf4j-log4j12</artifactId>
477 <groupId>org.slf4j</groupId>
478 </exclusion>
479 </exclusions>
480 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200481
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200482 <!--Artifact Generator-->
483 <dependency>
amitjai42c920b2018-04-27 13:28:57 +0530484 <groupId>org.onap.sdc.common</groupId>
485 <artifactId>onap-sdc-artifact-generator-api</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200486 <version>${artifact-generator-api.version}</version>
487 <scope>compile</scope>
488 <exclusions>
489 <exclusion>
490 <groupId>junit</groupId>
491 <artifactId>junit</artifactId>
492 </exclusion>
493 </exclusions>
494 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200495
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200496 <dependency>
amitjai42c920b2018-04-27 13:28:57 +0530497 <groupId>org.onap.sdc.common</groupId>
498 <artifactId>onap-sdc-artifact-generator-core</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200499 <version>${artifact-generator-core.version}</version>
500 <scope>compile</scope>
501 <exclusions>
502 <exclusion>
503 <groupId>junit</groupId>
504 <artifactId>junit</artifactId>
505 </exclusion>
506 </exclusions>
507 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200508
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200509 <dependency>
amitjai42c920b2018-04-27 13:28:57 +0530510 <groupId>org.onap.sdc.common</groupId>
511 <artifactId>onap-common-lib</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200512 <version>${dox-common-lib.version}</version>
513 <type>pom</type>
514 <exclusions>
515 <exclusion>
516 <groupId>junit</groupId>
517 <artifactId>junit</artifactId>
518 </exclusion>
519 </exclusions>
520 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200521
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200522 <!--Jetty Proxy-->
523 <dependency>
524 <groupId>org.eclipse.jetty</groupId>
525 <artifactId>jetty-proxy</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300526 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200527 <scope>compile</scope>
528 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200529
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200530 <dependency>
531 <groupId>org.eclipse.jetty</groupId>
532 <artifactId>jetty-servlets</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300533 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200534 <scope>compile</scope>
535 </dependency>
536 <!-- System metrics -->
537 <dependency>
538 <groupId>org.fusesource</groupId>
539 <artifactId>sigar</artifactId>
540 <version>${sigar.version}</version>
541 <scope>compile</scope>
542 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200543
Michael Landoa5445102018-03-04 14:53:33 +0200544 <dependency>
545 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
546 <artifactId>dmaapClient</artifactId>
Idan Amita65b55d2018-03-14 09:59:41 +0200547 <version>1.1.3</version>
Michael Landoa5445102018-03-04 14:53:33 +0200548 <scope>compile</scope>
549 <exclusions>
550 <exclusion>
551 <groupId>com.att.aft</groupId>
552 <artifactId>dme2</artifactId>
553 </exclusion>
554 </exclusions>
555 </dependency>
556 <dependency>
557 <groupId>com.att.aft</groupId>
558 <artifactId>dme2</artifactId>
559 <version>3.1.200-oss</version>
560 </dependency>
561
562 <dependency>
563 <groupId>javax.jms</groupId>
564 <artifactId>jms</artifactId>
565 <version>1.1</version>
566 <scope>provided</scope>
567 </dependency>
568
569 <dependency>
570 <groupId>javax.servlet</groupId>
571 <artifactId>javax.servlet-api</artifactId>
572 <version>3.1.0</version>
573 <scope>provided</scope>
574 </dependency>
575
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200576 <!-- TEST -->
577 <dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200578 <groupId>org.assertj</groupId>
579 <artifactId>assertj-core</artifactId>
580 <scope>test</scope>
581 </dependency>
582
583 <dependency>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200584 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
585 <artifactId>jersey-test-framework-provider-bundle</artifactId>
586 <version>${jersey-bom.version}</version>
587 <type>pom</type>
588 <scope>test</scope>
589 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200590
Michael Landoa5445102018-03-04 14:53:33 +0200591 <!--<dependency>-->
592 <!--<groupId>org.glassfish.jersey.test-framework.providers</groupId>-->
593 <!--<artifactId>jersey-test-framework-provider-inmemory</artifactId>-->
594 <!--<version>${jersey-bom.version}</version>-->
595 <!--<scope>test</scope>-->
596 <!--</dependency>-->
597
598 <dependency>
599 <groupId>org.glassfish.jersey.core</groupId>
600 <artifactId>jersey-client</artifactId>
601 <version>${jersey-bom.version}</version>
602 <!--<scope>test</scope>-->
603 </dependency>
604
605 <dependency>
606 <groupId>com.github.tomakehurst</groupId>
607 <artifactId>wiremock</artifactId>
608 <scope>test</scope>
609 </dependency>
610
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200611 <dependency>
612 <groupId>org.eclipse.jetty</groupId>
613 <artifactId>jetty-servlet</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200614 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200615 <scope>test</scope>
616 </dependency>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200617
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200618 <dependency>
619 <groupId>org.eclipse.jetty</groupId>
620 <artifactId>jetty-webapp</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200621 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200622 <scope>test</scope>
623 </dependency>
624
625 <dependency>
626 <groupId>junit</groupId>
627 <artifactId>junit</artifactId>
628 <version>${junit.version}</version>
629 <scope>test</scope>
630 </dependency>
631
632 <dependency>
633 <groupId>org.mockito</groupId>
634 <artifactId>mockito-core</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200635 <scope>test</scope>
636 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200637
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200638 <dependency>
639 <groupId>org.springframework</groupId>
640 <artifactId>spring-test</artifactId>
641 <version>${spring.version}</version>
642 <scope>test</scope>
643 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200644
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200645 <dependency>
646 <groupId>org.springframework</groupId>
647 <artifactId>spring-tx</artifactId>
648 <version>${spring.version}</version>
649 <scope>test</scope>
650 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200651
652 <dependency>
653 <groupId>io.cucumber</groupId>
654 <artifactId>cucumber-java</artifactId>
655 <scope>test</scope>
656 </dependency>
657
658 <dependency>
659 <groupId>io.cucumber</groupId>
660 <artifactId>cucumber-junit</artifactId>
661 <scope>test</scope>
662 </dependency>
Yuli Shlosberge4669312018-04-26 15:48:26 +0300663
664 <dependency>
665 <groupId>org.jmockit</groupId>
666 <artifactId>jmockit</artifactId>
667 <version>${jmockit.version}</version>
668 <scope>test</scope>
669 </dependency>
Tal Gitelman364c0f52018-06-13 14:51:53 +0300670
671 <dependency>
672 <groupId>com.google.code.bean-matchers</groupId>
673 <artifactId>bean-matchers</artifactId>
674 <version>0.11</version>
675 <scope>test</scope>
676 </dependency>
Yuli Shlosberge4669312018-04-26 15:48:26 +0300677
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200678 </dependencies>
Yuli Shlosberge4669312018-04-26 15:48:26 +0300679
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200680 <build>
Michael Lando451a3402017-02-19 10:28:42 +0200681
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200682 <finalName>${project.artifactId}-${project.version}</finalName>
Michael Lando451a3402017-02-19 10:28:42 +0200683
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200684 <plugins>
685 <plugin>
686 <groupId>org.apache.maven.plugins</groupId>
687 <artifactId>maven-war-plugin</artifactId>
688 <version>2.6</version>
689 <configuration>
690 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
691 WEB-INF/classes/elasticsearch.yml,
692 WEB-INF/classes/portal.properties
693 </packagingExcludes>
694 <archive>
695 <manifestEntries>
696 <SDC-Version>${project.version}</SDC-Version>
697 </manifestEntries>
698 <manifest>
699 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
700 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
701 </manifest>
702 </archive>
Michael Lando451a3402017-02-19 10:28:42 +0200703
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200704 <webResources>
705 <resource>
706 <directory>src/main/resources</directory>
707 <directory>src/main/resources/swagger</directory>
708 </resource>
709 </webResources>
710 <attachClasses>true</attachClasses>
711 </configuration>
712 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300713
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200714 <plugin>
Michael Landoa5445102018-03-04 14:53:33 +0200715 <groupId>org.apache.maven.plugins</groupId>
716 <artifactId>maven-dependency-plugin</artifactId>
717 <executions>
718 <execution>
719 <id>copy-dependencies</id>
720 <phase>package</phase>
721 <goals>
722 <goal>copy-dependencies</goal>
723 </goals>
724 <configuration>
725 <includeScope>compile</includeScope>
726 </configuration>
727 </execution>
Michael Landoa5445102018-03-04 14:53:33 +0200728 </executions>
729 </plugin>
730
731 <plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200732 <groupId>com.jcabi</groupId>
733 <artifactId>jcabi-maven-plugin</artifactId>
734 <version>${jcabi.plugin.version}</version>
735 <executions>
736 <execution>
737 <goals>
738 <goal>ajc</goal>
739 </goals>
740 </execution>
741 </executions>
742 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300743
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200744 <plugin>
Michael Landoa5445102018-03-04 14:53:33 +0200745 <artifactId>maven-resources-plugin</artifactId>
746 <version>2.6</version>
747 <executions>
748 <execution>
Michael Landoa5445102018-03-04 14:53:33 +0200749 <id>copy-tosca-folder</id>
750 <!-- here the phase you need -->
751 <phase>install</phase>
752 <goals>
753 <goal>copy-resources</goal>
754 </goals>
755 <configuration>
756 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
757 <resources>
758 <resource>
759 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
760 <filtering>true</filtering>
761 </resource>
762 </resources>
763 </configuration>
764 </execution>
765 </executions>
766 </plugin>
767
768 <plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200769 <groupId>org.apache.maven.plugins</groupId>
770 <artifactId>maven-assembly-plugin</artifactId>
771 <executions>
772 <execution>
773 <id>normatives</id>
774 <phase>package</phase>
775 <goals>
776 <goal>single</goal>
777 </goals>
778 <configuration>
779 <finalName>normatives</finalName>
780 <appendAssemblyId>false</appendAssemblyId>
Michael Lando02ab6512018-04-05 23:32:27 +0300781 <descriptors>
782 <descriptor>${project.basedir}/normatives.xml</descriptor>
783 </descriptors>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200784 </configuration>
785 </execution>
786 </executions>
787 </plugin>
788 <plugin>
789 <artifactId>maven-clean-plugin</artifactId>
790 <version>3.0.0</version>
791 <executions>
792 <execution>
793 <id>clean.sdc.backend.folder</id>
794 <phase>clean</phase>
795 <goals>
796 <goal>clean</goal>
797 </goals>
798 <configuration>
799 <filesets>
800 <!-- static configuration files -->
801 <fileset>
802 <directory>
803 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
804 </directory>
805 <followSymlinks>false</followSymlinks>
806 <includes>
807 <include>Artifact-Generator.properties</include>
808 <include>error-configuration.yaml</include>
809 <include>ecomp-error-configuration.yaml</include>
810 <include>logback.xml</include>
811 </includes>
812 </fileset>
813 <!-- BE WAR's -->
814 <fileset>
815 <directory>${project.parent.basedir}/catalog-be/sdc-backend</directory>
816 <followSymlinks>false</followSymlinks>
817 <includes>
818 <include>*.war</include>
819 </includes>
820 </fileset>
821 <fileset>
822 <directory>
823 ${project.basedir}/sdc-backend-init/chef-repo/cookbooks/sdc-normatives/files/default
824 </directory>
825 <followSymlinks>false</followSymlinks>
826 <includes>
827 <include>normatives.tar.gz</include>
828 </includes>
829 </fileset>
Michael Lando451a3402017-02-19 10:28:42 +0200830
831
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200832 </filesets>
833 </configuration>
834 </execution>
Michael Landoa5445102018-03-04 14:53:33 +0200835
836 <execution>
837 <id>clean-static-files</id>
838 <phase>clean</phase>
839 <goals>
840 <goal>clean</goal>
841 </goals>
842 <configuration>
843 <filesets>
844 <!-- tosca files -->
845 <fileset>
846 <directory>${project.parent.basedir}/asdctool/tosca</directory>
847 <followSymlinks>false</followSymlinks>
848 </fileset>
Michael Landoa5445102018-03-04 14:53:33 +0200849 </filesets>
850 </configuration>
851 </execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200852 </executions>
853 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200854
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200855 </plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200856
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200857 <pluginManagement>
858 <plugins>
859 <!--This plugin's configuration is used to store Eclipse m2e settings
860 only. It has no influence on the Maven build itself. -->
861 <plugin>
862 <groupId>org.eclipse.m2e</groupId>
863 <artifactId>lifecycle-mapping</artifactId>
864 <version>1.0.0</version>
865 <configuration>
866 <lifecycleMappingMetadata>
867 <pluginExecutions>
868 <pluginExecution>
869 <pluginExecutionFilter>
870 <groupId>com.googlecode.maven-download-plugin</groupId>
871 <artifactId>download-maven-plugin</artifactId>
872 <versionRange>[1.2.1,)</versionRange>
873 <goals>
874 <goal>wget</goal>
875 </goals>
876 </pluginExecutionFilter>
877 <action>
878 <ignore></ignore>
879 </action>
880 </pluginExecution>
Michael Lando451a3402017-02-19 10:28:42 +0200881
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200882 <pluginExecution>
883 <pluginExecutionFilter>
884 <groupId>com.jcabi</groupId>
885 <artifactId>jcabi-maven-plugin</artifactId>
886 <versionRange>[0.0,)</versionRange>
887 <goals>
888 <goal>ajc</goal>
889 </goals>
890 </pluginExecutionFilter>
891 <action>
892 <execute/>
893 </action>
894 </pluginExecution>
895
896 </pluginExecutions>
897 </lifecycleMappingMetadata>
898 </configuration>
899 </plugin>
900 <plugin>
901 <groupId>org.apache.maven.plugins</groupId>
902 <artifactId>maven-deploy-plugin</artifactId>
903 <version>2.7</version>
904 <configuration>
905 <skip>true</skip>
906 </configuration>
907 </plugin>
908 </plugins>
909 </pluginManagement>
910 <!-- Swagger Plugins End -->
911 </build>
912
913 <profiles>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200914 <profile>
915 <id>docker-staging</id>
916 <properties>
917 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
918 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
919 </properties>
920 </profile>
921
922 <profile>
923 <id>docker</id>
924 <activation>
925 <activeByDefault>false</activeByDefault>
926 </activation>
927 <build>
928 <plugins>
929 <plugin>
930 <artifactId>maven-resources-plugin</artifactId>
931 <version>3.0.2</version>
932 <executions>
933 <execution>
934 <id>copy-resources-apidocs</id>
935 <phase>verify</phase>
936 <goals>
937 <goal>copy-resources</goal>
938 </goals>
939 <configuration>
940 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
941 <resources>
942 <resource>
943 <directory>
Gautam Shah09a41f52018-04-11 19:55:29 +0530944 ${project.parent.basedir}/openecomp-be/tools/swagger-ui/target/api-docs
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200945 </directory>
946 <includes>
947 <include>api-docs.war</include>
948 </includes>
949 </resource>
950 </resources>
951 </configuration>
952 </execution>
953
954 <execution>
955 <id>copy-static-configuration-files</id>
956 <phase>verify</phase>
957 <goals>
958 <goal>copy-resources</goal>
959 </goals>
960 <configuration>
961 <outputDirectory>${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default</outputDirectory>
962 <resources>
963 <resource>
964 <directory>${project.parent.basedir}/catalog-be/src/main/resources/config</directory>
965 <includes>
966 <include>Artifact-Generator.properties</include>
967 <include>error-configuration.yaml</include>
968 <include>ecomp-error-configuration.yaml</include>
969 <include>logback.xml</include>
970 </includes>
971 </resource>
972 </resources>
973 </configuration>
974 </execution>
975
976 <execution>
977 <id>copy-resources-be</id>
978 <phase>verify</phase>
979 <goals>
980 <goal>copy-resources</goal>
981 </goals>
982 <configuration>
983 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
984 <resources>
985 <resource>
986 <directory>${project.parent.basedir}/catalog-be/target</directory>
987 <includes>
988 <include>catalog-be-${project.version}.war</include>
989 </includes>
990 </resource>
991 <resource>
992 <directory>
993 ${project.parent.basedir}/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/target
994 </directory>
995 <includes>
996 <include>onboarding-be-${project.version}.war</include>
997 </includes>
998 </resource>
999 </resources>
1000 </configuration>
1001 </execution>
1002 <execution>
1003 <id>copy-normatives</id>
1004 <phase>verify</phase>
1005 <goals>
1006 <goal>copy-resources</goal>
1007 </goals>
1008 <configuration>
1009 <outputDirectory>sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default</outputDirectory>
1010 <resources>
1011 <resource>
1012 <directory>${project.parent.basedir}/catalog-be/target</directory>
1013 <includes>
1014 <include>normatives.tar.gz</include>
1015 </includes>
1016 </resource>
1017 </resources>
1018 </configuration>
1019 </execution>
1020 </executions>
1021 </plugin>
1022 <plugin>
1023 <groupId>io.fabric8</groupId>
1024 <artifactId>docker-maven-plugin</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +02001025 <version>${fabric8.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02001026
1027 <configuration>
1028 <verbose>true</verbose>
1029 <apiVersion>1.23</apiVersion>
1030 <registry>nexus3.onap.org:10001</registry>
1031 <authConfig>
1032 <pull>
1033 <username>docker</username>
1034 <password>docker</password>
1035 </pull>
1036 </authConfig>
1037 <images>
1038
1039 <!-- Build backend image -->
1040 <image>
1041 <name>onap/sdc-backend</name>
1042 <alias>sdc-backend</alias>
1043 <build>
1044 <cleanup>try</cleanup>
1045 <dockerFileDir>${project.basedir}/sdc-backend</dockerFileDir>
1046 <tags>
1047 <tag>${docker.tag}</tag>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02001048 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
1049 </tags>
1050 </build>
1051 </image>
1052 <!-- Build backend-init image -->
1053 <image>
1054 <name>onap/sdc-backend-init</name>
1055 <alias>sdc-backend-init</alias>
1056 <build>
1057 <cleanup>try</cleanup>
1058 <dockerFileDir>${project.basedir}/sdc-backend-init</dockerFileDir>
1059 <tags>
1060 <tag>${docker.tag}</tag>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02001061 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
1062 </tags>
1063 </build>
1064 </image>
1065 </images>
1066 </configuration>
1067 <executions>
1068 <execution>
1069 <id>clean-images</id>
1070 <phase>pre-clean</phase>
1071 <goals>
1072 <goal>remove</goal>
1073 </goals>
1074 <configuration>
1075 <removeAll>true</removeAll>
1076 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1077 </configuration>
1078 </execution>
1079
1080 <execution>
1081 <id>generate-images</id>
1082 <phase>install</phase>
1083 <goals>
1084 <goal>build</goal>
1085 </goals>
1086 </execution>
1087
1088 <execution>
1089 <id>push-images</id>
1090 <phase>deploy</phase>
1091 <goals>
1092 <goal>push</goal>
1093 </goals>
1094 <configuration>
1095 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1096 </configuration>
1097 </execution>
1098 </executions>
1099 </plugin>
1100 </plugins>
1101 </build>
1102 </profile>
1103
1104
1105 </profiles>
Michael Lando451a3402017-02-19 10:28:42 +02001106</project>