blob: 8ab854c3f3a3bf010dfe77ebc26e1c52d8b407a8 [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Yuli Shlosbergaf70a202018-09-25 17:16:48 +03002 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02003 <modelVersion>4.0.0</modelVersion>
Michael Lando451a3402017-02-19 10:28:42 +02004
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02005 <artifactId>catalog-be</artifactId>
6 <packaging>war</packaging>
Michael Lando451a3402017-02-19 10:28:42 +02007
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02008 <parent>
9 <groupId>org.openecomp.sdc</groupId>
10 <artifactId>sdc-main</artifactId>
Michael Landob5fc68f2018-11-15 13:36:12 +020011 <version>1.4.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>
Michael Lando5b593492018-07-29 16:13:45 +030022 <version>${jackson.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020023 <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>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020034 <groupId>org.openecomp.sdc</groupId>
35 <artifactId>security-utils</artifactId>
36 <version>${project.version}</version>
37 <scope>compile</scope>
38 </dependency>
shrek20001dd5db92019-02-07 12:57:08 +020039 <dependency>
40 <groupId>org.onap.sdc.common</groupId>
41 <artifactId>onap-tosca-datatype</artifactId>
42 <version>${project.version}</version>
43 <scope>compile</scope>
44 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020045
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020046 <!-- Swagger Dependencies Start -->
47 <dependency>
48 <groupId>io.swagger</groupId>
49 <artifactId>swagger-jersey2-jaxrs</artifactId>
50 <scope>compile</scope>
Michael Landocb1b7da2018-05-22 20:43:41 +030051 <version>1.5.15</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020052 </dependency>
53 <!-- Swagger Dependencies End -->
Tal Gitelmaned7e1c32017-06-29 19:30:00 +030054
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020055 <dependency>
56 <groupId>org.openecomp.sdc</groupId>
57 <artifactId>common-app-api</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>org.openecomp.sdc.be</groupId>
64 <artifactId>common-be</artifactId>
65 <version>${project.version}</version>
66 <scope>compile</scope>
67 </dependency>
68 <dependency>
69 <groupId>org.openecomp.sdc.be</groupId>
70 <artifactId>catalog-dao</artifactId>
71 <version>${project.version}</version>
72 <scope>compile</scope>
73 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020074
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020075 <dependency>
76 <groupId>org.openecomp.sdc.be</groupId>
77 <artifactId>catalog-model</artifactId>
78 <version>${project.version}</version>
79 <scope>compile</scope>
80 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020081
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020082 <dependency>
83 <groupId>ch.qos.logback</groupId>
84 <artifactId>logback-classic</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +030085 <version>${logback.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020086 <scope>compile</scope>
87 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020088
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020089 <!-- Snake Yaml -->
90 <dependency>
91 <groupId>org.yaml</groupId>
92 <artifactId>snakeyaml</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +030093 <version>${snakeyaml.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020094 <scope>compile</scope>
95 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020096
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020097 <!-- File changes listener -->
98 <dependency>
99 <groupId>org.apache.commons</groupId>
100 <artifactId>commons-jci-core</artifactId>
101 <version>${commons-jci-core.version}</version>
102 <scope>compile</scope>
103 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200104
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200105 <!-- Gson -->
106 <dependency>
107 <groupId>com.google.code.gson</groupId>
108 <artifactId>gson</artifactId>
109 <version>${gson.version}</version>
110 <scope>compile</scope>
111 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200112
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200113 <!-- jersey -->
114 <dependency>
115 <groupId>org.glassfish.jersey.media</groupId>
116 <artifactId>jersey-media-json-jackson</artifactId>
117 <version>${jersey-bom.version}</version>
118 <scope>compile</scope>
119 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200120
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200121 <dependency>
122 <groupId>org.glassfish.jersey.containers</groupId>
123 <artifactId>jersey-container-servlet-core</artifactId>
124 <version>${jersey-bom.version}</version>
125 <scope>compile</scope>
126 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200127
Michael Lando5b593492018-07-29 16:13:45 +0300128 <dependency>
129 <groupId>org.glassfish.jersey.media</groupId>
130 <artifactId>jersey-media-multipart</artifactId>
131 <version>${jersey-bom.version}</version>
132 <scope>compile</scope>
133 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300134 <dependency>
135 <groupId>org.glassfish.jersey.ext</groupId>
136 <artifactId>jersey-spring4</artifactId>
137 <version>${jersey-bom.version}</version>
138 <exclusions>
139 <exclusion>
140 <groupId>org.springframework</groupId>
141 <artifactId>spring-web</artifactId>
142 </exclusion>
143 <exclusion>
144 <groupId>org.springframework</groupId>
145 <artifactId>spring-beans</artifactId>
146 </exclusion>
147 <exclusion>
148 <groupId>org.springframework</groupId>
149 <artifactId>spring-core</artifactId>
150 </exclusion>
151 <exclusion>
152 <groupId>org.springframework</groupId>
153 <artifactId>spring-aop</artifactId>
154 </exclusion>
155 <!-- Transitive dependency of spring-bridge -->
156 <exclusion>
157 <groupId>org.springframework</groupId>
158 <artifactId>spring-context</artifactId>
159 </exclusion>
160 </exclusions>
Michael Landoa5445102018-03-04 14:53:33 +0200161
Michael Lando5b593492018-07-29 16:13:45 +0300162 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200163
Michael Lando5b593492018-07-29 16:13:45 +0300164 <!--asm-all-repackaged is a jersey dependency. in current version jersey depends on a version that was compiled using java 9 compiler
165 currently our jetty (v9.3.6) does not support java 9. as soon as jetty gets upgraded we will remove this dependency-->
166 <dependency>
167 <groupId>org.glassfish.hk2.external</groupId>
168 <artifactId>asm-all-repackaged</artifactId>
169 </dependency>
170
171 <dependency>
172 <groupId>org.glassfish.jersey.ext</groupId>
173 <artifactId>jersey-bean-validation</artifactId>
174 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200175
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200176 <!-- http client -->
177 <dependency>
178 <groupId>org.apache.httpcomponents</groupId>
179 <artifactId>httpclient</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300180 <version>${httpclient.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200181 <scope>compile</scope>
182 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200183
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200184 <dependency>
185 <groupId>org.apache.httpcomponents</groupId>
186 <artifactId>httpcore</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300187 <version>${httpcore.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200188 <scope>compile</scope>
189 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200190
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200191 <dependency>
192 <groupId>commons-logging</groupId>
193 <artifactId>commons-logging</artifactId>
194 <version>${commons-logging}</version>
195 <scope>compile</scope>
196 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200197
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200198 <dependency>
199 <groupId>commons-codec</groupId>
200 <artifactId>commons-codec</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300201 <version>${commons-codec}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200202 <scope>compile</scope>
203 </dependency>
204 <!-- http client END -->
Michael Lando451a3402017-02-19 10:28:42 +0200205
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200206 <dependency>
207 <groupId>javax.servlet</groupId>
vempod6d12912018-07-09 14:27:57 +0300208 <artifactId>javax.servlet-api</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300209 <version>${servlet-api.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200210 <scope>provided</scope>
211 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200212
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200213 <dependency>
214 <groupId>org.eclipse.jgit</groupId>
215 <artifactId>org.eclipse.jgit</artifactId>
216 <version>3.4.1.201406201815-r</version>
217 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200218
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200219 <!-- spring - used by A4C -->
220 <dependency>
221 <groupId>org.springframework</groupId>
222 <artifactId>spring-core</artifactId>
223 <version>${spring.version}</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>org.springframework</groupId>
229 <artifactId>spring-context</artifactId>
230 <version>${spring.version}</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>org.springframework</groupId>
236 <artifactId>spring-web</artifactId>
237 <version>${spring.version}</version>
238 <scope>compile</scope>
239 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200240
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200241 <dependency>
242 <groupId>org.springframework</groupId>
243 <artifactId>spring-webmvc</artifactId>
244 <version>${spring.version}</version>
245 <scope>compile</scope>
246 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200247
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200248 <dependency>
249 <groupId>org.springframework</groupId>
250 <artifactId>spring-aop</artifactId>
251 <version>${spring.version}</version>
252 <scope>compile</scope>
253 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200254
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200255 <dependency>
256 <groupId>org.springframework</groupId>
257 <artifactId>spring-beans</artifactId>
258 <version>${spring.version}</version>
259 <scope>compile</scope>
260 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200261
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200262 <dependency>
263 <groupId>org.springframework</groupId>
264 <artifactId>spring-expression</artifactId>
265 <version>${spring.version}</version>
266 <scope>compile</scope>
267 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200268
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200269 <dependency>
270 <groupId>org.codehaus.groovy</groupId>
Tal Gitelmana3b79a22018-09-25 17:22:34 +0300271 <artifactId>groovy</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200272 <scope>compile</scope>
273 </dependency>
Michael Landoc34b77c2017-02-28 19:03:11 +0200274
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200275 <dependency>
276 <groupId>org.codehaus.janino</groupId>
277 <artifactId>janino</artifactId>
278 <version>${janino.version}</version>
279 <scope>compile</scope>
280 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200281
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200282 <dependency>
283 <groupId>org.codehaus.janino</groupId>
284 <artifactId>commons-compiler</artifactId>
285 <version>${janino.version}</version>
286 <scope>compile</scope>
287 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200288
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200289 <dependency>
290 <groupId>com.google.guava</groupId>
291 <artifactId>guava</artifactId>
292 <version>${guava.version}</version>
293 <scope>compile</scope>
294 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200295
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200296 <!-- TITAN -->
297 <dependency>
298 <groupId>com.thinkaurelius.titan</groupId>
299 <artifactId>titan-core</artifactId>
300 <version>${titan.version}</version>
301 <scope>compile</scope>
302 <exclusions>
303 <exclusion>
304 <groupId>org.json</groupId>
305 <artifactId>json</artifactId>
306 </exclusion>
307 <exclusion>
308 <artifactId>slf4j-log4j12</artifactId>
309 <groupId>org.slf4j</groupId>
310 </exclusion>
Tal Gitelman76783962018-09-06 18:16:24 +0300311 <exclusion>
312 <artifactId>commons-collections</artifactId>
313 <groupId>commons-collections</groupId>
314 </exclusion>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200315 </exclusions>
316 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200317
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200318 <dependency>
Michael Landode67b612018-03-15 16:53:05 +0200319 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200320 <artifactId>sdc-titan-cassandra</artifactId>
Michael Landode67b612018-03-15 16:53:05 +0200321 <version>${sdc.titan.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200322 <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 Lando5b593492018-07-29 16:13:45 +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 <!-- functional java -->
359 <dependency>
360 <groupId>org.functionaljava</groupId>
361 <artifactId>functionaljava</artifactId>
362 <version>${functionaljava.version}</version>
363 <scope>compile</scope>
364 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200365
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200366 <!-- Aspects -->
367 <dependency>
368 <groupId>com.jcabi</groupId>
369 <artifactId>jcabi-aspects</artifactId>
370 <version>${jcabi.version}</version>
371 <scope>compile</scope>
372 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200373
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200374 <dependency>
375 <groupId>org.aspectj</groupId>
376 <artifactId>aspectjrt</artifactId>
377 <version>${aspectjrt.version}</version>
378 <scope>compile</scope>
379 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200380
Michael Landoa5445102018-03-04 14:53:33 +0200381
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200382 <!-- CAMBRIA CLIENT for U-EB -->
383 <dependency>
384 <groupId>com.att.nsa</groupId>
385 <artifactId>cambriaClient</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200386 <version>1.2.1-oss</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200387 <scope>compile</scope>
388 <exclusions>
389 <exclusion>
Michael Lando5b593492018-07-29 16:13:45 +0300390 <groupId>com.att.nsa</groupId>
391 <artifactId>saClientLibrary</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200392 </exclusion>
393 </exclusions>
394 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200395
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200396 <dependency>
397 <groupId>org.json</groupId>
398 <artifactId>json</artifactId>
399 <version>20131018</version>
400 <scope>compile</scope>
401 </dependency>
402 <dependency>
403 <groupId>org.apache.tinkerpop</groupId>
404 <artifactId>tinkergraph-gremlin</artifactId>
405 <version>3.0.1-incubating</version>
406 <scope>compile</scope>
407 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200408
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200409 <dependency>
410 <groupId>org.apache.tinkerpop</groupId>
411 <artifactId>gremlin-groovy</artifactId>
412 <version>3.0.1-incubating</version>
413 <scope>compile</scope>
Tal Gitelman96dbee32018-10-10 16:39:59 +0300414 <exclusions>
415 <exclusion>
416 <artifactId>groovy</artifactId>
417 <groupId>org.codehaus.groovy</groupId>
418 </exclusion>
419 </exclusions>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200420 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200421
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200422 <!-- CASSANDRA -->
423 <dependency>
424 <groupId>com.datastax.cassandra</groupId>
425 <artifactId>cassandra-driver-core</artifactId>
426 <version>${cassandra.driver.version}</version>
427 <scope>compile</scope>
428 </dependency>
429 <dependency>
430 <groupId>com.datastax.cassandra</groupId>
431 <artifactId>cassandra-driver-mapping</artifactId>
432 <version>${cassandra.driver.version}</version>
433 <scope>compile</scope>
434 </dependency>
435 <!-- CASSANDRA END -->
Michael Lando451a3402017-02-19 10:28:42 +0200436
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200437 <!-- Inserted for ECOMP Portal Integration -->
438 <dependency>
Tal Gitelman7d05e162018-10-10 14:52:54 +0300439 <groupId>org.onap.portal.sdk</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200440 <artifactId>epsdk-fw</artifactId>
441 <version>${ecomp.version}</version>
442 <scope>compile</scope>
443 <exclusions>
444 <exclusion>
445 <groupId>com.att.nsa</groupId>
446 <artifactId>cambriaClient</artifactId>
447 </exclusion>
448 <exclusion>
449 <artifactId>slf4j-log4j12</artifactId>
450 <groupId>org.slf4j</groupId>
451 </exclusion>
452 </exclusions>
453 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200454
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200455 <!--Jetty Proxy-->
456 <dependency>
457 <groupId>org.eclipse.jetty</groupId>
458 <artifactId>jetty-proxy</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300459 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200460 <scope>compile</scope>
461 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200462
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200463 <dependency>
464 <groupId>org.eclipse.jetty</groupId>
465 <artifactId>jetty-servlets</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300466 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200467 <scope>compile</scope>
468 </dependency>
469 <!-- System metrics -->
470 <dependency>
471 <groupId>org.fusesource</groupId>
472 <artifactId>sigar</artifactId>
473 <version>${sigar.version}</version>
474 <scope>compile</scope>
475 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300476 <dependency>
477 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
478 <artifactId>dmaapClient</artifactId>
479 <version>1.1.3</version>
480 <scope>compile</scope>
481 <exclusions>
482 <exclusion>
483 <groupId>com.att.aft</groupId>
484 <artifactId>dme2</artifactId>
485 </exclusion>
486 </exclusions>
487 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300488 <dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200489 <groupId>com.att.aft</groupId>
490 <artifactId>dme2</artifactId>
491 <version>3.1.200-oss</version>
492 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200493
Michael Lando5b593492018-07-29 16:13:45 +0300494 <dependency>
495 <groupId>javax.jms</groupId>
496 <artifactId>jms</artifactId>
497 <version>1.1</version>
498 <scope>provided</scope>
499 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200500
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200501 <!-- TEST -->
502 <dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300503 <groupId>org.assertj</groupId>
504 <artifactId>assertj-core</artifactId>
505 <scope>test</scope>
506 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200507
Michael Lando5b593492018-07-29 16:13:45 +0300508 <dependency>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200509 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
510 <artifactId>jersey-test-framework-provider-bundle</artifactId>
511 <version>${jersey-bom.version}</version>
512 <type>pom</type>
513 <scope>test</scope>
514 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200515
Michael Lando5b593492018-07-29 16:13:45 +0300516 <dependency>
517 <groupId>org.glassfish.jersey.core</groupId>
518 <artifactId>jersey-client</artifactId>
519 <version>${jersey-bom.version}</version>
Michael Lando5b593492018-07-29 16:13:45 +0300520 </dependency>
521
522 <dependency>
523 <groupId>com.github.tomakehurst</groupId>
524 <artifactId>wiremock-standalone</artifactId>
525 <scope>test</scope>
526 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200527
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200528 <dependency>
529 <groupId>org.eclipse.jetty</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200530 <artifactId>jetty-webapp</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300531 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200532 <scope>test</scope>
533 </dependency>
534
535 <dependency>
536 <groupId>junit</groupId>
537 <artifactId>junit</artifactId>
538 <version>${junit.version}</version>
539 <scope>test</scope>
540 </dependency>
541
542 <dependency>
543 <groupId>org.mockito</groupId>
544 <artifactId>mockito-core</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200545 <scope>test</scope>
546 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200547
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200548 <dependency>
549 <groupId>org.springframework</groupId>
550 <artifactId>spring-test</artifactId>
551 <version>${spring.version}</version>
552 <scope>test</scope>
553 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200554
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200555 <dependency>
556 <groupId>org.springframework</groupId>
557 <artifactId>spring-tx</artifactId>
558 <version>${spring.version}</version>
Michael Lando5b593492018-07-29 16:13:45 +0300559 </dependency>
560
561 <dependency>
562 <groupId>io.cucumber</groupId>
563 <artifactId>cucumber-java</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200564 <scope>test</scope>
565 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200566
Michael Lando5b593492018-07-29 16:13:45 +0300567 <dependency>
568 <groupId>io.cucumber</groupId>
569 <artifactId>cucumber-junit</artifactId>
570 <scope>test</scope>
571 </dependency>
dekstroza37843cb2018-05-18 14:42:24 +0100572
573 <dependency>
574 <groupId>org.jmockit</groupId>
575 <artifactId>jmockit</artifactId>
576 <version>${jmockit.version}</version>
577 <scope>test</scope>
578 </dependency>
Tal Gitelman364c0f52018-06-13 14:51:53 +0300579
580 <dependency>
581 <groupId>com.google.code.bean-matchers</groupId>
582 <artifactId>bean-matchers</artifactId>
583 <version>0.11</version>
584 <scope>test</scope>
585 </dependency>
Tal Gitelmane0199372018-09-18 11:57:53 +0300586
587 <dependency>
588 <groupId>org.codehaus.groovy</groupId>
589 <artifactId>groovy</artifactId>
590 <version>2.4.8</version>
591 </dependency>
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300592
593 <dependency>
594 <groupId>io.netty</groupId>
595 <artifactId>netty-handler</artifactId>
596 </dependency>
Talio09537852019-01-31 18:00:36 +0200597 <dependency>
598 <groupId>org.onap.sdc.common</groupId>
599 <artifactId>onap-tosca-datatype</artifactId>
600 <version>${project.version}</version>
601 </dependency>
602 <dependency>
603 <groupId>org.apache.commons</groupId>
604 <artifactId>commons-collections4</artifactId>
Talio1468fdc2019-02-05 11:05:05 +0200605 <version>${commons.collections.version}</version>
Talio09537852019-01-31 18:00:36 +0200606 </dependency>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200607 </dependencies>
dekstroza37843cb2018-05-18 14:42:24 +0100608
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200609 <build>
Michael Lando451a3402017-02-19 10:28:42 +0200610
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200611 <finalName>${project.artifactId}-${project.version}</finalName>
Michael Lando451a3402017-02-19 10:28:42 +0200612
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200613 <plugins>
614 <plugin>
615 <groupId>org.apache.maven.plugins</groupId>
616 <artifactId>maven-war-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200617 <configuration>
618 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
619 WEB-INF/classes/elasticsearch.yml,
620 WEB-INF/classes/portal.properties
621 </packagingExcludes>
622 <archive>
623 <manifestEntries>
624 <SDC-Version>${project.version}</SDC-Version>
625 </manifestEntries>
626 <manifest>
627 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
628 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
629 </manifest>
630 </archive>
Michael Lando451a3402017-02-19 10:28:42 +0200631
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200632 <webResources>
633 <resource>
634 <directory>src/main/resources</directory>
635 <directory>src/main/resources/swagger</directory>
636 </resource>
637 </webResources>
638 <attachClasses>true</attachClasses>
639 </configuration>
640 </plugin>
Michael Lando5b593492018-07-29 16:13:45 +0300641 <plugin>
dekstroza37843cb2018-05-18 14:42:24 +0100642 <groupId>com.github.sylvainlaurent.maven</groupId>
643 <artifactId>yaml-json-validator-maven-plugin</artifactId>
644 <executions>
645 <execution>
646 <id>validate</id>
647 <phase>validate</phase>
648 <goals>
649 <goal>validate</goal>
650 </goals>
651 <configuration>
652 <validationSets>
653 <validationSet>
654 <includes>
655 <include>src/main/resources/**/*.y*ml</include>
656 <include>src/test/resources/**/*.y*ml</include>
657 </includes>
658 </validationSet>
659 <validationSet>
660 <includes>
661 <include>src/main/resources/**/*.json</include>
662 <include>src/test/resources/**/*.json</include>
663 </includes>
664 </validationSet>
665 </validationSets>
666 </configuration>
667 </execution>
668 </executions>
669 </plugin>
670 <plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200671 <groupId>com.jcabi</groupId>
672 <artifactId>jcabi-maven-plugin</artifactId>
Michael Landodc856bb2018-08-13 13:27:52 +0300673 <version>${jcabi.maven.plugin.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200674 <executions>
675 <execution>
676 <goals>
677 <goal>ajc</goal>
678 </goals>
679 </execution>
680 </executions>
681 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200682 <plugin>
683 <groupId>org.apache.maven.plugins</groupId>
684 <artifactId>maven-assembly-plugin</artifactId>
685 <executions>
686 <execution>
687 <id>normatives</id>
688 <phase>package</phase>
689 <goals>
690 <goal>single</goal>
691 </goals>
692 <configuration>
693 <finalName>normatives</finalName>
694 <appendAssemblyId>false</appendAssemblyId>
Michael Lando02ab6512018-04-05 23:32:27 +0300695 <descriptors>
696 <descriptor>${project.basedir}/normatives.xml</descriptor>
697 </descriptors>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200698 </configuration>
699 </execution>
700 </executions>
701 </plugin>
702 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300703 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200704 <artifactId>maven-clean-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200705 <executions>
706 <execution>
707 <id>clean.sdc.backend.folder</id>
708 <phase>clean</phase>
709 <goals>
710 <goal>clean</goal>
711 </goals>
712 <configuration>
713 <filesets>
714 <!-- static configuration files -->
715 <fileset>
716 <directory>
717 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
718 </directory>
719 <followSymlinks>false</followSymlinks>
720 <includes>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200721 <include>error-configuration.yaml</include>
722 <include>ecomp-error-configuration.yaml</include>
723 <include>logback.xml</include>
724 </includes>
725 </fileset>
726 <!-- BE WAR's -->
727 <fileset>
728 <directory>${project.parent.basedir}/catalog-be/sdc-backend</directory>
729 <followSymlinks>false</followSymlinks>
730 <includes>
731 <include>*.war</include>
732 </includes>
733 </fileset>
734 <fileset>
735 <directory>
736 ${project.basedir}/sdc-backend-init/chef-repo/cookbooks/sdc-normatives/files/default
737 </directory>
738 <followSymlinks>false</followSymlinks>
739 <includes>
740 <include>normatives.tar.gz</include>
741 </includes>
742 </fileset>
Michael Lando451a3402017-02-19 10:28:42 +0200743
744
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200745 </filesets>
746 </configuration>
747 </execution>
Michael Lando5b593492018-07-29 16:13:45 +0300748
Michael Landoa5445102018-03-04 14:53:33 +0200749 <execution>
Michael Lando5b593492018-07-29 16:13:45 +0300750 <id>clean-static-files</id>
751 <phase>clean</phase>
752 <goals>
753 <goal>clean</goal>
754 </goals>
755 <configuration>
756 <filesets>
757 <!-- tosca files -->
758 <fileset>
759 <directory>${project.parent.basedir}/asdctool/tosca</directory>
760 <followSymlinks>false</followSymlinks>
761 </fileset>
762 </filesets>
763 </configuration>
764 </execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200765 </executions>
766 </plugin>
Michael Lando5b593492018-07-29 16:13:45 +0300767 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300768 <groupId>org.apache.maven.plugins</groupId>
Michael Lando5b593492018-07-29 16:13:45 +0300769 <artifactId>maven-resources-plugin</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300770 <executions>
771 <execution>
772 <id>copy-static-configuration-files</id>
773 <phase>verify</phase>
774 <goals>
775 <goal>copy-resources</goal>
776 </goals>
777 <configuration>
Yuli Shlosbergaf70a202018-09-25 17:16:48 +0300778 <outputDirectory>
779 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
780 </outputDirectory>
Michael Lando5b593492018-07-29 16:13:45 +0300781 <resources>
782 <resource>
Yuli Shlosbergaf70a202018-09-25 17:16:48 +0300783 <directory>${project.parent.basedir}/catalog-be/src/main/resources/config
784 </directory>
Michael Lando5b593492018-07-29 16:13:45 +0300785 <includes>
Michael Lando5b593492018-07-29 16:13:45 +0300786 <include>error-configuration.yaml</include>
787 <include>ecomp-error-configuration.yaml</include>
788 <include>logback.xml</include>
789 </includes>
790 </resource>
791 </resources>
792 </configuration>
793 </execution>
794 <execution>
795 <id>copy-tosca-folder</id>
796 <!-- here the phase you need -->
797 <phase>install</phase>
798 <goals>
799 <goal>copy-resources</goal>
800 </goals>
801 <configuration>
802 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
803 <resources>
804 <resource>
Yuli Shlosbergaf70a202018-09-25 17:16:48 +0300805 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
806 </directory>
Michael Lando5b593492018-07-29 16:13:45 +0300807 <filtering>true</filtering>
808 </resource>
809 </resources>
810 </configuration>
811 </execution>
812 </executions>
813 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200814 </plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200815
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200816 <pluginManagement>
817 <plugins>
818 <!--This plugin's configuration is used to store Eclipse m2e settings
819 only. It has no influence on the Maven build itself. -->
820 <plugin>
821 <groupId>org.eclipse.m2e</groupId>
822 <artifactId>lifecycle-mapping</artifactId>
823 <version>1.0.0</version>
824 <configuration>
825 <lifecycleMappingMetadata>
826 <pluginExecutions>
827 <pluginExecution>
828 <pluginExecutionFilter>
829 <groupId>com.googlecode.maven-download-plugin</groupId>
830 <artifactId>download-maven-plugin</artifactId>
831 <versionRange>[1.2.1,)</versionRange>
832 <goals>
833 <goal>wget</goal>
834 </goals>
835 </pluginExecutionFilter>
836 <action>
837 <ignore></ignore>
838 </action>
839 </pluginExecution>
Michael Lando451a3402017-02-19 10:28:42 +0200840
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200841 <pluginExecution>
842 <pluginExecutionFilter>
843 <groupId>com.jcabi</groupId>
844 <artifactId>jcabi-maven-plugin</artifactId>
845 <versionRange>[0.0,)</versionRange>
846 <goals>
847 <goal>ajc</goal>
848 </goals>
849 </pluginExecutionFilter>
850 <action>
851 <execute/>
852 </action>
853 </pluginExecution>
854
855 </pluginExecutions>
856 </lifecycleMappingMetadata>
857 </configuration>
858 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200859 </plugins>
860 </pluginManagement>
861 <!-- Swagger Plugins End -->
862 </build>
863
864 <profiles>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200865 <profile>
866 <id>docker-staging</id>
867 <properties>
868 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
869 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
870 </properties>
871 </profile>
872
873 <profile>
874 <id>docker</id>
875 <activation>
876 <activeByDefault>false</activeByDefault>
877 </activation>
878 <build>
879 <plugins>
880 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300881 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200882 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200883 <executions>
884 <execution>
885 <id>copy-resources-apidocs</id>
886 <phase>verify</phase>
887 <goals>
888 <goal>copy-resources</goal>
889 </goals>
890 <configuration>
891 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
892 <resources>
893 <resource>
894 <directory>
Gautam Shah09a41f52018-04-11 19:55:29 +0530895 ${project.parent.basedir}/openecomp-be/tools/swagger-ui/target/api-docs
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200896 </directory>
897 <includes>
898 <include>api-docs.war</include>
899 </includes>
900 </resource>
901 </resources>
902 </configuration>
903 </execution>
904
905 <execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200906 <id>copy-resources-be</id>
907 <phase>verify</phase>
908 <goals>
909 <goal>copy-resources</goal>
910 </goals>
911 <configuration>
912 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
913 <resources>
914 <resource>
915 <directory>${project.parent.basedir}/catalog-be/target</directory>
916 <includes>
917 <include>catalog-be-${project.version}.war</include>
918 </includes>
919 </resource>
920 <resource>
921 <directory>
922 ${project.parent.basedir}/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/target
923 </directory>
924 <includes>
925 <include>onboarding-be-${project.version}.war</include>
926 </includes>
927 </resource>
928 </resources>
929 </configuration>
930 </execution>
931 <execution>
932 <id>copy-normatives</id>
933 <phase>verify</phase>
934 <goals>
935 <goal>copy-resources</goal>
936 </goals>
937 <configuration>
Yuli Shlosbergaf70a202018-09-25 17:16:48 +0300938 <outputDirectory>
939 sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
940 </outputDirectory>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200941 <resources>
942 <resource>
943 <directory>${project.parent.basedir}/catalog-be/target</directory>
944 <includes>
945 <include>normatives.tar.gz</include>
946 </includes>
947 </resource>
948 </resources>
949 </configuration>
950 </execution>
951 </executions>
952 </plugin>
953 <plugin>
954 <groupId>io.fabric8</groupId>
955 <artifactId>docker-maven-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200956 <configuration>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200957 <apiVersion>1.23</apiVersion>
958 <registry>nexus3.onap.org:10001</registry>
959 <authConfig>
960 <pull>
961 <username>docker</username>
962 <password>docker</password>
963 </pull>
964 </authConfig>
965 <images>
966
967 <!-- Build backend image -->
968 <image>
969 <name>onap/sdc-backend</name>
970 <alias>sdc-backend</alias>
971 <build>
972 <cleanup>try</cleanup>
973 <dockerFileDir>${project.basedir}/sdc-backend</dockerFileDir>
974 <tags>
975 <tag>${docker.tag}</tag>
Yuli Shlosbergaf70a202018-09-25 17:16:48 +0300976 <tag>
977 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
978 </tag>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200979 </tags>
980 </build>
981 </image>
982 <!-- Build backend-init image -->
983 <image>
984 <name>onap/sdc-backend-init</name>
985 <alias>sdc-backend-init</alias>
986 <build>
987 <cleanup>try</cleanup>
988 <dockerFileDir>${project.basedir}/sdc-backend-init</dockerFileDir>
989 <tags>
990 <tag>${docker.tag}</tag>
Yuli Shlosbergaf70a202018-09-25 17:16:48 +0300991 <tag>
992 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
993 </tag>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200994 </tags>
995 </build>
996 </image>
997 </images>
998 </configuration>
999 <executions>
1000 <execution>
1001 <id>clean-images</id>
1002 <phase>pre-clean</phase>
1003 <goals>
1004 <goal>remove</goal>
1005 </goals>
1006 <configuration>
1007 <removeAll>true</removeAll>
1008 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1009 </configuration>
1010 </execution>
1011
1012 <execution>
1013 <id>generate-images</id>
1014 <phase>install</phase>
1015 <goals>
1016 <goal>build</goal>
1017 </goals>
1018 </execution>
1019
1020 <execution>
1021 <id>push-images</id>
1022 <phase>deploy</phase>
1023 <goals>
1024 <goal>push</goal>
1025 </goals>
1026 <configuration>
1027 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1028 </configuration>
1029 </execution>
1030 </executions>
1031 </plugin>
1032 </plugins>
1033 </build>
1034 </profile>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02001035 </profiles>
dekstroza37843cb2018-05-18 14:42:24 +01001036</project>