blob: 373ae996a85caea9cdebfc0edb0b591957bc9692 [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>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020015 </properties>
Michael Lando451a3402017-02-19 10:28:42 +020016
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020017 <dependencies>
18 <!--JSON and YAML Parsing-->
19 <dependency>
20 <groupId>com.fasterxml.jackson.dataformat</groupId>
21 <artifactId>jackson-dataformat-yaml</artifactId>
22 <version>${jackson.yaml.version}</version>
23 <scope>compile</scope>
24 </dependency>
Michael Landoc34b77c2017-02-28 19:03:11 +020025
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020026 <dependency>
27 <groupId>com.fasterxml.jackson.core</groupId>
28 <artifactId>jackson-databind</artifactId>
29 <version>${jackson.version}</version>
30 <scope>compile</scope>
31 </dependency>
Michael Landoc0ac0152017-02-27 23:48:43 +020032
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020033 <dependency>
34 <groupId>com.fasterxml.jackson.core</groupId>
35 <artifactId>jackson-core</artifactId>
36 <version>${jackson.version}</version>
37 <scope>compile</scope>
38 </dependency>
Michael Landoc0ac0152017-02-27 23:48:43 +020039
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020040 <dependency>
41 <groupId>com.fasterxml.jackson.core</groupId>
42 <artifactId>jackson-annotations</artifactId>
43 <version>${jackson.annotations.version}</version>
44 <scope>compile</scope>
45 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +030046
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020047 <dependency>
48 <groupId>org.glassfish.jersey.media</groupId>
49 <artifactId>jersey-media-multipart</artifactId>
50 <version>${jersey-bom.version}</version>
51 <scope>compile</scope>
52 </dependency>
Michael Landoc0ac0152017-02-27 23:48:43 +020053
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020054 <dependency>
55 <groupId>org.openecomp.sdc</groupId>
56 <artifactId>security-utils</artifactId>
57 <version>${project.version}</version>
58 <scope>compile</scope>
59 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020060
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020061 <dependency>
62 <groupId>com.tinkerpop.blueprints</groupId>
63 <artifactId>blueprints-sail-graph</artifactId>
64 <version>2.5.0</version>
65 <optional>true</optional>
66 <exclusions>
67 <exclusion>
68 <groupId>org.slf4j</groupId>
69 <artifactId>slf4j-log4j12</artifactId>
70 </exclusion>
71 </exclusions>
72 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020073
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020074 <dependency>
75 <groupId>com.tinkerpop.blueprints</groupId>
76 <artifactId>blueprints-graph-sail</artifactId>
77 <version>2.5.0</version>
78 <optional>true</optional>
79 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020080
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020081 <!-- Swagger Dependencies Start -->
82 <dependency>
83 <groupId>io.swagger</groupId>
84 <artifactId>swagger-jersey2-jaxrs</artifactId>
85 <scope>compile</scope>
Gitelman, Tal (tg851x)6a924cf2018-03-13 14:00:22 +020086 <version>1.5.18</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020087 </dependency>
Gitelman, Tal (tg851x)6a924cf2018-03-13 14:00:22 +020088
89 <!-- <dependency>
90 <groupId>io.swagger.core.v3</groupId>
91 <artifactId>swagger-jaxrs2</artifactId>
92 <version>2.0.0-rc4</version>
93 </dependency> -->
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020094 <!-- Swagger Dependencies End -->
Tal Gitelmaned7e1c32017-06-29 19:30:00 +030095
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020096 <dependency>
97 <groupId>org.openecomp.sdc</groupId>
98 <artifactId>common-app-api</artifactId>
99 <version>${project.version}</version>
100 <scope>compile</scope>
101 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200102
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200103 <dependency>
104 <groupId>org.openecomp.sdc.be</groupId>
105 <artifactId>common-be</artifactId>
106 <version>${project.version}</version>
107 <scope>compile</scope>
108 </dependency>
109 <dependency>
110 <groupId>org.openecomp.sdc.be</groupId>
111 <artifactId>catalog-dao</artifactId>
112 <version>${project.version}</version>
113 <scope>compile</scope>
114 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200115
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200116 <dependency>
117 <groupId>org.openecomp.sdc.be</groupId>
118 <artifactId>catalog-model</artifactId>
119 <version>${project.version}</version>
120 <scope>compile</scope>
121 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200122
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200123 <dependency>
124 <groupId>ch.qos.logback</groupId>
125 <artifactId>logback-classic</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200126 <version>${logback.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200127 <scope>compile</scope>
128 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200129
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200130 <!-- Snake Yaml -->
131 <dependency>
132 <groupId>org.yaml</groupId>
133 <artifactId>snakeyaml</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200134 <version>${snakeyaml.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200135 <scope>compile</scope>
136 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200137
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200138 <!-- File changes listener -->
139 <dependency>
140 <groupId>org.apache.commons</groupId>
141 <artifactId>commons-jci-core</artifactId>
142 <version>${commons-jci-core.version}</version>
143 <scope>compile</scope>
144 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200145
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200146 <!-- Gson -->
147 <dependency>
148 <groupId>com.google.code.gson</groupId>
149 <artifactId>gson</artifactId>
150 <version>${gson.version}</version>
151 <scope>compile</scope>
152 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200153
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200154 <!-- jersey -->
155 <dependency>
156 <groupId>org.glassfish.jersey.media</groupId>
157 <artifactId>jersey-media-json-jackson</artifactId>
158 <version>${jersey-bom.version}</version>
159 <scope>compile</scope>
160 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200161
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200162 <dependency>
163 <groupId>org.glassfish.jersey.containers</groupId>
164 <artifactId>jersey-container-servlet-core</artifactId>
165 <version>${jersey-bom.version}</version>
166 <scope>compile</scope>
167 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200168
Michael Landoa5445102018-03-04 14:53:33 +0200169 <dependency>
170 <groupId>org.glassfish.jersey.ext</groupId>
171 <artifactId>jersey-spring4</artifactId>
172 <version>${jersey-bom.version}</version>
173 <exclusions>
174 <exclusion>
175 <groupId>org.springframework</groupId>
176 <artifactId>spring-web</artifactId>
177 </exclusion>
178 <exclusion>
179 <groupId>org.springframework</groupId>
180 <artifactId>spring-beans</artifactId>
181 </exclusion>
182 <exclusion>
183 <groupId>org.springframework</groupId>
184 <artifactId>spring-core</artifactId>
185 </exclusion>
186 <exclusion>
187 <groupId>org.springframework</groupId>
188 <artifactId>spring-aop</artifactId>
189 </exclusion>
190 <!-- Transitive dependency of spring-bridge -->
191 <exclusion>
192 <groupId>org.springframework</groupId>
193 <artifactId>spring-context</artifactId>
194 </exclusion>
195 </exclusions>
196
197 </dependency>
198
199 <!--asm-all-repackaged is a jersey dependency. in current version jersey depends on a version that was compiled using java 9 compiler
200 currently our jetty (v9.3.6) does not support java 9. as soon as jetty gets upgraded we will remove this dependency-->
201 <dependency>
202 <groupId>org.glassfish.hk2.external</groupId>
203 <artifactId>asm-all-repackaged</artifactId>
204 </dependency>
205
206 <dependency>
207 <groupId>org.glassfish.jersey.ext</groupId>
208 <artifactId>jersey-bean-validation</artifactId>
209 </dependency>
210
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200211 <!-- http client -->
212 <dependency>
213 <groupId>org.apache.httpcomponents</groupId>
214 <artifactId>httpclient</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200215 <version>${httpclient.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200216 <scope>compile</scope>
217 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200218
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200219 <dependency>
220 <groupId>org.apache.httpcomponents</groupId>
221 <artifactId>httpcore</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200222 <version>${httpcore.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200223 <scope>compile</scope>
224 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200225
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200226 <dependency>
227 <groupId>commons-logging</groupId>
228 <artifactId>commons-logging</artifactId>
229 <version>${commons-logging}</version>
230 <scope>compile</scope>
231 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200232
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200233 <dependency>
234 <groupId>commons-codec</groupId>
235 <artifactId>commons-codec</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200236 <version>${commons-codec}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200237 <scope>compile</scope>
238 </dependency>
239 <!-- http client END -->
Michael Lando451a3402017-02-19 10:28:42 +0200240
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200241 <dependency>
242 <groupId>javax.servlet</groupId>
243 <artifactId>servlet-api</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200244 <version>${servlet-api.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200245 <scope>provided</scope>
246 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200247
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200248 <dependency>
249 <groupId>org.eclipse.jgit</groupId>
250 <artifactId>org.eclipse.jgit</artifactId>
251 <version>3.4.1.201406201815-r</version>
252 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200253
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200254 <!-- spring - used by A4C -->
255 <dependency>
256 <groupId>org.springframework</groupId>
257 <artifactId>spring-core</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-context</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.springframework</groupId>
271 <artifactId>spring-web</artifactId>
272 <version>${spring.version}</version>
273 <scope>compile</scope>
274 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200275
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200276 <dependency>
277 <groupId>org.springframework</groupId>
278 <artifactId>spring-webmvc</artifactId>
279 <version>${spring.version}</version>
280 <scope>compile</scope>
281 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200282
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200283 <dependency>
284 <groupId>org.springframework</groupId>
285 <artifactId>spring-aop</artifactId>
286 <version>${spring.version}</version>
287 <scope>compile</scope>
288 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200289
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200290 <dependency>
291 <groupId>org.springframework</groupId>
292 <artifactId>spring-beans</artifactId>
293 <version>${spring.version}</version>
294 <scope>compile</scope>
295 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200296
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200297 <dependency>
298 <groupId>org.springframework</groupId>
299 <artifactId>spring-expression</artifactId>
300 <version>${spring.version}</version>
301 <scope>compile</scope>
302 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200303
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200304 <dependency>
305 <groupId>org.codehaus.groovy</groupId>
306 <artifactId>groovy-all</artifactId>
307 <version>${groovy.version}</version>
308 <scope>compile</scope>
309 </dependency>
Michael Landoc34b77c2017-02-28 19:03:11 +0200310
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200311 <dependency>
312 <groupId>org.codehaus.janino</groupId>
313 <artifactId>janino</artifactId>
314 <version>${janino.version}</version>
315 <scope>compile</scope>
316 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200317
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200318 <dependency>
319 <groupId>org.codehaus.janino</groupId>
320 <artifactId>commons-compiler</artifactId>
321 <version>${janino.version}</version>
322 <scope>compile</scope>
323 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200324
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200325 <dependency>
326 <groupId>com.google.guava</groupId>
327 <artifactId>guava</artifactId>
328 <version>${guava.version}</version>
329 <scope>compile</scope>
330 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200331
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200332 <!-- TITAN -->
333 <dependency>
334 <groupId>com.thinkaurelius.titan</groupId>
335 <artifactId>titan-core</artifactId>
336 <version>${titan.version}</version>
337 <scope>compile</scope>
338 <exclusions>
339 <exclusion>
340 <groupId>org.json</groupId>
341 <artifactId>json</artifactId>
342 </exclusion>
343 <exclusion>
344 <artifactId>slf4j-log4j12</artifactId>
345 <groupId>org.slf4j</groupId>
346 </exclusion>
347 </exclusions>
348 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200349
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200350 <dependency>
Michael Landode67b612018-03-15 16:53:05 +0200351 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200352 <artifactId>sdc-titan-cassandra</artifactId>
Michael Landode67b612018-03-15 16:53:05 +0200353 <version>${sdc.titan.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200354 <scope>compile</scope>
355 <exclusions>
356 <exclusion>
357 <groupId>org.slf4j</groupId>
358 <artifactId>slf4j-log4j12</artifactId>
359 </exclusion>
360 <exclusion>
361 <groupId>io.netty</groupId>
362 <artifactId>netty-all</artifactId>
363 </exclusion>
364 </exclusions>
365 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200366
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200367 <dependency>
368 <groupId>org.apache.commons</groupId>
369 <artifactId>commons-lang3</artifactId>
370 <version>${lang3.version}</version>
371 <scope>compile</scope>
372 </dependency>
373 <!-- TITAN END -->
Michael Lando451a3402017-02-19 10:28:42 +0200374
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200375 <dependency>
376 <groupId>com.googlecode.json-simple</groupId>
377 <artifactId>json-simple</artifactId>
378 <version>${json-simple.version}</version>
379 <scope>compile</scope>
Michael Lando451a3402017-02-19 10:28:42 +0200380
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200381 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200382
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200383 <dependency>
384 <groupId>org.elasticsearch</groupId>
385 <artifactId>elasticsearch</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200386 <version>${elastic-search.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200387 <scope>compile</scope>
388 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200389
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200390 <dependency>
391 <groupId>org.elasticsearch.plugin</groupId>
392 <artifactId>shield</artifactId>
393 <version>${elastic-search.version}</version>
394 <scope>compile</scope>
395 </dependency>
396 <!-- functional java -->
397 <dependency>
398 <groupId>org.functionaljava</groupId>
399 <artifactId>functionaljava</artifactId>
400 <version>${functionaljava.version}</version>
401 <scope>compile</scope>
402 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200403
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200404 <!-- Aspects -->
405 <dependency>
406 <groupId>com.jcabi</groupId>
407 <artifactId>jcabi-aspects</artifactId>
408 <version>${jcabi.version}</version>
409 <scope>compile</scope>
410 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200411
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200412 <dependency>
413 <groupId>org.aspectj</groupId>
414 <artifactId>aspectjrt</artifactId>
415 <version>${aspectjrt.version}</version>
416 <scope>compile</scope>
417 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200418
Michael Landoa5445102018-03-04 14:53:33 +0200419
420
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200421 <!-- CAMBRIA CLIENT for U-EB -->
422 <dependency>
423 <groupId>com.att.nsa</groupId>
424 <artifactId>cambriaClient</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200425 <version>1.2.1-oss</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200426 <scope>compile</scope>
427 <exclusions>
428 <exclusion>
Michael Landoa5445102018-03-04 14:53:33 +0200429 <groupId>com.att.nsa</groupId>
430 <artifactId>saClientLibrary</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200431 </exclusion>
432 </exclusions>
433 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200434
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200435 <dependency>
436 <groupId>org.json</groupId>
437 <artifactId>json</artifactId>
438 <version>20131018</version>
439 <scope>compile</scope>
440 </dependency>
441 <dependency>
442 <groupId>org.apache.tinkerpop</groupId>
443 <artifactId>tinkergraph-gremlin</artifactId>
444 <version>3.0.1-incubating</version>
445 <scope>compile</scope>
446 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200447
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200448 <dependency>
449 <groupId>org.apache.tinkerpop</groupId>
450 <artifactId>gremlin-groovy</artifactId>
451 <version>3.0.1-incubating</version>
452 <scope>compile</scope>
453 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200454
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200455 <!-- CASSANDRA -->
456 <dependency>
457 <groupId>com.datastax.cassandra</groupId>
458 <artifactId>cassandra-driver-core</artifactId>
459 <version>${cassandra.driver.version}</version>
460 <scope>compile</scope>
461 </dependency>
462 <dependency>
463 <groupId>com.datastax.cassandra</groupId>
464 <artifactId>cassandra-driver-mapping</artifactId>
465 <version>${cassandra.driver.version}</version>
466 <scope>compile</scope>
467 </dependency>
468 <!-- CASSANDRA END -->
Michael Lando451a3402017-02-19 10:28:42 +0200469
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200470 <!-- Inserted for ECOMP Portal Integration -->
471 <dependency>
472 <groupId>org.openecomp.ecompsdkos</groupId>
473 <artifactId>epsdk-fw</artifactId>
474 <version>${ecomp.version}</version>
475 <scope>compile</scope>
476 <exclusions>
477 <exclusion>
478 <groupId>com.att.nsa</groupId>
479 <artifactId>cambriaClient</artifactId>
480 </exclusion>
481 <exclusion>
482 <artifactId>slf4j-log4j12</artifactId>
483 <groupId>org.slf4j</groupId>
484 </exclusion>
485 </exclusions>
486 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200487
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200488 <!--Artifact Generator-->
489 <dependency>
490 <groupId>org.openecomp.sdc.common</groupId>
491 <artifactId>openecomp-sdc-artifact-generator-api</artifactId>
492 <version>${artifact-generator-api.version}</version>
493 <scope>compile</scope>
494 <exclusions>
495 <exclusion>
496 <groupId>junit</groupId>
497 <artifactId>junit</artifactId>
498 </exclusion>
499 </exclusions>
500 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200501
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200502 <dependency>
503 <groupId>org.openecomp.sdc.common</groupId>
504 <artifactId>openecomp-sdc-artifact-generator-core</artifactId>
505 <version>${artifact-generator-core.version}</version>
506 <scope>compile</scope>
507 <exclusions>
508 <exclusion>
509 <groupId>junit</groupId>
510 <artifactId>junit</artifactId>
511 </exclusion>
512 </exclusions>
513 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200514
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200515 <dependency>
516 <groupId>org.openecomp.sdc.common</groupId>
517 <artifactId>openecomp-common-lib</artifactId>
518 <version>${dox-common-lib.version}</version>
519 <type>pom</type>
520 <exclusions>
521 <exclusion>
522 <groupId>junit</groupId>
523 <artifactId>junit</artifactId>
524 </exclusion>
525 </exclusions>
526 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200527
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200528 <!--Jetty Proxy-->
529 <dependency>
530 <groupId>org.eclipse.jetty</groupId>
531 <artifactId>jetty-proxy</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300532 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200533 <scope>compile</scope>
534 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200535
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200536 <dependency>
537 <groupId>org.eclipse.jetty</groupId>
538 <artifactId>jetty-servlets</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300539 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200540 <scope>compile</scope>
541 </dependency>
542 <!-- System metrics -->
543 <dependency>
544 <groupId>org.fusesource</groupId>
545 <artifactId>sigar</artifactId>
546 <version>${sigar.version}</version>
547 <scope>compile</scope>
548 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200549
Michael Landoa5445102018-03-04 14:53:33 +0200550 <dependency>
551 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
552 <artifactId>dmaapClient</artifactId>
Idan Amita65b55d2018-03-14 09:59:41 +0200553 <version>1.1.3</version>
Michael Landoa5445102018-03-04 14:53:33 +0200554 <scope>compile</scope>
555 <exclusions>
556 <exclusion>
557 <groupId>com.att.aft</groupId>
558 <artifactId>dme2</artifactId>
559 </exclusion>
560 </exclusions>
561 </dependency>
562 <dependency>
563 <groupId>com.att.aft</groupId>
564 <artifactId>dme2</artifactId>
565 <version>3.1.200-oss</version>
566 </dependency>
567
568 <dependency>
569 <groupId>javax.jms</groupId>
570 <artifactId>jms</artifactId>
571 <version>1.1</version>
572 <scope>provided</scope>
573 </dependency>
574
575 <dependency>
576 <groupId>javax.servlet</groupId>
577 <artifactId>javax.servlet-api</artifactId>
578 <version>3.1.0</version>
579 <scope>provided</scope>
580 </dependency>
581
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200582 <!-- TEST -->
583 <dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200584 <groupId>org.assertj</groupId>
585 <artifactId>assertj-core</artifactId>
586 <scope>test</scope>
587 </dependency>
588
589 <dependency>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200590 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
591 <artifactId>jersey-test-framework-provider-bundle</artifactId>
592 <version>${jersey-bom.version}</version>
593 <type>pom</type>
594 <scope>test</scope>
595 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200596
Michael Landoa5445102018-03-04 14:53:33 +0200597 <!--<dependency>-->
598 <!--<groupId>org.glassfish.jersey.test-framework.providers</groupId>-->
599 <!--<artifactId>jersey-test-framework-provider-inmemory</artifactId>-->
600 <!--<version>${jersey-bom.version}</version>-->
601 <!--<scope>test</scope>-->
602 <!--</dependency>-->
603
604 <dependency>
605 <groupId>org.glassfish.jersey.core</groupId>
606 <artifactId>jersey-client</artifactId>
607 <version>${jersey-bom.version}</version>
608 <!--<scope>test</scope>-->
609 </dependency>
610
611 <dependency>
612 <groupId>com.github.tomakehurst</groupId>
613 <artifactId>wiremock</artifactId>
614 <scope>test</scope>
615 </dependency>
616
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200617 <dependency>
618 <groupId>org.eclipse.jetty</groupId>
619 <artifactId>jetty-servlet</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200620 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200621 <scope>test</scope>
622 </dependency>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200623
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200624 <dependency>
625 <groupId>org.eclipse.jetty</groupId>
626 <artifactId>jetty-webapp</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200627 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200628 <scope>test</scope>
629 </dependency>
630
631 <dependency>
632 <groupId>junit</groupId>
633 <artifactId>junit</artifactId>
634 <version>${junit.version}</version>
635 <scope>test</scope>
636 </dependency>
637
638 <dependency>
639 <groupId>org.mockito</groupId>
640 <artifactId>mockito-core</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200641 <scope>test</scope>
642 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200643
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200644 <dependency>
645 <groupId>org.springframework</groupId>
646 <artifactId>spring-test</artifactId>
647 <version>${spring.version}</version>
648 <scope>test</scope>
649 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200650
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200651 <dependency>
652 <groupId>org.springframework</groupId>
653 <artifactId>spring-tx</artifactId>
654 <version>${spring.version}</version>
655 <scope>test</scope>
656 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200657
658 <dependency>
659 <groupId>io.cucumber</groupId>
660 <artifactId>cucumber-java</artifactId>
661 <scope>test</scope>
662 </dependency>
663
664 <dependency>
665 <groupId>io.cucumber</groupId>
666 <artifactId>cucumber-junit</artifactId>
667 <scope>test</scope>
668 </dependency>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200669 </dependencies>
Michael Lando451a3402017-02-19 10:28:42 +0200670
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200671 <build>
Michael Lando451a3402017-02-19 10:28:42 +0200672
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200673 <finalName>${project.artifactId}-${project.version}</finalName>
Michael Lando451a3402017-02-19 10:28:42 +0200674
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200675 <plugins>
676 <plugin>
677 <groupId>org.apache.maven.plugins</groupId>
678 <artifactId>maven-war-plugin</artifactId>
679 <version>2.6</version>
680 <configuration>
681 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
682 WEB-INF/classes/elasticsearch.yml,
683 WEB-INF/classes/portal.properties
684 </packagingExcludes>
685 <archive>
686 <manifestEntries>
687 <SDC-Version>${project.version}</SDC-Version>
688 </manifestEntries>
689 <manifest>
690 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
691 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
692 </manifest>
693 </archive>
Michael Lando451a3402017-02-19 10:28:42 +0200694
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200695 <webResources>
696 <resource>
697 <directory>src/main/resources</directory>
698 <directory>src/main/resources/swagger</directory>
699 </resource>
700 </webResources>
701 <attachClasses>true</attachClasses>
702 </configuration>
703 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300704
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200705 <plugin>
Michael Landoa5445102018-03-04 14:53:33 +0200706 <groupId>org.apache.maven.plugins</groupId>
707 <artifactId>maven-dependency-plugin</artifactId>
708 <executions>
709 <execution>
710 <id>copy-dependencies</id>
711 <phase>package</phase>
712 <goals>
713 <goal>copy-dependencies</goal>
714 </goals>
715 <configuration>
716 <includeScope>compile</includeScope>
717 </configuration>
718 </execution>
Michael Landoa5445102018-03-04 14:53:33 +0200719 </executions>
720 </plugin>
721
722 <plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200723 <groupId>com.jcabi</groupId>
724 <artifactId>jcabi-maven-plugin</artifactId>
725 <version>${jcabi.plugin.version}</version>
726 <executions>
727 <execution>
728 <goals>
729 <goal>ajc</goal>
730 </goals>
731 </execution>
732 </executions>
733 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300734
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200735 <plugin>
Michael Landoa5445102018-03-04 14:53:33 +0200736 <artifactId>maven-resources-plugin</artifactId>
737 <version>2.6</version>
738 <executions>
739 <execution>
Michael Landoa5445102018-03-04 14:53:33 +0200740 <id>copy-tosca-folder</id>
741 <!-- here the phase you need -->
742 <phase>install</phase>
743 <goals>
744 <goal>copy-resources</goal>
745 </goals>
746 <configuration>
747 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
748 <resources>
749 <resource>
750 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
751 <filtering>true</filtering>
752 </resource>
753 </resources>
754 </configuration>
755 </execution>
756 </executions>
757 </plugin>
758
759 <plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200760 <groupId>org.apache.maven.plugins</groupId>
761 <artifactId>maven-assembly-plugin</artifactId>
762 <executions>
763 <execution>
764 <id>normatives</id>
765 <phase>package</phase>
766 <goals>
767 <goal>single</goal>
768 </goals>
769 <configuration>
770 <finalName>normatives</finalName>
771 <appendAssemblyId>false</appendAssemblyId>
Michael Lando02ab6512018-04-05 23:32:27 +0300772 <descriptors>
773 <descriptor>${project.basedir}/normatives.xml</descriptor>
774 </descriptors>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200775 </configuration>
776 </execution>
777 </executions>
778 </plugin>
779 <plugin>
780 <artifactId>maven-clean-plugin</artifactId>
781 <version>3.0.0</version>
782 <executions>
783 <execution>
784 <id>clean.sdc.backend.folder</id>
785 <phase>clean</phase>
786 <goals>
787 <goal>clean</goal>
788 </goals>
789 <configuration>
790 <filesets>
791 <!-- static configuration files -->
792 <fileset>
793 <directory>
794 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
795 </directory>
796 <followSymlinks>false</followSymlinks>
797 <includes>
798 <include>Artifact-Generator.properties</include>
799 <include>error-configuration.yaml</include>
800 <include>ecomp-error-configuration.yaml</include>
801 <include>logback.xml</include>
802 </includes>
803 </fileset>
804 <!-- BE WAR's -->
805 <fileset>
806 <directory>${project.parent.basedir}/catalog-be/sdc-backend</directory>
807 <followSymlinks>false</followSymlinks>
808 <includes>
809 <include>*.war</include>
810 </includes>
811 </fileset>
812 <fileset>
813 <directory>
814 ${project.basedir}/sdc-backend-init/chef-repo/cookbooks/sdc-normatives/files/default
815 </directory>
816 <followSymlinks>false</followSymlinks>
817 <includes>
818 <include>normatives.tar.gz</include>
819 </includes>
820 </fileset>
Michael Lando451a3402017-02-19 10:28:42 +0200821
822
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200823 </filesets>
824 </configuration>
825 </execution>
Michael Landoa5445102018-03-04 14:53:33 +0200826
827 <execution>
828 <id>clean-static-files</id>
829 <phase>clean</phase>
830 <goals>
831 <goal>clean</goal>
832 </goals>
833 <configuration>
834 <filesets>
835 <!-- tosca files -->
836 <fileset>
837 <directory>${project.parent.basedir}/asdctool/tosca</directory>
838 <followSymlinks>false</followSymlinks>
839 </fileset>
Michael Landoa5445102018-03-04 14:53:33 +0200840 </filesets>
841 </configuration>
842 </execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200843 </executions>
844 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200845
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200846 </plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200847
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200848 <pluginManagement>
849 <plugins>
850 <!--This plugin's configuration is used to store Eclipse m2e settings
851 only. It has no influence on the Maven build itself. -->
852 <plugin>
853 <groupId>org.eclipse.m2e</groupId>
854 <artifactId>lifecycle-mapping</artifactId>
855 <version>1.0.0</version>
856 <configuration>
857 <lifecycleMappingMetadata>
858 <pluginExecutions>
859 <pluginExecution>
860 <pluginExecutionFilter>
861 <groupId>com.googlecode.maven-download-plugin</groupId>
862 <artifactId>download-maven-plugin</artifactId>
863 <versionRange>[1.2.1,)</versionRange>
864 <goals>
865 <goal>wget</goal>
866 </goals>
867 </pluginExecutionFilter>
868 <action>
869 <ignore></ignore>
870 </action>
871 </pluginExecution>
Michael Lando451a3402017-02-19 10:28:42 +0200872
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200873 <pluginExecution>
874 <pluginExecutionFilter>
875 <groupId>com.jcabi</groupId>
876 <artifactId>jcabi-maven-plugin</artifactId>
877 <versionRange>[0.0,)</versionRange>
878 <goals>
879 <goal>ajc</goal>
880 </goals>
881 </pluginExecutionFilter>
882 <action>
883 <execute/>
884 </action>
885 </pluginExecution>
886
887 </pluginExecutions>
888 </lifecycleMappingMetadata>
889 </configuration>
890 </plugin>
891 <plugin>
892 <groupId>org.apache.maven.plugins</groupId>
893 <artifactId>maven-deploy-plugin</artifactId>
894 <version>2.7</version>
895 <configuration>
896 <skip>true</skip>
897 </configuration>
898 </plugin>
899 </plugins>
900 </pluginManagement>
901 <!-- Swagger Plugins End -->
902 </build>
903
904 <profiles>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200905 <profile>
906 <id>docker-staging</id>
907 <properties>
908 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
909 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
910 </properties>
911 </profile>
912
913 <profile>
914 <id>docker</id>
915 <activation>
916 <activeByDefault>false</activeByDefault>
917 </activation>
918 <build>
919 <plugins>
920 <plugin>
921 <artifactId>maven-resources-plugin</artifactId>
922 <version>3.0.2</version>
923 <executions>
924 <execution>
925 <id>copy-resources-apidocs</id>
926 <phase>verify</phase>
927 <goals>
928 <goal>copy-resources</goal>
929 </goals>
930 <configuration>
931 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
932 <resources>
933 <resource>
934 <directory>
Gautam Shah09a41f52018-04-11 19:55:29 +0530935 ${project.parent.basedir}/openecomp-be/tools/swagger-ui/target/api-docs
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200936 </directory>
937 <includes>
938 <include>api-docs.war</include>
939 </includes>
940 </resource>
941 </resources>
942 </configuration>
943 </execution>
944
945 <execution>
946 <id>copy-static-configuration-files</id>
947 <phase>verify</phase>
948 <goals>
949 <goal>copy-resources</goal>
950 </goals>
951 <configuration>
952 <outputDirectory>${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default</outputDirectory>
953 <resources>
954 <resource>
955 <directory>${project.parent.basedir}/catalog-be/src/main/resources/config</directory>
956 <includes>
957 <include>Artifact-Generator.properties</include>
958 <include>error-configuration.yaml</include>
959 <include>ecomp-error-configuration.yaml</include>
960 <include>logback.xml</include>
961 </includes>
962 </resource>
963 </resources>
964 </configuration>
965 </execution>
966
967 <execution>
968 <id>copy-resources-be</id>
969 <phase>verify</phase>
970 <goals>
971 <goal>copy-resources</goal>
972 </goals>
973 <configuration>
974 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
975 <resources>
976 <resource>
977 <directory>${project.parent.basedir}/catalog-be/target</directory>
978 <includes>
979 <include>catalog-be-${project.version}.war</include>
980 </includes>
981 </resource>
982 <resource>
983 <directory>
984 ${project.parent.basedir}/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/target
985 </directory>
986 <includes>
987 <include>onboarding-be-${project.version}.war</include>
988 </includes>
989 </resource>
990 </resources>
991 </configuration>
992 </execution>
993 <execution>
994 <id>copy-normatives</id>
995 <phase>verify</phase>
996 <goals>
997 <goal>copy-resources</goal>
998 </goals>
999 <configuration>
1000 <outputDirectory>sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default</outputDirectory>
1001 <resources>
1002 <resource>
1003 <directory>${project.parent.basedir}/catalog-be/target</directory>
1004 <includes>
1005 <include>normatives.tar.gz</include>
1006 </includes>
1007 </resource>
1008 </resources>
1009 </configuration>
1010 </execution>
1011 </executions>
1012 </plugin>
1013 <plugin>
1014 <groupId>io.fabric8</groupId>
1015 <artifactId>docker-maven-plugin</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +02001016 <version>${fabric8.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02001017
1018 <configuration>
1019 <verbose>true</verbose>
1020 <apiVersion>1.23</apiVersion>
1021 <registry>nexus3.onap.org:10001</registry>
1022 <authConfig>
1023 <pull>
1024 <username>docker</username>
1025 <password>docker</password>
1026 </pull>
1027 </authConfig>
1028 <images>
1029
1030 <!-- Build backend image -->
1031 <image>
1032 <name>onap/sdc-backend</name>
1033 <alias>sdc-backend</alias>
1034 <build>
1035 <cleanup>try</cleanup>
1036 <dockerFileDir>${project.basedir}/sdc-backend</dockerFileDir>
1037 <tags>
1038 <tag>${docker.tag}</tag>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02001039 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
1040 </tags>
1041 </build>
1042 </image>
1043 <!-- Build backend-init image -->
1044 <image>
1045 <name>onap/sdc-backend-init</name>
1046 <alias>sdc-backend-init</alias>
1047 <build>
1048 <cleanup>try</cleanup>
1049 <dockerFileDir>${project.basedir}/sdc-backend-init</dockerFileDir>
1050 <tags>
1051 <tag>${docker.tag}</tag>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02001052 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
1053 </tags>
1054 </build>
1055 </image>
1056 </images>
1057 </configuration>
1058 <executions>
1059 <execution>
1060 <id>clean-images</id>
1061 <phase>pre-clean</phase>
1062 <goals>
1063 <goal>remove</goal>
1064 </goals>
1065 <configuration>
1066 <removeAll>true</removeAll>
1067 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1068 </configuration>
1069 </execution>
1070
1071 <execution>
1072 <id>generate-images</id>
1073 <phase>install</phase>
1074 <goals>
1075 <goal>build</goal>
1076 </goals>
1077 </execution>
1078
1079 <execution>
1080 <id>push-images</id>
1081 <phase>deploy</phase>
1082 <goals>
1083 <goal>push</goal>
1084 </goals>
1085 <configuration>
1086 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1087 </configuration>
1088 </execution>
1089 </executions>
1090 </plugin>
1091 </plugins>
1092 </build>
1093 </profile>
1094
1095
1096 </profiles>
Michael Lando451a3402017-02-19 10:28:42 +02001097</project>