blob: ab982d76c33290a2af333f1a0807f249f73e65f1 [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 Lando17873c42018-05-27 09:07:08 +030011 <version>1.2.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>
670
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200671 </dependencies>
Yuli Shlosberge4669312018-04-26 15:48:26 +0300672
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200673 <build>
Michael Lando451a3402017-02-19 10:28:42 +0200674
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200675 <finalName>${project.artifactId}-${project.version}</finalName>
Michael Lando451a3402017-02-19 10:28:42 +0200676
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200677 <plugins>
678 <plugin>
679 <groupId>org.apache.maven.plugins</groupId>
680 <artifactId>maven-war-plugin</artifactId>
681 <version>2.6</version>
682 <configuration>
683 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
684 WEB-INF/classes/elasticsearch.yml,
685 WEB-INF/classes/portal.properties
686 </packagingExcludes>
687 <archive>
688 <manifestEntries>
689 <SDC-Version>${project.version}</SDC-Version>
690 </manifestEntries>
691 <manifest>
692 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
693 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
694 </manifest>
695 </archive>
Michael Lando451a3402017-02-19 10:28:42 +0200696
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200697 <webResources>
698 <resource>
699 <directory>src/main/resources</directory>
700 <directory>src/main/resources/swagger</directory>
701 </resource>
702 </webResources>
703 <attachClasses>true</attachClasses>
704 </configuration>
705 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300706
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200707 <plugin>
Michael Landoa5445102018-03-04 14:53:33 +0200708 <groupId>org.apache.maven.plugins</groupId>
709 <artifactId>maven-dependency-plugin</artifactId>
710 <executions>
711 <execution>
712 <id>copy-dependencies</id>
713 <phase>package</phase>
714 <goals>
715 <goal>copy-dependencies</goal>
716 </goals>
717 <configuration>
718 <includeScope>compile</includeScope>
719 </configuration>
720 </execution>
Michael Landoa5445102018-03-04 14:53:33 +0200721 </executions>
722 </plugin>
723
724 <plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200725 <groupId>com.jcabi</groupId>
726 <artifactId>jcabi-maven-plugin</artifactId>
727 <version>${jcabi.plugin.version}</version>
728 <executions>
729 <execution>
730 <goals>
731 <goal>ajc</goal>
732 </goals>
733 </execution>
734 </executions>
735 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300736
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200737 <plugin>
Michael Landoa5445102018-03-04 14:53:33 +0200738 <artifactId>maven-resources-plugin</artifactId>
739 <version>2.6</version>
740 <executions>
741 <execution>
Michael Landoa5445102018-03-04 14:53:33 +0200742 <id>copy-tosca-folder</id>
743 <!-- here the phase you need -->
744 <phase>install</phase>
745 <goals>
746 <goal>copy-resources</goal>
747 </goals>
748 <configuration>
749 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
750 <resources>
751 <resource>
752 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
753 <filtering>true</filtering>
754 </resource>
755 </resources>
756 </configuration>
757 </execution>
758 </executions>
759 </plugin>
760
761 <plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200762 <groupId>org.apache.maven.plugins</groupId>
763 <artifactId>maven-assembly-plugin</artifactId>
764 <executions>
765 <execution>
766 <id>normatives</id>
767 <phase>package</phase>
768 <goals>
769 <goal>single</goal>
770 </goals>
771 <configuration>
772 <finalName>normatives</finalName>
773 <appendAssemblyId>false</appendAssemblyId>
Michael Lando02ab6512018-04-05 23:32:27 +0300774 <descriptors>
775 <descriptor>${project.basedir}/normatives.xml</descriptor>
776 </descriptors>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200777 </configuration>
778 </execution>
779 </executions>
780 </plugin>
781 <plugin>
782 <artifactId>maven-clean-plugin</artifactId>
783 <version>3.0.0</version>
784 <executions>
785 <execution>
786 <id>clean.sdc.backend.folder</id>
787 <phase>clean</phase>
788 <goals>
789 <goal>clean</goal>
790 </goals>
791 <configuration>
792 <filesets>
793 <!-- static configuration files -->
794 <fileset>
795 <directory>
796 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
797 </directory>
798 <followSymlinks>false</followSymlinks>
799 <includes>
800 <include>Artifact-Generator.properties</include>
801 <include>error-configuration.yaml</include>
802 <include>ecomp-error-configuration.yaml</include>
803 <include>logback.xml</include>
804 </includes>
805 </fileset>
806 <!-- BE WAR's -->
807 <fileset>
808 <directory>${project.parent.basedir}/catalog-be/sdc-backend</directory>
809 <followSymlinks>false</followSymlinks>
810 <includes>
811 <include>*.war</include>
812 </includes>
813 </fileset>
814 <fileset>
815 <directory>
816 ${project.basedir}/sdc-backend-init/chef-repo/cookbooks/sdc-normatives/files/default
817 </directory>
818 <followSymlinks>false</followSymlinks>
819 <includes>
820 <include>normatives.tar.gz</include>
821 </includes>
822 </fileset>
Michael Lando451a3402017-02-19 10:28:42 +0200823
824
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200825 </filesets>
826 </configuration>
827 </execution>
Michael Landoa5445102018-03-04 14:53:33 +0200828
829 <execution>
830 <id>clean-static-files</id>
831 <phase>clean</phase>
832 <goals>
833 <goal>clean</goal>
834 </goals>
835 <configuration>
836 <filesets>
837 <!-- tosca files -->
838 <fileset>
839 <directory>${project.parent.basedir}/asdctool/tosca</directory>
840 <followSymlinks>false</followSymlinks>
841 </fileset>
Michael Landoa5445102018-03-04 14:53:33 +0200842 </filesets>
843 </configuration>
844 </execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200845 </executions>
846 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200847
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200848 </plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200849
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200850 <pluginManagement>
851 <plugins>
852 <!--This plugin's configuration is used to store Eclipse m2e settings
853 only. It has no influence on the Maven build itself. -->
854 <plugin>
855 <groupId>org.eclipse.m2e</groupId>
856 <artifactId>lifecycle-mapping</artifactId>
857 <version>1.0.0</version>
858 <configuration>
859 <lifecycleMappingMetadata>
860 <pluginExecutions>
861 <pluginExecution>
862 <pluginExecutionFilter>
863 <groupId>com.googlecode.maven-download-plugin</groupId>
864 <artifactId>download-maven-plugin</artifactId>
865 <versionRange>[1.2.1,)</versionRange>
866 <goals>
867 <goal>wget</goal>
868 </goals>
869 </pluginExecutionFilter>
870 <action>
871 <ignore></ignore>
872 </action>
873 </pluginExecution>
Michael Lando451a3402017-02-19 10:28:42 +0200874
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200875 <pluginExecution>
876 <pluginExecutionFilter>
877 <groupId>com.jcabi</groupId>
878 <artifactId>jcabi-maven-plugin</artifactId>
879 <versionRange>[0.0,)</versionRange>
880 <goals>
881 <goal>ajc</goal>
882 </goals>
883 </pluginExecutionFilter>
884 <action>
885 <execute/>
886 </action>
887 </pluginExecution>
888
889 </pluginExecutions>
890 </lifecycleMappingMetadata>
891 </configuration>
892 </plugin>
893 <plugin>
894 <groupId>org.apache.maven.plugins</groupId>
895 <artifactId>maven-deploy-plugin</artifactId>
896 <version>2.7</version>
897 <configuration>
898 <skip>true</skip>
899 </configuration>
900 </plugin>
901 </plugins>
902 </pluginManagement>
903 <!-- Swagger Plugins End -->
904 </build>
905
906 <profiles>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200907 <profile>
908 <id>docker-staging</id>
909 <properties>
910 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
911 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
912 </properties>
913 </profile>
914
915 <profile>
916 <id>docker</id>
917 <activation>
918 <activeByDefault>false</activeByDefault>
919 </activation>
920 <build>
921 <plugins>
922 <plugin>
923 <artifactId>maven-resources-plugin</artifactId>
924 <version>3.0.2</version>
925 <executions>
926 <execution>
927 <id>copy-resources-apidocs</id>
928 <phase>verify</phase>
929 <goals>
930 <goal>copy-resources</goal>
931 </goals>
932 <configuration>
933 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
934 <resources>
935 <resource>
936 <directory>
Gautam Shah09a41f52018-04-11 19:55:29 +0530937 ${project.parent.basedir}/openecomp-be/tools/swagger-ui/target/api-docs
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200938 </directory>
939 <includes>
940 <include>api-docs.war</include>
941 </includes>
942 </resource>
943 </resources>
944 </configuration>
945 </execution>
946
947 <execution>
948 <id>copy-static-configuration-files</id>
949 <phase>verify</phase>
950 <goals>
951 <goal>copy-resources</goal>
952 </goals>
953 <configuration>
954 <outputDirectory>${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default</outputDirectory>
955 <resources>
956 <resource>
957 <directory>${project.parent.basedir}/catalog-be/src/main/resources/config</directory>
958 <includes>
959 <include>Artifact-Generator.properties</include>
960 <include>error-configuration.yaml</include>
961 <include>ecomp-error-configuration.yaml</include>
962 <include>logback.xml</include>
963 </includes>
964 </resource>
965 </resources>
966 </configuration>
967 </execution>
968
969 <execution>
970 <id>copy-resources-be</id>
971 <phase>verify</phase>
972 <goals>
973 <goal>copy-resources</goal>
974 </goals>
975 <configuration>
976 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
977 <resources>
978 <resource>
979 <directory>${project.parent.basedir}/catalog-be/target</directory>
980 <includes>
981 <include>catalog-be-${project.version}.war</include>
982 </includes>
983 </resource>
984 <resource>
985 <directory>
986 ${project.parent.basedir}/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/target
987 </directory>
988 <includes>
989 <include>onboarding-be-${project.version}.war</include>
990 </includes>
991 </resource>
992 </resources>
993 </configuration>
994 </execution>
995 <execution>
996 <id>copy-normatives</id>
997 <phase>verify</phase>
998 <goals>
999 <goal>copy-resources</goal>
1000 </goals>
1001 <configuration>
1002 <outputDirectory>sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default</outputDirectory>
1003 <resources>
1004 <resource>
1005 <directory>${project.parent.basedir}/catalog-be/target</directory>
1006 <includes>
1007 <include>normatives.tar.gz</include>
1008 </includes>
1009 </resource>
1010 </resources>
1011 </configuration>
1012 </execution>
1013 </executions>
1014 </plugin>
1015 <plugin>
1016 <groupId>io.fabric8</groupId>
1017 <artifactId>docker-maven-plugin</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +02001018 <version>${fabric8.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02001019
1020 <configuration>
1021 <verbose>true</verbose>
1022 <apiVersion>1.23</apiVersion>
1023 <registry>nexus3.onap.org:10001</registry>
1024 <authConfig>
1025 <pull>
1026 <username>docker</username>
1027 <password>docker</password>
1028 </pull>
1029 </authConfig>
1030 <images>
1031
1032 <!-- Build backend image -->
1033 <image>
1034 <name>onap/sdc-backend</name>
1035 <alias>sdc-backend</alias>
1036 <build>
1037 <cleanup>try</cleanup>
1038 <dockerFileDir>${project.basedir}/sdc-backend</dockerFileDir>
1039 <tags>
1040 <tag>${docker.tag}</tag>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02001041 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
1042 </tags>
1043 </build>
1044 </image>
1045 <!-- Build backend-init image -->
1046 <image>
1047 <name>onap/sdc-backend-init</name>
1048 <alias>sdc-backend-init</alias>
1049 <build>
1050 <cleanup>try</cleanup>
1051 <dockerFileDir>${project.basedir}/sdc-backend-init</dockerFileDir>
1052 <tags>
1053 <tag>${docker.tag}</tag>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02001054 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
1055 </tags>
1056 </build>
1057 </image>
1058 </images>
1059 </configuration>
1060 <executions>
1061 <execution>
1062 <id>clean-images</id>
1063 <phase>pre-clean</phase>
1064 <goals>
1065 <goal>remove</goal>
1066 </goals>
1067 <configuration>
1068 <removeAll>true</removeAll>
1069 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1070 </configuration>
1071 </execution>
1072
1073 <execution>
1074 <id>generate-images</id>
1075 <phase>install</phase>
1076 <goals>
1077 <goal>build</goal>
1078 </goals>
1079 </execution>
1080
1081 <execution>
1082 <id>push-images</id>
1083 <phase>deploy</phase>
1084 <goals>
1085 <goal>push</goal>
1086 </goals>
1087 <configuration>
1088 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1089 </configuration>
1090 </execution>
1091 </executions>
1092 </plugin>
1093 </plugins>
1094 </build>
1095 </profile>
1096
1097
1098 </profiles>
Michael Lando451a3402017-02-19 10:28:42 +02001099</project>