blob: f8c4eada946bc2d6d31439516d10b8bac311f01a [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>
11 <version>1.2.0-SNAPSHOT</version>
12 </parent>
Michael Lando451a3402017-02-19 10:28:42 +020013
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020014 <properties>
15 <swagger-ui-version>2.1.0-M2</swagger-ui-version>
16 </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>
23 <version>${jackson.yaml.version}</version>
24 <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>
35 <groupId>com.fasterxml.jackson.core</groupId>
36 <artifactId>jackson-core</artifactId>
37 <version>${jackson.version}</version>
38 <scope>compile</scope>
39 </dependency>
Michael Landoc0ac0152017-02-27 23:48:43 +020040
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020041 <dependency>
42 <groupId>com.fasterxml.jackson.core</groupId>
43 <artifactId>jackson-annotations</artifactId>
44 <version>${jackson.annotations.version}</version>
45 <scope>compile</scope>
46 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +030047
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020048 <dependency>
49 <groupId>org.glassfish.jersey.media</groupId>
50 <artifactId>jersey-media-multipart</artifactId>
51 <version>${jersey-bom.version}</version>
52 <scope>compile</scope>
53 </dependency>
Michael Landoc0ac0152017-02-27 23:48:43 +020054
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020055 <dependency>
56 <groupId>org.openecomp.sdc</groupId>
57 <artifactId>security-utils</artifactId>
58 <version>${project.version}</version>
59 <scope>compile</scope>
60 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020061
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020062 <dependency>
63 <groupId>com.tinkerpop.blueprints</groupId>
64 <artifactId>blueprints-sail-graph</artifactId>
65 <version>2.5.0</version>
66 <optional>true</optional>
67 <exclusions>
68 <exclusion>
69 <groupId>org.slf4j</groupId>
70 <artifactId>slf4j-log4j12</artifactId>
71 </exclusion>
72 </exclusions>
73 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020074
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020075 <dependency>
76 <groupId>com.tinkerpop.blueprints</groupId>
77 <artifactId>blueprints-graph-sail</artifactId>
78 <version>2.5.0</version>
79 <optional>true</optional>
80 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020081
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020082 <!-- Swagger Dependencies Start -->
83 <dependency>
84 <groupId>io.swagger</groupId>
85 <artifactId>swagger-jersey2-jaxrs</artifactId>
86 <scope>compile</scope>
Gitelman, Tal (tg851x)6a924cf2018-03-13 14:00:22 +020087 <version>1.5.18</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020088 </dependency>
Gitelman, Tal (tg851x)6a924cf2018-03-13 14:00:22 +020089
90 <!-- <dependency>
91 <groupId>io.swagger.core.v3</groupId>
92 <artifactId>swagger-jaxrs2</artifactId>
93 <version>2.0.0-rc4</version>
94 </dependency> -->
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020095 <!-- Swagger Dependencies End -->
Tal Gitelmaned7e1c32017-06-29 19:30:00 +030096
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020097 <dependency>
98 <groupId>org.openecomp.sdc</groupId>
99 <artifactId>common-app-api</artifactId>
100 <version>${project.version}</version>
101 <scope>compile</scope>
102 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200103
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200104 <dependency>
105 <groupId>org.openecomp.sdc.be</groupId>
106 <artifactId>common-be</artifactId>
107 <version>${project.version}</version>
108 <scope>compile</scope>
109 </dependency>
110 <dependency>
111 <groupId>org.openecomp.sdc.be</groupId>
112 <artifactId>catalog-dao</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>org.openecomp.sdc.be</groupId>
119 <artifactId>catalog-model</artifactId>
120 <version>${project.version}</version>
121 <scope>compile</scope>
122 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200123
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200124 <dependency>
125 <groupId>ch.qos.logback</groupId>
126 <artifactId>logback-classic</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200127 <version>${logback.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200128 <scope>compile</scope>
129 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200130
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200131 <!-- Snake Yaml -->
132 <dependency>
133 <groupId>org.yaml</groupId>
134 <artifactId>snakeyaml</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200135 <version>${snakeyaml.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200136 <scope>compile</scope>
137 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200138
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200139 <!-- File changes listener -->
140 <dependency>
141 <groupId>org.apache.commons</groupId>
142 <artifactId>commons-jci-core</artifactId>
143 <version>${commons-jci-core.version}</version>
144 <scope>compile</scope>
145 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200146
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200147 <!-- Gson -->
148 <dependency>
149 <groupId>com.google.code.gson</groupId>
150 <artifactId>gson</artifactId>
151 <version>${gson.version}</version>
152 <scope>compile</scope>
153 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200154
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200155 <!-- jersey -->
156 <dependency>
157 <groupId>org.glassfish.jersey.media</groupId>
158 <artifactId>jersey-media-json-jackson</artifactId>
159 <version>${jersey-bom.version}</version>
160 <scope>compile</scope>
161 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200162
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200163 <dependency>
164 <groupId>org.glassfish.jersey.containers</groupId>
165 <artifactId>jersey-container-servlet-core</artifactId>
166 <version>${jersey-bom.version}</version>
167 <scope>compile</scope>
168 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200169
Michael Landoa5445102018-03-04 14:53:33 +0200170 <dependency>
171 <groupId>org.glassfish.jersey.ext</groupId>
172 <artifactId>jersey-spring4</artifactId>
173 <version>${jersey-bom.version}</version>
174 <exclusions>
175 <exclusion>
176 <groupId>org.springframework</groupId>
177 <artifactId>spring-web</artifactId>
178 </exclusion>
179 <exclusion>
180 <groupId>org.springframework</groupId>
181 <artifactId>spring-beans</artifactId>
182 </exclusion>
183 <exclusion>
184 <groupId>org.springframework</groupId>
185 <artifactId>spring-core</artifactId>
186 </exclusion>
187 <exclusion>
188 <groupId>org.springframework</groupId>
189 <artifactId>spring-aop</artifactId>
190 </exclusion>
191 <!-- Transitive dependency of spring-bridge -->
192 <exclusion>
193 <groupId>org.springframework</groupId>
194 <artifactId>spring-context</artifactId>
195 </exclusion>
196 </exclusions>
197
198 </dependency>
199
200 <!--asm-all-repackaged is a jersey dependency. in current version jersey depends on a version that was compiled using java 9 compiler
201 currently our jetty (v9.3.6) does not support java 9. as soon as jetty gets upgraded we will remove this dependency-->
202 <dependency>
203 <groupId>org.glassfish.hk2.external</groupId>
204 <artifactId>asm-all-repackaged</artifactId>
205 </dependency>
206
207 <dependency>
208 <groupId>org.glassfish.jersey.ext</groupId>
209 <artifactId>jersey-bean-validation</artifactId>
210 </dependency>
211
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200212 <!-- http client -->
213 <dependency>
214 <groupId>org.apache.httpcomponents</groupId>
215 <artifactId>httpclient</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200216 <version>${httpclient.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>org.apache.httpcomponents</groupId>
222 <artifactId>httpcore</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200223 <version>${httpcore.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200224 <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-logging</groupId>
229 <artifactId>commons-logging</artifactId>
230 <version>${commons-logging}</version>
231 <scope>compile</scope>
232 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200233
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200234 <dependency>
235 <groupId>commons-codec</groupId>
236 <artifactId>commons-codec</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200237 <version>${commons-codec}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200238 <scope>compile</scope>
239 </dependency>
240 <!-- http client END -->
Michael Lando451a3402017-02-19 10:28:42 +0200241
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200242 <dependency>
243 <groupId>javax.servlet</groupId>
244 <artifactId>servlet-api</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200245 <version>${servlet-api.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200246 <scope>provided</scope>
247 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200248
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200249 <dependency>
250 <groupId>org.eclipse.jgit</groupId>
251 <artifactId>org.eclipse.jgit</artifactId>
252 <version>3.4.1.201406201815-r</version>
253 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200254
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200255 <!-- spring - used by A4C -->
256 <dependency>
257 <groupId>org.springframework</groupId>
258 <artifactId>spring-core</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-context</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-web</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-webmvc</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-aop</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-beans</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.springframework</groupId>
300 <artifactId>spring-expression</artifactId>
301 <version>${spring.version}</version>
302 <scope>compile</scope>
303 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200304
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200305 <dependency>
306 <groupId>org.codehaus.groovy</groupId>
307 <artifactId>groovy-all</artifactId>
308 <version>${groovy.version}</version>
309 <scope>compile</scope>
310 </dependency>
Michael Landoc34b77c2017-02-28 19:03:11 +0200311
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200312 <dependency>
313 <groupId>org.codehaus.janino</groupId>
314 <artifactId>janino</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>org.codehaus.janino</groupId>
321 <artifactId>commons-compiler</artifactId>
322 <version>${janino.version}</version>
323 <scope>compile</scope>
324 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200325
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200326 <dependency>
327 <groupId>com.google.guava</groupId>
328 <artifactId>guava</artifactId>
329 <version>${guava.version}</version>
330 <scope>compile</scope>
331 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200332
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200333 <!-- TITAN -->
334 <dependency>
335 <groupId>com.thinkaurelius.titan</groupId>
336 <artifactId>titan-core</artifactId>
337 <version>${titan.version}</version>
338 <scope>compile</scope>
339 <exclusions>
340 <exclusion>
341 <groupId>org.json</groupId>
342 <artifactId>json</artifactId>
343 </exclusion>
344 <exclusion>
345 <artifactId>slf4j-log4j12</artifactId>
346 <groupId>org.slf4j</groupId>
347 </exclusion>
348 </exclusions>
349 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200350
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200351 <dependency>
352 <groupId>org.openecomp.sdc.sdc-titan-cassandra</groupId>
353 <artifactId>sdc-titan-cassandra</artifactId>
354 <version>${titan.version}</version>
355 <scope>compile</scope>
356 <exclusions>
357 <exclusion>
358 <groupId>org.slf4j</groupId>
359 <artifactId>slf4j-log4j12</artifactId>
360 </exclusion>
361 <exclusion>
362 <groupId>io.netty</groupId>
363 <artifactId>netty-all</artifactId>
364 </exclusion>
365 </exclusions>
366 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200367
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200368 <dependency>
369 <groupId>org.apache.commons</groupId>
370 <artifactId>commons-lang3</artifactId>
371 <version>${lang3.version}</version>
372 <scope>compile</scope>
373 </dependency>
374 <!-- TITAN END -->
Michael Lando451a3402017-02-19 10:28:42 +0200375
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200376 <dependency>
377 <groupId>com.googlecode.json-simple</groupId>
378 <artifactId>json-simple</artifactId>
379 <version>${json-simple.version}</version>
380 <scope>compile</scope>
Michael Lando451a3402017-02-19 10:28:42 +0200381
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200382 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200383
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200384 <dependency>
385 <groupId>org.elasticsearch</groupId>
386 <artifactId>elasticsearch</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200387 <version>${elastic-search.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200388 <scope>compile</scope>
389 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200390
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200391 <dependency>
392 <groupId>org.elasticsearch.plugin</groupId>
393 <artifactId>shield</artifactId>
394 <version>${elastic-search.version}</version>
395 <scope>compile</scope>
396 </dependency>
397 <!-- functional java -->
398 <dependency>
399 <groupId>org.functionaljava</groupId>
400 <artifactId>functionaljava</artifactId>
401 <version>${functionaljava.version}</version>
402 <scope>compile</scope>
403 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200404
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200405 <!-- Aspects -->
406 <dependency>
407 <groupId>com.jcabi</groupId>
408 <artifactId>jcabi-aspects</artifactId>
409 <version>${jcabi.version}</version>
410 <scope>compile</scope>
411 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200412
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200413 <dependency>
414 <groupId>org.aspectj</groupId>
415 <artifactId>aspectjrt</artifactId>
416 <version>${aspectjrt.version}</version>
417 <scope>compile</scope>
418 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200419
Michael Landoa5445102018-03-04 14:53:33 +0200420
421
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200422 <!-- CAMBRIA CLIENT for U-EB -->
423 <dependency>
424 <groupId>com.att.nsa</groupId>
425 <artifactId>cambriaClient</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200426 <version>1.2.1-oss</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200427 <scope>compile</scope>
428 <exclusions>
429 <exclusion>
Michael Landoa5445102018-03-04 14:53:33 +0200430 <groupId>com.att.nsa</groupId>
431 <artifactId>saClientLibrary</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200432 </exclusion>
433 </exclusions>
434 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200435
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200436 <dependency>
437 <groupId>org.json</groupId>
438 <artifactId>json</artifactId>
439 <version>20131018</version>
440 <scope>compile</scope>
441 </dependency>
442 <dependency>
443 <groupId>org.apache.tinkerpop</groupId>
444 <artifactId>tinkergraph-gremlin</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 <dependency>
450 <groupId>org.apache.tinkerpop</groupId>
451 <artifactId>gremlin-groovy</artifactId>
452 <version>3.0.1-incubating</version>
453 <scope>compile</scope>
454 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200455
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200456 <!-- CASSANDRA -->
457 <dependency>
458 <groupId>com.datastax.cassandra</groupId>
459 <artifactId>cassandra-driver-core</artifactId>
460 <version>${cassandra.driver.version}</version>
461 <scope>compile</scope>
462 </dependency>
463 <dependency>
464 <groupId>com.datastax.cassandra</groupId>
465 <artifactId>cassandra-driver-mapping</artifactId>
466 <version>${cassandra.driver.version}</version>
467 <scope>compile</scope>
468 </dependency>
469 <!-- CASSANDRA END -->
Michael Lando451a3402017-02-19 10:28:42 +0200470
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200471 <!-- Inserted for ECOMP Portal Integration -->
472 <dependency>
473 <groupId>org.openecomp.ecompsdkos</groupId>
474 <artifactId>epsdk-fw</artifactId>
475 <version>${ecomp.version}</version>
476 <scope>compile</scope>
477 <exclusions>
478 <exclusion>
479 <groupId>com.att.nsa</groupId>
480 <artifactId>cambriaClient</artifactId>
481 </exclusion>
482 <exclusion>
483 <artifactId>slf4j-log4j12</artifactId>
484 <groupId>org.slf4j</groupId>
485 </exclusion>
486 </exclusions>
487 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200488
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200489 <!--Artifact Generator-->
490 <dependency>
491 <groupId>org.openecomp.sdc.common</groupId>
492 <artifactId>openecomp-sdc-artifact-generator-api</artifactId>
493 <version>${artifact-generator-api.version}</version>
494 <scope>compile</scope>
495 <exclusions>
496 <exclusion>
497 <groupId>junit</groupId>
498 <artifactId>junit</artifactId>
499 </exclusion>
500 </exclusions>
501 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200502
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200503 <dependency>
504 <groupId>org.openecomp.sdc.common</groupId>
505 <artifactId>openecomp-sdc-artifact-generator-core</artifactId>
506 <version>${artifact-generator-core.version}</version>
507 <scope>compile</scope>
508 <exclusions>
509 <exclusion>
510 <groupId>junit</groupId>
511 <artifactId>junit</artifactId>
512 </exclusion>
513 </exclusions>
514 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200515
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200516 <dependency>
517 <groupId>org.openecomp.sdc.common</groupId>
518 <artifactId>openecomp-common-lib</artifactId>
519 <version>${dox-common-lib.version}</version>
520 <type>pom</type>
521 <exclusions>
522 <exclusion>
523 <groupId>junit</groupId>
524 <artifactId>junit</artifactId>
525 </exclusion>
526 </exclusions>
527 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200528
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200529 <!--Jetty Proxy-->
530 <dependency>
531 <groupId>org.eclipse.jetty</groupId>
532 <artifactId>jetty-proxy</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>
Michael Lando451a3402017-02-19 10:28:42 +0200536
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200537 <dependency>
538 <groupId>org.eclipse.jetty</groupId>
539 <artifactId>jetty-servlets</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300540 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200541 <scope>compile</scope>
542 </dependency>
543 <!-- System metrics -->
544 <dependency>
545 <groupId>org.fusesource</groupId>
546 <artifactId>sigar</artifactId>
547 <version>${sigar.version}</version>
548 <scope>compile</scope>
549 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200550
Michael Landoa5445102018-03-04 14:53:33 +0200551 <dependency>
552 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
553 <artifactId>dmaapClient</artifactId>
Idan Amita65b55d2018-03-14 09:59:41 +0200554 <version>1.1.3</version>
Michael Landoa5445102018-03-04 14:53:33 +0200555 <scope>compile</scope>
556 <exclusions>
557 <exclusion>
558 <groupId>com.att.aft</groupId>
559 <artifactId>dme2</artifactId>
560 </exclusion>
561 </exclusions>
562 </dependency>
563 <dependency>
564 <groupId>com.att.aft</groupId>
565 <artifactId>dme2</artifactId>
566 <version>3.1.200-oss</version>
567 </dependency>
568
569 <dependency>
570 <groupId>javax.jms</groupId>
571 <artifactId>jms</artifactId>
572 <version>1.1</version>
573 <scope>provided</scope>
574 </dependency>
575
576 <dependency>
577 <groupId>javax.servlet</groupId>
578 <artifactId>javax.servlet-api</artifactId>
579 <version>3.1.0</version>
580 <scope>provided</scope>
581 </dependency>
582
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200583 <!-- TEST -->
584 <dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200585 <groupId>org.assertj</groupId>
586 <artifactId>assertj-core</artifactId>
587 <scope>test</scope>
588 </dependency>
589
590 <dependency>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200591 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
592 <artifactId>jersey-test-framework-provider-bundle</artifactId>
593 <version>${jersey-bom.version}</version>
594 <type>pom</type>
595 <scope>test</scope>
596 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200597
Michael Landoa5445102018-03-04 14:53:33 +0200598 <!--<dependency>-->
599 <!--<groupId>org.glassfish.jersey.test-framework.providers</groupId>-->
600 <!--<artifactId>jersey-test-framework-provider-inmemory</artifactId>-->
601 <!--<version>${jersey-bom.version}</version>-->
602 <!--<scope>test</scope>-->
603 <!--</dependency>-->
604
605 <dependency>
606 <groupId>org.glassfish.jersey.core</groupId>
607 <artifactId>jersey-client</artifactId>
608 <version>${jersey-bom.version}</version>
609 <!--<scope>test</scope>-->
610 </dependency>
611
612 <dependency>
613 <groupId>com.github.tomakehurst</groupId>
614 <artifactId>wiremock</artifactId>
615 <scope>test</scope>
616 </dependency>
617
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200618 <dependency>
619 <groupId>org.eclipse.jetty</groupId>
620 <artifactId>jetty-servlet</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>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200624
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200625 <dependency>
626 <groupId>org.eclipse.jetty</groupId>
627 <artifactId>jetty-webapp</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200628 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200629 <scope>test</scope>
630 </dependency>
631
632 <dependency>
633 <groupId>junit</groupId>
634 <artifactId>junit</artifactId>
635 <version>${junit.version}</version>
636 <scope>test</scope>
637 </dependency>
638
639 <dependency>
640 <groupId>org.mockito</groupId>
641 <artifactId>mockito-core</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200642 <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-test</artifactId>
648 <version>${spring.version}</version>
649 <scope>test</scope>
650 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200651
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200652 <dependency>
653 <groupId>org.springframework</groupId>
654 <artifactId>spring-tx</artifactId>
655 <version>${spring.version}</version>
656 <scope>test</scope>
657 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200658
659 <dependency>
660 <groupId>io.cucumber</groupId>
661 <artifactId>cucumber-java</artifactId>
662 <scope>test</scope>
663 </dependency>
664
665 <dependency>
666 <groupId>io.cucumber</groupId>
667 <artifactId>cucumber-junit</artifactId>
668 <scope>test</scope>
669 </dependency>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200670 </dependencies>
Michael Lando451a3402017-02-19 10:28:42 +0200671
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200672 <build>
Michael Lando451a3402017-02-19 10:28:42 +0200673
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200674 <finalName>${project.artifactId}-${project.version}</finalName>
Michael Lando451a3402017-02-19 10:28:42 +0200675
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200676 <plugins>
677 <plugin>
678 <groupId>org.apache.maven.plugins</groupId>
679 <artifactId>maven-war-plugin</artifactId>
680 <version>2.6</version>
681 <configuration>
682 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
683 WEB-INF/classes/elasticsearch.yml,
684 WEB-INF/classes/portal.properties
685 </packagingExcludes>
686 <archive>
687 <manifestEntries>
688 <SDC-Version>${project.version}</SDC-Version>
689 </manifestEntries>
690 <manifest>
691 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
692 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
693 </manifest>
694 </archive>
Michael Lando451a3402017-02-19 10:28:42 +0200695
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200696 <webResources>
697 <resource>
698 <directory>src/main/resources</directory>
699 <directory>src/main/resources/swagger</directory>
700 </resource>
701 </webResources>
702 <attachClasses>true</attachClasses>
703 </configuration>
704 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300705
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200706 <plugin>
Michael Landoa5445102018-03-04 14:53:33 +0200707 <groupId>org.apache.maven.plugins</groupId>
708 <artifactId>maven-dependency-plugin</artifactId>
709 <executions>
710 <execution>
711 <id>copy-dependencies</id>
712 <phase>package</phase>
713 <goals>
714 <goal>copy-dependencies</goal>
715 </goals>
716 <configuration>
717 <includeScope>compile</includeScope>
718 </configuration>
719 </execution>
Michael Landoa5445102018-03-04 14:53:33 +0200720 </executions>
721 </plugin>
722
723 <plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200724 <groupId>com.jcabi</groupId>
725 <artifactId>jcabi-maven-plugin</artifactId>
726 <version>${jcabi.plugin.version}</version>
727 <executions>
728 <execution>
729 <goals>
730 <goal>ajc</goal>
731 </goals>
732 </execution>
733 </executions>
734 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300735
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200736 <plugin>
Michael Landoa5445102018-03-04 14:53:33 +0200737 <artifactId>maven-resources-plugin</artifactId>
738 <version>2.6</version>
739 <executions>
740 <execution>
Michael Landoa5445102018-03-04 14:53:33 +0200741 <id>copy-tosca-folder</id>
742 <!-- here the phase you need -->
743 <phase>install</phase>
744 <goals>
745 <goal>copy-resources</goal>
746 </goals>
747 <configuration>
748 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
749 <resources>
750 <resource>
751 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
752 <filtering>true</filtering>
753 </resource>
754 </resources>
755 </configuration>
756 </execution>
757 </executions>
758 </plugin>
759
760 <plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200761 <groupId>org.apache.maven.plugins</groupId>
762 <artifactId>maven-assembly-plugin</artifactId>
763 <executions>
764 <execution>
765 <id>normatives</id>
766 <phase>package</phase>
767 <goals>
768 <goal>single</goal>
769 </goals>
770 <configuration>
771 <finalName>normatives</finalName>
772 <appendAssemblyId>false</appendAssemblyId>
773 <descriptor>${project.basedir}/normatives.xml</descriptor>
774 </configuration>
775 </execution>
776 </executions>
777 </plugin>
778 <plugin>
779 <artifactId>maven-clean-plugin</artifactId>
780 <version>3.0.0</version>
781 <executions>
782 <execution>
783 <id>clean.sdc.backend.folder</id>
784 <phase>clean</phase>
785 <goals>
786 <goal>clean</goal>
787 </goals>
788 <configuration>
789 <filesets>
790 <!-- static configuration files -->
791 <fileset>
792 <directory>
793 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
794 </directory>
795 <followSymlinks>false</followSymlinks>
796 <includes>
797 <include>Artifact-Generator.properties</include>
798 <include>error-configuration.yaml</include>
799 <include>ecomp-error-configuration.yaml</include>
800 <include>logback.xml</include>
801 </includes>
802 </fileset>
803 <!-- BE WAR's -->
804 <fileset>
805 <directory>${project.parent.basedir}/catalog-be/sdc-backend</directory>
806 <followSymlinks>false</followSymlinks>
807 <includes>
808 <include>*.war</include>
809 </includes>
810 </fileset>
811 <fileset>
812 <directory>
813 ${project.basedir}/sdc-backend-init/chef-repo/cookbooks/sdc-normatives/files/default
814 </directory>
815 <followSymlinks>false</followSymlinks>
816 <includes>
817 <include>normatives.tar.gz</include>
818 </includes>
819 </fileset>
Michael Lando451a3402017-02-19 10:28:42 +0200820
821
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200822 </filesets>
823 </configuration>
824 </execution>
Michael Landoa5445102018-03-04 14:53:33 +0200825
826 <execution>
827 <id>clean-static-files</id>
828 <phase>clean</phase>
829 <goals>
830 <goal>clean</goal>
831 </goals>
832 <configuration>
833 <filesets>
834 <!-- tosca files -->
835 <fileset>
836 <directory>${project.parent.basedir}/asdctool/tosca</directory>
837 <followSymlinks>false</followSymlinks>
838 </fileset>
Michael Landoa5445102018-03-04 14:53:33 +0200839 </filesets>
840 </configuration>
841 </execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200842 </executions>
843 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200844
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200845 </plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200846
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200847 <pluginManagement>
848 <plugins>
849 <!--This plugin's configuration is used to store Eclipse m2e settings
850 only. It has no influence on the Maven build itself. -->
851 <plugin>
852 <groupId>org.eclipse.m2e</groupId>
853 <artifactId>lifecycle-mapping</artifactId>
854 <version>1.0.0</version>
855 <configuration>
856 <lifecycleMappingMetadata>
857 <pluginExecutions>
858 <pluginExecution>
859 <pluginExecutionFilter>
860 <groupId>com.googlecode.maven-download-plugin</groupId>
861 <artifactId>download-maven-plugin</artifactId>
862 <versionRange>[1.2.1,)</versionRange>
863 <goals>
864 <goal>wget</goal>
865 </goals>
866 </pluginExecutionFilter>
867 <action>
868 <ignore></ignore>
869 </action>
870 </pluginExecution>
Michael Lando451a3402017-02-19 10:28:42 +0200871
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200872 <pluginExecution>
873 <pluginExecutionFilter>
874 <groupId>com.jcabi</groupId>
875 <artifactId>jcabi-maven-plugin</artifactId>
876 <versionRange>[0.0,)</versionRange>
877 <goals>
878 <goal>ajc</goal>
879 </goals>
880 </pluginExecutionFilter>
881 <action>
882 <execute/>
883 </action>
884 </pluginExecution>
885
886 </pluginExecutions>
887 </lifecycleMappingMetadata>
888 </configuration>
889 </plugin>
890 <plugin>
891 <groupId>org.apache.maven.plugins</groupId>
892 <artifactId>maven-deploy-plugin</artifactId>
893 <version>2.7</version>
894 <configuration>
895 <skip>true</skip>
896 </configuration>
897 </plugin>
898 </plugins>
899 </pluginManagement>
900 <!-- Swagger Plugins End -->
901 </build>
902
903 <profiles>
Michael Landoa5445102018-03-04 14:53:33 +0200904 <profile>
905 <id>catalog</id>
906 <activation>
907 <activeByDefault>false</activeByDefault>
908 </activation>
Michael Lando451a3402017-02-19 10:28:42 +0200909
Michael Landoa5445102018-03-04 14:53:33 +0200910 <build>
911 <finalName>${project.artifactId}-${project.version}</finalName>
912 </build>
913 </profile>
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>
944 ${project.parent.basedir}/openecomp-be/tools/swagger-ui/api-docs
945 </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>
1048 <tag>${docker.latest.tag}</tag>
1049 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
1050 </tags>
1051 </build>
1052 </image>
1053 <!-- Build backend-init image -->
1054 <image>
1055 <name>onap/sdc-backend-init</name>
1056 <alias>sdc-backend-init</alias>
1057 <build>
1058 <cleanup>try</cleanup>
1059 <dockerFileDir>${project.basedir}/sdc-backend-init</dockerFileDir>
1060 <tags>
1061 <tag>${docker.tag}</tag>
1062 <tag>${docker.latest.tag}</tag>
1063 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
1064 </tags>
1065 </build>
1066 </image>
1067 </images>
1068 </configuration>
1069 <executions>
1070 <execution>
1071 <id>clean-images</id>
1072 <phase>pre-clean</phase>
1073 <goals>
1074 <goal>remove</goal>
1075 </goals>
1076 <configuration>
1077 <removeAll>true</removeAll>
1078 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1079 </configuration>
1080 </execution>
1081
1082 <execution>
1083 <id>generate-images</id>
1084 <phase>install</phase>
1085 <goals>
1086 <goal>build</goal>
1087 </goals>
1088 </execution>
1089
1090 <execution>
1091 <id>push-images</id>
1092 <phase>deploy</phase>
1093 <goals>
1094 <goal>push</goal>
1095 </goals>
1096 <configuration>
1097 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1098 </configuration>
1099 </execution>
1100 </executions>
1101 </plugin>
1102 </plugins>
1103 </build>
1104 </profile>
1105
1106
1107 </profiles>
Michael Lando451a3402017-02-19 10:28:42 +02001108</project>