blob: 1b2a92ddbfe20f33efbbd21aa5f56bf2f1356990 [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>
87 <version>1.5.15</version>
88 </dependency>
89 <!-- Swagger Dependencies End -->
Tal Gitelmaned7e1c32017-06-29 19:30:00 +030090
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020091 <dependency>
92 <groupId>org.openecomp.sdc</groupId>
93 <artifactId>common-app-api</artifactId>
94 <version>${project.version}</version>
95 <scope>compile</scope>
96 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020097
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020098 <dependency>
99 <groupId>org.openecomp.sdc.be</groupId>
100 <artifactId>common-be</artifactId>
101 <version>${project.version}</version>
102 <scope>compile</scope>
103 </dependency>
104 <dependency>
105 <groupId>org.openecomp.sdc.be</groupId>
106 <artifactId>catalog-dao</artifactId>
107 <version>${project.version}</version>
108 <scope>compile</scope>
109 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200110
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200111 <dependency>
112 <groupId>org.openecomp.sdc.be</groupId>
113 <artifactId>catalog-model</artifactId>
114 <version>${project.version}</version>
115 <scope>compile</scope>
116 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200117
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200118 <!-- slf4j + logback -->
119 <dependency>
120 <groupId>org.slf4j</groupId>
121 <artifactId>slf4j-api</artifactId>
122 <version>${slf4j-api.version}</version>
123 <scope>compile</scope>
124 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200125
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200126 <dependency>
127 <groupId>ch.qos.logback</groupId>
128 <artifactId>logback-classic</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300129 <version>${logback.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200130 <scope>compile</scope>
131 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200132
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200133 <dependency>
134 <groupId>ch.qos.logback</groupId>
135 <artifactId>logback-core</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300136 <version>${logback.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200137 <scope>compile</scope>
138 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200139
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200140 <!-- Snake Yaml -->
141 <dependency>
142 <groupId>org.yaml</groupId>
143 <artifactId>snakeyaml</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300144 <version>${snakeyaml.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200145 <scope>compile</scope>
146 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200147
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200148 <!-- File changes listener -->
149 <dependency>
150 <groupId>org.apache.commons</groupId>
151 <artifactId>commons-jci-core</artifactId>
152 <version>${commons-jci-core.version}</version>
153 <scope>compile</scope>
154 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200155
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200156 <!-- Gson -->
157 <dependency>
158 <groupId>com.google.code.gson</groupId>
159 <artifactId>gson</artifactId>
160 <version>${gson.version}</version>
161 <scope>compile</scope>
162 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200163
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200164 <!-- jersey -->
165 <dependency>
166 <groupId>org.glassfish.jersey.media</groupId>
167 <artifactId>jersey-media-json-jackson</artifactId>
168 <version>${jersey-bom.version}</version>
169 <scope>compile</scope>
170 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200171
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200172 <dependency>
173 <groupId>org.glassfish.jersey.containers</groupId>
174 <artifactId>jersey-container-servlet-core</artifactId>
175 <version>${jersey-bom.version}</version>
176 <scope>compile</scope>
177 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200178
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200179 <!-- http client -->
180 <dependency>
181 <groupId>org.apache.httpcomponents</groupId>
182 <artifactId>httpclient</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300183 <version>${httpclient.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200184 <scope>compile</scope>
185 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200186
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200187 <dependency>
188 <groupId>org.apache.httpcomponents</groupId>
189 <artifactId>httpcore</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300190 <version>${httpcore.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200191 <scope>compile</scope>
192 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200193
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200194 <dependency>
195 <groupId>commons-logging</groupId>
196 <artifactId>commons-logging</artifactId>
197 <version>${commons-logging}</version>
198 <scope>compile</scope>
199 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200200
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200201 <dependency>
202 <groupId>commons-codec</groupId>
203 <artifactId>commons-codec</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300204 <version>${commons-codec}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200205 <scope>compile</scope>
206 </dependency>
207 <!-- http client END -->
Michael Lando451a3402017-02-19 10:28:42 +0200208
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200209 <dependency>
210 <groupId>javax.servlet</groupId>
211 <artifactId>servlet-api</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300212 <version>${servlet-api.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200213 <scope>provided</scope>
214 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200215
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200216 <dependency>
217 <groupId>org.eclipse.jgit</groupId>
218 <artifactId>org.eclipse.jgit</artifactId>
219 <version>3.4.1.201406201815-r</version>
220 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200221
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200222 <!-- spring - used by A4C -->
223 <dependency>
224 <groupId>org.springframework</groupId>
225 <artifactId>spring-core</artifactId>
226 <version>${spring.version}</version>
227 <scope>compile</scope>
228 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200229
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200230 <dependency>
231 <groupId>org.springframework</groupId>
232 <artifactId>spring-context</artifactId>
233 <version>${spring.version}</version>
234 <scope>compile</scope>
235 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200236
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200237 <dependency>
238 <groupId>org.springframework</groupId>
239 <artifactId>spring-web</artifactId>
240 <version>${spring.version}</version>
241 <scope>compile</scope>
242 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200243
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200244 <dependency>
245 <groupId>org.springframework</groupId>
246 <artifactId>spring-webmvc</artifactId>
247 <version>${spring.version}</version>
248 <scope>compile</scope>
249 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200250
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200251 <dependency>
252 <groupId>org.springframework</groupId>
253 <artifactId>spring-aop</artifactId>
254 <version>${spring.version}</version>
255 <scope>compile</scope>
256 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200257
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200258 <dependency>
259 <groupId>org.springframework</groupId>
260 <artifactId>spring-beans</artifactId>
261 <version>${spring.version}</version>
262 <scope>compile</scope>
263 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200264
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200265 <dependency>
266 <groupId>org.springframework</groupId>
267 <artifactId>spring-expression</artifactId>
268 <version>${spring.version}</version>
269 <scope>compile</scope>
270 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200271
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200272 <dependency>
273 <groupId>org.codehaus.groovy</groupId>
274 <artifactId>groovy-all</artifactId>
275 <version>${groovy.version}</version>
276 <scope>compile</scope>
277 </dependency>
Michael Landoc34b77c2017-02-28 19:03:11 +0200278
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200279 <dependency>
280 <groupId>org.codehaus.janino</groupId>
281 <artifactId>janino</artifactId>
282 <version>${janino.version}</version>
283 <scope>compile</scope>
284 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200285
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200286 <dependency>
287 <groupId>org.codehaus.janino</groupId>
288 <artifactId>commons-compiler</artifactId>
289 <version>${janino.version}</version>
290 <scope>compile</scope>
291 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200292
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200293 <dependency>
294 <groupId>com.google.guava</groupId>
295 <artifactId>guava</artifactId>
296 <version>${guava.version}</version>
297 <scope>compile</scope>
298 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200299
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200300 <!-- TITAN -->
301 <dependency>
302 <groupId>com.thinkaurelius.titan</groupId>
303 <artifactId>titan-core</artifactId>
304 <version>${titan.version}</version>
305 <scope>compile</scope>
306 <exclusions>
307 <exclusion>
308 <groupId>org.json</groupId>
309 <artifactId>json</artifactId>
310 </exclusion>
311 <exclusion>
312 <artifactId>slf4j-log4j12</artifactId>
313 <groupId>org.slf4j</groupId>
314 </exclusion>
315 </exclusions>
316 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200317
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200318 <dependency>
319 <groupId>org.openecomp.sdc.sdc-titan-cassandra</groupId>
320 <artifactId>sdc-titan-cassandra</artifactId>
321 <version>${titan.version}</version>
322 <scope>compile</scope>
323 <exclusions>
324 <exclusion>
325 <groupId>org.slf4j</groupId>
326 <artifactId>slf4j-log4j12</artifactId>
327 </exclusion>
328 <exclusion>
329 <groupId>io.netty</groupId>
330 <artifactId>netty-all</artifactId>
331 </exclusion>
332 </exclusions>
333 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200334
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200335 <dependency>
336 <groupId>org.apache.commons</groupId>
337 <artifactId>commons-lang3</artifactId>
338 <version>${lang3.version}</version>
339 <scope>compile</scope>
340 </dependency>
341 <!-- TITAN END -->
Michael Lando451a3402017-02-19 10:28:42 +0200342
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200343 <dependency>
344 <groupId>com.googlecode.json-simple</groupId>
345 <artifactId>json-simple</artifactId>
346 <version>${json-simple.version}</version>
347 <scope>compile</scope>
Michael Lando451a3402017-02-19 10:28:42 +0200348
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200349 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200350
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200351 <dependency>
352 <groupId>org.elasticsearch</groupId>
353 <artifactId>elasticsearch</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300354 <version>${elastic-search.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200355 <scope>compile</scope>
356 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200357
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200358 <dependency>
359 <groupId>org.elasticsearch.plugin</groupId>
360 <artifactId>shield</artifactId>
361 <version>${elastic-search.version}</version>
362 <scope>compile</scope>
363 </dependency>
364 <!-- functional java -->
365 <dependency>
366 <groupId>org.functionaljava</groupId>
367 <artifactId>functionaljava</artifactId>
368 <version>${functionaljava.version}</version>
369 <scope>compile</scope>
370 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200371
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200372 <!-- Aspects -->
373 <dependency>
374 <groupId>com.jcabi</groupId>
375 <artifactId>jcabi-aspects</artifactId>
376 <version>${jcabi.version}</version>
377 <scope>compile</scope>
378 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200379
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200380 <dependency>
381 <groupId>org.aspectj</groupId>
382 <artifactId>aspectjrt</artifactId>
383 <version>${aspectjrt.version}</version>
384 <scope>compile</scope>
385 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200386
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200387 <!-- CAMBRIA CLIENT for U-EB -->
388 <dependency>
389 <groupId>com.att.nsa</groupId>
390 <artifactId>cambriaClient</artifactId>
391 <version>0.0.1</version>
392 <scope>compile</scope>
393 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200394
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200395 <dependency>
396 <groupId>com.att.nsa</groupId>
397 <artifactId>saClientLibrary</artifactId>
398 <version>0.0.1</version>
399 <scope>compile</scope>
400 <exclusions>
401 <exclusion>
402 <groupId>org.slf4j</groupId>
403 <artifactId>slf4j-log4j12</artifactId>
404 </exclusion>
405 </exclusions>
406 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200407
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200408 <dependency>
409 <groupId>org.json</groupId>
410 <artifactId>json</artifactId>
411 <version>20131018</version>
412 <scope>compile</scope>
413 </dependency>
414 <dependency>
415 <groupId>org.apache.tinkerpop</groupId>
416 <artifactId>tinkergraph-gremlin</artifactId>
417 <version>3.0.1-incubating</version>
418 <scope>compile</scope>
419 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200420
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200421 <dependency>
422 <groupId>org.apache.tinkerpop</groupId>
423 <artifactId>gremlin-groovy</artifactId>
424 <version>3.0.1-incubating</version>
425 <scope>compile</scope>
426 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200427
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200428 <!-- CASSANDRA -->
429 <dependency>
430 <groupId>com.datastax.cassandra</groupId>
431 <artifactId>cassandra-driver-core</artifactId>
432 <version>${cassandra.driver.version}</version>
433 <scope>compile</scope>
434 </dependency>
435 <dependency>
436 <groupId>com.datastax.cassandra</groupId>
437 <artifactId>cassandra-driver-mapping</artifactId>
438 <version>${cassandra.driver.version}</version>
439 <scope>compile</scope>
440 </dependency>
441 <!-- CASSANDRA END -->
Michael Lando451a3402017-02-19 10:28:42 +0200442
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200443 <!-- Inserted for ECOMP Portal Integration -->
444 <dependency>
445 <groupId>org.openecomp.ecompsdkos</groupId>
446 <artifactId>epsdk-fw</artifactId>
447 <version>${ecomp.version}</version>
448 <scope>compile</scope>
449 <exclusions>
450 <exclusion>
451 <groupId>com.att.nsa</groupId>
452 <artifactId>cambriaClient</artifactId>
453 </exclusion>
454 <exclusion>
455 <artifactId>slf4j-log4j12</artifactId>
456 <groupId>org.slf4j</groupId>
457 </exclusion>
458 </exclusions>
459 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200460
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200461 <!--Artifact Generator-->
462 <dependency>
463 <groupId>org.openecomp.sdc.common</groupId>
464 <artifactId>openecomp-sdc-artifact-generator-api</artifactId>
465 <version>${artifact-generator-api.version}</version>
466 <scope>compile</scope>
467 <exclusions>
468 <exclusion>
469 <groupId>junit</groupId>
470 <artifactId>junit</artifactId>
471 </exclusion>
472 </exclusions>
473 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200474
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200475 <dependency>
476 <groupId>org.openecomp.sdc.common</groupId>
477 <artifactId>openecomp-sdc-artifact-generator-core</artifactId>
478 <version>${artifact-generator-core.version}</version>
479 <scope>compile</scope>
480 <exclusions>
481 <exclusion>
482 <groupId>junit</groupId>
483 <artifactId>junit</artifactId>
484 </exclusion>
485 </exclusions>
486 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200487
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200488 <dependency>
489 <groupId>org.openecomp.sdc.common</groupId>
490 <artifactId>openecomp-common-lib</artifactId>
491 <version>${dox-common-lib.version}</version>
492 <type>pom</type>
493 <exclusions>
494 <exclusion>
495 <groupId>junit</groupId>
496 <artifactId>junit</artifactId>
497 </exclusion>
498 </exclusions>
499 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200500
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200501 <!--Jetty Proxy-->
502 <dependency>
503 <groupId>org.eclipse.jetty</groupId>
504 <artifactId>jetty-proxy</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300505 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200506 <scope>compile</scope>
507 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200508
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200509 <dependency>
510 <groupId>org.eclipse.jetty</groupId>
511 <artifactId>jetty-servlets</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300512 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200513 <scope>compile</scope>
514 </dependency>
515 <!-- System metrics -->
516 <dependency>
517 <groupId>org.fusesource</groupId>
518 <artifactId>sigar</artifactId>
519 <version>${sigar.version}</version>
520 <scope>compile</scope>
521 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200522
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200523 <!-- TEST -->
524 <dependency>
525 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
526 <artifactId>jersey-test-framework-provider-bundle</artifactId>
527 <version>${jersey-bom.version}</version>
528 <type>pom</type>
529 <scope>test</scope>
530 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200531
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200532 <dependency>
533 <groupId>org.eclipse.jetty</groupId>
534 <artifactId>jetty-servlet</artifactId>
535 <version>${jetty.version}</version>
536 <scope>test</scope>
537 </dependency>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200538
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200539 <dependency>
540 <groupId>org.eclipse.jetty</groupId>
541 <artifactId>jetty-webapp</artifactId>
542 <version>${jetty.version}</version>
543 <scope>test</scope>
544 </dependency>
545
546 <dependency>
547 <groupId>junit</groupId>
548 <artifactId>junit</artifactId>
549 <version>${junit.version}</version>
550 <scope>test</scope>
551 </dependency>
552
553 <dependency>
554 <groupId>org.mockito</groupId>
555 <artifactId>mockito-core</artifactId>
556 <version>${mockito.version}</version>
557 <scope>test</scope>
558 </dependency>
559
560 <dependency>
561 <groupId>org.assertj</groupId>
562 <artifactId>assertj-core</artifactId>
Michael Landoce868e62017-12-25 20:07:37 +0200563 <version>${assertj.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200564 <scope>test</scope>
565 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200566
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200567 <dependency>
568 <groupId>org.springframework</groupId>
569 <artifactId>spring-test</artifactId>
570 <version>${spring.version}</version>
571 <scope>test</scope>
572 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200573
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200574 <dependency>
575 <groupId>org.springframework</groupId>
576 <artifactId>spring-tx</artifactId>
577 <version>${spring.version}</version>
578 <scope>test</scope>
579 </dependency>
580 </dependencies>
Michael Lando451a3402017-02-19 10:28:42 +0200581
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200582 <build>
Michael Lando451a3402017-02-19 10:28:42 +0200583
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200584 <finalName>${project.artifactId}-${project.version}</finalName>
Michael Lando451a3402017-02-19 10:28:42 +0200585
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200586 <plugins>
587 <plugin>
588 <groupId>org.apache.maven.plugins</groupId>
589 <artifactId>maven-war-plugin</artifactId>
590 <version>2.6</version>
591 <configuration>
592 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
593 WEB-INF/classes/elasticsearch.yml,
594 WEB-INF/classes/portal.properties
595 </packagingExcludes>
596 <archive>
597 <manifestEntries>
598 <SDC-Version>${project.version}</SDC-Version>
599 </manifestEntries>
600 <manifest>
601 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
602 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
603 </manifest>
604 </archive>
Michael Lando451a3402017-02-19 10:28:42 +0200605
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200606 <webResources>
607 <resource>
608 <directory>src/main/resources</directory>
609 <directory>src/main/resources/swagger</directory>
610 </resource>
611 </webResources>
612 <attachClasses>true</attachClasses>
613 </configuration>
614 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300615
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200616 <plugin>
617 <groupId>com.jcabi</groupId>
618 <artifactId>jcabi-maven-plugin</artifactId>
619 <version>${jcabi.plugin.version}</version>
620 <executions>
621 <execution>
622 <goals>
623 <goal>ajc</goal>
624 </goals>
625 </execution>
626 </executions>
627 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300628
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200629 <plugin>
630 <groupId>org.apache.maven.plugins</groupId>
631 <artifactId>maven-assembly-plugin</artifactId>
632 <executions>
633 <execution>
634 <id>normatives</id>
635 <phase>package</phase>
636 <goals>
637 <goal>single</goal>
638 </goals>
639 <configuration>
640 <finalName>normatives</finalName>
641 <appendAssemblyId>false</appendAssemblyId>
642 <descriptor>${project.basedir}/normatives.xml</descriptor>
643 </configuration>
644 </execution>
645 </executions>
646 </plugin>
647 <plugin>
648 <artifactId>maven-clean-plugin</artifactId>
649 <version>3.0.0</version>
650 <executions>
651 <execution>
652 <id>clean.sdc.backend.folder</id>
653 <phase>clean</phase>
654 <goals>
655 <goal>clean</goal>
656 </goals>
657 <configuration>
658 <filesets>
659 <!-- static configuration files -->
660 <fileset>
661 <directory>
662 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
663 </directory>
664 <followSymlinks>false</followSymlinks>
665 <includes>
666 <include>Artifact-Generator.properties</include>
667 <include>error-configuration.yaml</include>
668 <include>ecomp-error-configuration.yaml</include>
669 <include>logback.xml</include>
670 </includes>
671 </fileset>
672 <!-- BE WAR's -->
673 <fileset>
674 <directory>${project.parent.basedir}/catalog-be/sdc-backend</directory>
675 <followSymlinks>false</followSymlinks>
676 <includes>
677 <include>*.war</include>
678 </includes>
679 </fileset>
680 <fileset>
681 <directory>
682 ${project.basedir}/sdc-backend-init/chef-repo/cookbooks/sdc-normatives/files/default
683 </directory>
684 <followSymlinks>false</followSymlinks>
685 <includes>
686 <include>normatives.tar.gz</include>
687 </includes>
688 </fileset>
Michael Lando451a3402017-02-19 10:28:42 +0200689
690
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200691 </filesets>
692 </configuration>
693 </execution>
694 </executions>
695 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200696
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200697 </plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200698
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200699 <pluginManagement>
700 <plugins>
701 <!--This plugin's configuration is used to store Eclipse m2e settings
702 only. It has no influence on the Maven build itself. -->
703 <plugin>
704 <groupId>org.eclipse.m2e</groupId>
705 <artifactId>lifecycle-mapping</artifactId>
706 <version>1.0.0</version>
707 <configuration>
708 <lifecycleMappingMetadata>
709 <pluginExecutions>
710 <pluginExecution>
711 <pluginExecutionFilter>
712 <groupId>com.googlecode.maven-download-plugin</groupId>
713 <artifactId>download-maven-plugin</artifactId>
714 <versionRange>[1.2.1,)</versionRange>
715 <goals>
716 <goal>wget</goal>
717 </goals>
718 </pluginExecutionFilter>
719 <action>
720 <ignore></ignore>
721 </action>
722 </pluginExecution>
Michael Lando451a3402017-02-19 10:28:42 +0200723
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200724 <pluginExecution>
725 <pluginExecutionFilter>
726 <groupId>com.jcabi</groupId>
727 <artifactId>jcabi-maven-plugin</artifactId>
728 <versionRange>[0.0,)</versionRange>
729 <goals>
730 <goal>ajc</goal>
731 </goals>
732 </pluginExecutionFilter>
733 <action>
734 <execute/>
735 </action>
736 </pluginExecution>
737
738 </pluginExecutions>
739 </lifecycleMappingMetadata>
740 </configuration>
741 </plugin>
742 <plugin>
743 <groupId>org.apache.maven.plugins</groupId>
744 <artifactId>maven-deploy-plugin</artifactId>
745 <version>2.7</version>
746 <configuration>
747 <skip>true</skip>
748 </configuration>
749 </plugin>
750 </plugins>
751 </pluginManagement>
752 <!-- Swagger Plugins End -->
753 </build>
754
755 <profiles>
Michael Landoed64b5e2017-06-09 03:19:04 +0300756 <profile>
757 <id>catalog</id>
758 <activation>
759 <activeByDefault>false</activeByDefault>
760 </activation>
Michael Lando451a3402017-02-19 10:28:42 +0200761
Michael Landoed64b5e2017-06-09 03:19:04 +0300762 <build>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200763 <finalName>${project.artifactId}-${project.version}</finalName>
Michael Landoc61d2242017-06-20 11:07:13 +0300764 </build>
765 </profile>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200766 <profile>
767 <id>docker-staging</id>
768 <properties>
769 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
770 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
771 </properties>
772 </profile>
773
774 <profile>
775 <id>docker</id>
776 <activation>
777 <activeByDefault>false</activeByDefault>
778 </activation>
779 <build>
780 <plugins>
781 <plugin>
782 <artifactId>maven-resources-plugin</artifactId>
783 <version>3.0.2</version>
784 <executions>
785 <execution>
786 <id>copy-resources-apidocs</id>
787 <phase>verify</phase>
788 <goals>
789 <goal>copy-resources</goal>
790 </goals>
791 <configuration>
792 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
793 <resources>
794 <resource>
795 <directory>
796 ${project.parent.basedir}/openecomp-be/tools/swagger-ui/api-docs
797 </directory>
798 <includes>
799 <include>api-docs.war</include>
800 </includes>
801 </resource>
802 </resources>
803 </configuration>
804 </execution>
805
806 <execution>
807 <id>copy-static-configuration-files</id>
808 <phase>verify</phase>
809 <goals>
810 <goal>copy-resources</goal>
811 </goals>
812 <configuration>
813 <outputDirectory>${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default</outputDirectory>
814 <resources>
815 <resource>
816 <directory>${project.parent.basedir}/catalog-be/src/main/resources/config</directory>
817 <includes>
818 <include>Artifact-Generator.properties</include>
819 <include>error-configuration.yaml</include>
820 <include>ecomp-error-configuration.yaml</include>
821 <include>logback.xml</include>
822 </includes>
823 </resource>
824 </resources>
825 </configuration>
826 </execution>
827
828 <execution>
829 <id>copy-resources-be</id>
830 <phase>verify</phase>
831 <goals>
832 <goal>copy-resources</goal>
833 </goals>
834 <configuration>
835 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
836 <resources>
837 <resource>
838 <directory>${project.parent.basedir}/catalog-be/target</directory>
839 <includes>
840 <include>catalog-be-${project.version}.war</include>
841 </includes>
842 </resource>
843 <resource>
844 <directory>
845 ${project.parent.basedir}/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/target
846 </directory>
847 <includes>
848 <include>onboarding-be-${project.version}.war</include>
849 </includes>
850 </resource>
851 </resources>
852 </configuration>
853 </execution>
854 <execution>
855 <id>copy-normatives</id>
856 <phase>verify</phase>
857 <goals>
858 <goal>copy-resources</goal>
859 </goals>
860 <configuration>
861 <outputDirectory>sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default</outputDirectory>
862 <resources>
863 <resource>
864 <directory>${project.parent.basedir}/catalog-be/target</directory>
865 <includes>
866 <include>normatives.tar.gz</include>
867 </includes>
868 </resource>
869 </resources>
870 </configuration>
871 </execution>
872 </executions>
873 </plugin>
874 <plugin>
875 <groupId>io.fabric8</groupId>
876 <artifactId>docker-maven-plugin</artifactId>
877 <version>0.23.0</version>
878
879 <configuration>
880 <verbose>true</verbose>
881 <apiVersion>1.23</apiVersion>
882 <registry>nexus3.onap.org:10001</registry>
883 <authConfig>
884 <pull>
885 <username>docker</username>
886 <password>docker</password>
887 </pull>
888 </authConfig>
889 <images>
890
891 <!-- Build backend image -->
892 <image>
893 <name>onap/sdc-backend</name>
894 <alias>sdc-backend</alias>
895 <build>
896 <cleanup>try</cleanup>
897 <dockerFileDir>${project.basedir}/sdc-backend</dockerFileDir>
898 <tags>
899 <tag>${docker.tag}</tag>
900 <tag>${docker.latest.tag}</tag>
901 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
902 </tags>
903 </build>
904 </image>
905 <!-- Build backend-init image -->
906 <image>
907 <name>onap/sdc-backend-init</name>
908 <alias>sdc-backend-init</alias>
909 <build>
910 <cleanup>try</cleanup>
911 <dockerFileDir>${project.basedir}/sdc-backend-init</dockerFileDir>
912 <tags>
913 <tag>${docker.tag}</tag>
914 <tag>${docker.latest.tag}</tag>
915 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
916 </tags>
917 </build>
918 </image>
919 </images>
920 </configuration>
921 <executions>
922 <execution>
923 <id>clean-images</id>
924 <phase>pre-clean</phase>
925 <goals>
926 <goal>remove</goal>
927 </goals>
928 <configuration>
929 <removeAll>true</removeAll>
930 <image>onap/sdc-backend,onap/sdc-backend-init</image>
931 </configuration>
932 </execution>
933
934 <execution>
935 <id>generate-images</id>
936 <phase>install</phase>
937 <goals>
938 <goal>build</goal>
939 </goals>
940 </execution>
941
942 <execution>
943 <id>push-images</id>
944 <phase>deploy</phase>
945 <goals>
946 <goal>push</goal>
947 </goals>
948 <configuration>
949 <image>onap/sdc-backend,onap/sdc-backend-init</image>
950 </configuration>
951 </execution>
952 </executions>
953 </plugin>
954 </plugins>
955 </build>
956 </profile>
957
958
959 </profiles>
Michael Lando451a3402017-02-19 10:28:42 +0200960</project>