blob: bfa8e109917d32188ef2af5af6a2207291833536 [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"
dekstroza37843cb2018-05-18 14:42:24 +01002 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 Landod8a0dea2018-06-02 19:23:27 +030011 <version>1.3.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>
Michael Lando451a3402017-02-19 10:28:42 +020039
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020040 <dependency>
41 <groupId>com.tinkerpop.blueprints</groupId>
42 <artifactId>blueprints-sail-graph</artifactId>
43 <version>2.5.0</version>
44 <optional>true</optional>
45 <exclusions>
46 <exclusion>
47 <groupId>org.slf4j</groupId>
48 <artifactId>slf4j-log4j12</artifactId>
49 </exclusion>
50 </exclusions>
51 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020052
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020053 <dependency>
54 <groupId>com.tinkerpop.blueprints</groupId>
55 <artifactId>blueprints-graph-sail</artifactId>
56 <version>2.5.0</version>
57 <optional>true</optional>
58 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020059
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020060 <!-- Swagger Dependencies Start -->
61 <dependency>
62 <groupId>io.swagger</groupId>
63 <artifactId>swagger-jersey2-jaxrs</artifactId>
64 <scope>compile</scope>
Michael Landocb1b7da2018-05-22 20:43:41 +030065 <version>1.5.15</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020066 </dependency>
67 <!-- Swagger Dependencies End -->
Tal Gitelmaned7e1c32017-06-29 19:30:00 +030068
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020069 <dependency>
70 <groupId>org.openecomp.sdc</groupId>
71 <artifactId>common-app-api</artifactId>
72 <version>${project.version}</version>
73 <scope>compile</scope>
74 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020075
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020076 <dependency>
77 <groupId>org.openecomp.sdc.be</groupId>
78 <artifactId>common-be</artifactId>
79 <version>${project.version}</version>
80 <scope>compile</scope>
81 </dependency>
82 <dependency>
83 <groupId>org.openecomp.sdc.be</groupId>
84 <artifactId>catalog-dao</artifactId>
85 <version>${project.version}</version>
86 <scope>compile</scope>
87 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020088
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020089 <dependency>
90 <groupId>org.openecomp.sdc.be</groupId>
91 <artifactId>catalog-model</artifactId>
92 <version>${project.version}</version>
93 <scope>compile</scope>
94 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020095
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020096 <dependency>
97 <groupId>ch.qos.logback</groupId>
98 <artifactId>logback-classic</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +030099 <version>${logback.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200100 <scope>compile</scope>
101 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200102
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200103 <!-- Snake Yaml -->
104 <dependency>
105 <groupId>org.yaml</groupId>
106 <artifactId>snakeyaml</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300107 <version>${snakeyaml.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200108 <scope>compile</scope>
109 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200110
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200111 <!-- File changes listener -->
112 <dependency>
113 <groupId>org.apache.commons</groupId>
114 <artifactId>commons-jci-core</artifactId>
115 <version>${commons-jci-core.version}</version>
116 <scope>compile</scope>
117 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200118
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200119 <!-- Gson -->
120 <dependency>
121 <groupId>com.google.code.gson</groupId>
122 <artifactId>gson</artifactId>
123 <version>${gson.version}</version>
124 <scope>compile</scope>
125 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200126
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200127 <!-- jersey -->
128 <dependency>
129 <groupId>org.glassfish.jersey.media</groupId>
130 <artifactId>jersey-media-json-jackson</artifactId>
131 <version>${jersey-bom.version}</version>
132 <scope>compile</scope>
133 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200134
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200135 <dependency>
136 <groupId>org.glassfish.jersey.containers</groupId>
137 <artifactId>jersey-container-servlet-core</artifactId>
138 <version>${jersey-bom.version}</version>
139 <scope>compile</scope>
140 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200141
Michael Lando5b593492018-07-29 16:13:45 +0300142 <dependency>
143 <groupId>org.glassfish.jersey.media</groupId>
144 <artifactId>jersey-media-multipart</artifactId>
145 <version>${jersey-bom.version}</version>
146 <scope>compile</scope>
147 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300148 <dependency>
149 <groupId>org.glassfish.jersey.ext</groupId>
150 <artifactId>jersey-spring4</artifactId>
151 <version>${jersey-bom.version}</version>
152 <exclusions>
153 <exclusion>
154 <groupId>org.springframework</groupId>
155 <artifactId>spring-web</artifactId>
156 </exclusion>
157 <exclusion>
158 <groupId>org.springframework</groupId>
159 <artifactId>spring-beans</artifactId>
160 </exclusion>
161 <exclusion>
162 <groupId>org.springframework</groupId>
163 <artifactId>spring-core</artifactId>
164 </exclusion>
165 <exclusion>
166 <groupId>org.springframework</groupId>
167 <artifactId>spring-aop</artifactId>
168 </exclusion>
169 <!-- Transitive dependency of spring-bridge -->
170 <exclusion>
171 <groupId>org.springframework</groupId>
172 <artifactId>spring-context</artifactId>
173 </exclusion>
174 </exclusions>
Michael Landoa5445102018-03-04 14:53:33 +0200175
Michael Lando5b593492018-07-29 16:13:45 +0300176 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200177
Michael Lando5b593492018-07-29 16:13:45 +0300178 <!--asm-all-repackaged is a jersey dependency. in current version jersey depends on a version that was compiled using java 9 compiler
179 currently our jetty (v9.3.6) does not support java 9. as soon as jetty gets upgraded we will remove this dependency-->
180 <dependency>
181 <groupId>org.glassfish.hk2.external</groupId>
182 <artifactId>asm-all-repackaged</artifactId>
183 </dependency>
184
185 <dependency>
186 <groupId>org.glassfish.jersey.ext</groupId>
187 <artifactId>jersey-bean-validation</artifactId>
188 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200189
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200190 <!-- http client -->
191 <dependency>
192 <groupId>org.apache.httpcomponents</groupId>
193 <artifactId>httpclient</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300194 <version>${httpclient.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200195 <scope>compile</scope>
196 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200197
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200198 <dependency>
199 <groupId>org.apache.httpcomponents</groupId>
200 <artifactId>httpcore</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300201 <version>${httpcore.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200202 <scope>compile</scope>
203 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200204
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200205 <dependency>
206 <groupId>commons-logging</groupId>
207 <artifactId>commons-logging</artifactId>
208 <version>${commons-logging}</version>
209 <scope>compile</scope>
210 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200211
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200212 <dependency>
213 <groupId>commons-codec</groupId>
214 <artifactId>commons-codec</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300215 <version>${commons-codec}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200216 <scope>compile</scope>
217 </dependency>
218 <!-- http client END -->
Michael Lando451a3402017-02-19 10:28:42 +0200219
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200220 <dependency>
221 <groupId>javax.servlet</groupId>
vempod6d12912018-07-09 14:27:57 +0300222 <artifactId>javax.servlet-api</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300223 <version>${servlet-api.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200224 <scope>provided</scope>
225 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200226
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200227 <dependency>
228 <groupId>org.eclipse.jgit</groupId>
229 <artifactId>org.eclipse.jgit</artifactId>
230 <version>3.4.1.201406201815-r</version>
231 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200232
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200233 <!-- spring - used by A4C -->
234 <dependency>
235 <groupId>org.springframework</groupId>
236 <artifactId>spring-core</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-context</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-web</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-webmvc</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-aop</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-beans</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-expression</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.codehaus.groovy</groupId>
Tal Gitelmana3b79a22018-09-25 17:22:34 +0300285 <artifactId>groovy</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200286 <scope>compile</scope>
287 </dependency>
Michael Landoc34b77c2017-02-28 19:03:11 +0200288
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200289 <dependency>
290 <groupId>org.codehaus.janino</groupId>
291 <artifactId>janino</artifactId>
292 <version>${janino.version}</version>
293 <scope>compile</scope>
294 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200295
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200296 <dependency>
297 <groupId>org.codehaus.janino</groupId>
298 <artifactId>commons-compiler</artifactId>
299 <version>${janino.version}</version>
300 <scope>compile</scope>
301 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200302
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200303 <dependency>
304 <groupId>com.google.guava</groupId>
305 <artifactId>guava</artifactId>
306 <version>${guava.version}</version>
307 <scope>compile</scope>
308 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200309
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200310 <!-- TITAN -->
311 <dependency>
312 <groupId>com.thinkaurelius.titan</groupId>
313 <artifactId>titan-core</artifactId>
314 <version>${titan.version}</version>
315 <scope>compile</scope>
316 <exclusions>
317 <exclusion>
318 <groupId>org.json</groupId>
319 <artifactId>json</artifactId>
320 </exclusion>
321 <exclusion>
322 <artifactId>slf4j-log4j12</artifactId>
323 <groupId>org.slf4j</groupId>
324 </exclusion>
Tal Gitelman76783962018-09-06 18:16:24 +0300325 <exclusion>
326 <artifactId>commons-collections</artifactId>
327 <groupId>commons-collections</groupId>
328 </exclusion>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200329 </exclusions>
330 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200331
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200332 <dependency>
Michael Landode67b612018-03-15 16:53:05 +0200333 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200334 <artifactId>sdc-titan-cassandra</artifactId>
Michael Landode67b612018-03-15 16:53:05 +0200335 <version>${sdc.titan.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200336 <scope>compile</scope>
337 <exclusions>
338 <exclusion>
339 <groupId>org.slf4j</groupId>
340 <artifactId>slf4j-log4j12</artifactId>
341 </exclusion>
342 <exclusion>
343 <groupId>io.netty</groupId>
344 <artifactId>netty-all</artifactId>
345 </exclusion>
346 </exclusions>
347 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200348
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200349 <dependency>
350 <groupId>org.apache.commons</groupId>
351 <artifactId>commons-lang3</artifactId>
352 <version>${lang3.version}</version>
353 <scope>compile</scope>
354 </dependency>
355 <!-- TITAN END -->
Michael Lando451a3402017-02-19 10:28:42 +0200356
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200357 <dependency>
358 <groupId>com.googlecode.json-simple</groupId>
359 <artifactId>json-simple</artifactId>
360 <version>${json-simple.version}</version>
361 <scope>compile</scope>
Michael Lando451a3402017-02-19 10:28:42 +0200362
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200363 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200364
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200365 <dependency>
366 <groupId>org.elasticsearch</groupId>
367 <artifactId>elasticsearch</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300368 <version>${elastic-search.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200369 <scope>compile</scope>
370 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200371
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200372 <!-- functional java -->
373 <dependency>
374 <groupId>org.functionaljava</groupId>
375 <artifactId>functionaljava</artifactId>
376 <version>${functionaljava.version}</version>
377 <scope>compile</scope>
378 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200379
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200380 <!-- Aspects -->
381 <dependency>
382 <groupId>com.jcabi</groupId>
383 <artifactId>jcabi-aspects</artifactId>
384 <version>${jcabi.version}</version>
385 <scope>compile</scope>
386 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200387
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200388 <dependency>
389 <groupId>org.aspectj</groupId>
390 <artifactId>aspectjrt</artifactId>
391 <version>${aspectjrt.version}</version>
392 <scope>compile</scope>
393 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200394
Michael Landoa5445102018-03-04 14:53:33 +0200395
396
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200397 <!-- CAMBRIA CLIENT for U-EB -->
398 <dependency>
399 <groupId>com.att.nsa</groupId>
400 <artifactId>cambriaClient</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200401 <version>1.2.1-oss</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200402 <scope>compile</scope>
403 <exclusions>
404 <exclusion>
Michael Lando5b593492018-07-29 16:13:45 +0300405 <groupId>com.att.nsa</groupId>
406 <artifactId>saClientLibrary</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200407 </exclusion>
408 </exclusions>
409 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200410
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200411 <dependency>
412 <groupId>org.json</groupId>
413 <artifactId>json</artifactId>
414 <version>20131018</version>
415 <scope>compile</scope>
416 </dependency>
417 <dependency>
418 <groupId>org.apache.tinkerpop</groupId>
419 <artifactId>tinkergraph-gremlin</artifactId>
420 <version>3.0.1-incubating</version>
421 <scope>compile</scope>
422 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200423
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200424 <dependency>
425 <groupId>org.apache.tinkerpop</groupId>
426 <artifactId>gremlin-groovy</artifactId>
427 <version>3.0.1-incubating</version>
428 <scope>compile</scope>
429 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200430
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200431 <!-- CASSANDRA -->
432 <dependency>
433 <groupId>com.datastax.cassandra</groupId>
434 <artifactId>cassandra-driver-core</artifactId>
435 <version>${cassandra.driver.version}</version>
436 <scope>compile</scope>
437 </dependency>
438 <dependency>
439 <groupId>com.datastax.cassandra</groupId>
440 <artifactId>cassandra-driver-mapping</artifactId>
441 <version>${cassandra.driver.version}</version>
442 <scope>compile</scope>
443 </dependency>
444 <!-- CASSANDRA END -->
Michael Lando451a3402017-02-19 10:28:42 +0200445
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200446 <!-- Inserted for ECOMP Portal Integration -->
447 <dependency>
448 <groupId>org.openecomp.ecompsdkos</groupId>
449 <artifactId>epsdk-fw</artifactId>
450 <version>${ecomp.version}</version>
451 <scope>compile</scope>
452 <exclusions>
453 <exclusion>
454 <groupId>com.att.nsa</groupId>
455 <artifactId>cambriaClient</artifactId>
456 </exclusion>
457 <exclusion>
458 <artifactId>slf4j-log4j12</artifactId>
459 <groupId>org.slf4j</groupId>
460 </exclusion>
461 </exclusions>
462 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200463
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200464 <!--Jetty Proxy-->
465 <dependency>
466 <groupId>org.eclipse.jetty</groupId>
467 <artifactId>jetty-proxy</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300468 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200469 <scope>compile</scope>
470 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200471
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200472 <dependency>
473 <groupId>org.eclipse.jetty</groupId>
474 <artifactId>jetty-servlets</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300475 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200476 <scope>compile</scope>
477 </dependency>
478 <!-- System metrics -->
479 <dependency>
480 <groupId>org.fusesource</groupId>
481 <artifactId>sigar</artifactId>
482 <version>${sigar.version}</version>
483 <scope>compile</scope>
484 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300485 <dependency>
486 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
487 <artifactId>dmaapClient</artifactId>
488 <version>1.1.3</version>
489 <scope>compile</scope>
490 <exclusions>
491 <exclusion>
492 <groupId>com.att.aft</groupId>
493 <artifactId>dme2</artifactId>
494 </exclusion>
495 </exclusions>
496 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300497 <dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200498 <groupId>com.att.aft</groupId>
499 <artifactId>dme2</artifactId>
500 <version>3.1.200-oss</version>
501 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200502
Michael Lando5b593492018-07-29 16:13:45 +0300503 <dependency>
504 <groupId>javax.jms</groupId>
505 <artifactId>jms</artifactId>
506 <version>1.1</version>
507 <scope>provided</scope>
508 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200509
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200510 <!-- TEST -->
511 <dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300512 <groupId>org.assertj</groupId>
513 <artifactId>assertj-core</artifactId>
514 <scope>test</scope>
515 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200516
Michael Lando5b593492018-07-29 16:13:45 +0300517 <dependency>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200518 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
519 <artifactId>jersey-test-framework-provider-bundle</artifactId>
520 <version>${jersey-bom.version}</version>
521 <type>pom</type>
522 <scope>test</scope>
523 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200524
Michael Lando5b593492018-07-29 16:13:45 +0300525 <dependency>
526 <groupId>org.glassfish.jersey.core</groupId>
527 <artifactId>jersey-client</artifactId>
528 <version>${jersey-bom.version}</version>
Michael Lando5b593492018-07-29 16:13:45 +0300529 </dependency>
530
531 <dependency>
532 <groupId>com.github.tomakehurst</groupId>
533 <artifactId>wiremock-standalone</artifactId>
534 <scope>test</scope>
535 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200536
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200537 <dependency>
538 <groupId>org.eclipse.jetty</groupId>
539 <artifactId>jetty-servlet</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300540 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200541 <scope>test</scope>
542 </dependency>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200543
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200544 <dependency>
545 <groupId>org.eclipse.jetty</groupId>
546 <artifactId>jetty-webapp</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300547 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200548 <scope>test</scope>
549 </dependency>
550
551 <dependency>
552 <groupId>junit</groupId>
553 <artifactId>junit</artifactId>
554 <version>${junit.version}</version>
555 <scope>test</scope>
556 </dependency>
557
558 <dependency>
559 <groupId>org.mockito</groupId>
560 <artifactId>mockito-core</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200561 <scope>test</scope>
562 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200563
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200564 <dependency>
565 <groupId>org.springframework</groupId>
566 <artifactId>spring-test</artifactId>
567 <version>${spring.version}</version>
568 <scope>test</scope>
569 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200570
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200571 <dependency>
572 <groupId>org.springframework</groupId>
573 <artifactId>spring-tx</artifactId>
574 <version>${spring.version}</version>
Michael Lando5b593492018-07-29 16:13:45 +0300575 </dependency>
576
577 <dependency>
578 <groupId>io.cucumber</groupId>
579 <artifactId>cucumber-java</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200580 <scope>test</scope>
581 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200582
Michael Lando5b593492018-07-29 16:13:45 +0300583 <dependency>
584 <groupId>io.cucumber</groupId>
585 <artifactId>cucumber-junit</artifactId>
586 <scope>test</scope>
587 </dependency>
dekstroza37843cb2018-05-18 14:42:24 +0100588
589 <dependency>
590 <groupId>org.jmockit</groupId>
591 <artifactId>jmockit</artifactId>
592 <version>${jmockit.version}</version>
593 <scope>test</scope>
594 </dependency>
Tal Gitelman364c0f52018-06-13 14:51:53 +0300595
596 <dependency>
597 <groupId>com.google.code.bean-matchers</groupId>
598 <artifactId>bean-matchers</artifactId>
599 <version>0.11</version>
600 <scope>test</scope>
601 </dependency>
Tal Gitelmane0199372018-09-18 11:57:53 +0300602
603 <dependency>
604 <groupId>org.codehaus.groovy</groupId>
605 <artifactId>groovy</artifactId>
606 <version>2.4.8</version>
607 </dependency>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200608 </dependencies>
dekstroza37843cb2018-05-18 14:42:24 +0100609
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200610 <build>
Michael Lando451a3402017-02-19 10:28:42 +0200611
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200612 <finalName>${project.artifactId}-${project.version}</finalName>
Michael Lando451a3402017-02-19 10:28:42 +0200613
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200614 <plugins>
615 <plugin>
616 <groupId>org.apache.maven.plugins</groupId>
617 <artifactId>maven-war-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200618 <configuration>
619 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
620 WEB-INF/classes/elasticsearch.yml,
621 WEB-INF/classes/portal.properties
622 </packagingExcludes>
623 <archive>
624 <manifestEntries>
625 <SDC-Version>${project.version}</SDC-Version>
626 </manifestEntries>
627 <manifest>
628 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
629 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
630 </manifest>
631 </archive>
Michael Lando451a3402017-02-19 10:28:42 +0200632
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200633 <webResources>
634 <resource>
635 <directory>src/main/resources</directory>
636 <directory>src/main/resources/swagger</directory>
637 </resource>
638 </webResources>
639 <attachClasses>true</attachClasses>
640 </configuration>
641 </plugin>
Michael Lando5b593492018-07-29 16:13:45 +0300642 <plugin>
dekstroza37843cb2018-05-18 14:42:24 +0100643 <groupId>com.github.sylvainlaurent.maven</groupId>
644 <artifactId>yaml-json-validator-maven-plugin</artifactId>
645 <executions>
646 <execution>
647 <id>validate</id>
648 <phase>validate</phase>
649 <goals>
650 <goal>validate</goal>
651 </goals>
652 <configuration>
653 <validationSets>
654 <validationSet>
655 <includes>
656 <include>src/main/resources/**/*.y*ml</include>
657 <include>src/test/resources/**/*.y*ml</include>
658 </includes>
659 </validationSet>
660 <validationSet>
661 <includes>
662 <include>src/main/resources/**/*.json</include>
663 <include>src/test/resources/**/*.json</include>
664 </includes>
665 </validationSet>
666 </validationSets>
667 </configuration>
668 </execution>
669 </executions>
670 </plugin>
671 <plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200672 <groupId>com.jcabi</groupId>
673 <artifactId>jcabi-maven-plugin</artifactId>
Michael Landodc856bb2018-08-13 13:27:52 +0300674 <version>${jcabi.maven.plugin.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200675 <executions>
676 <execution>
677 <goals>
678 <goal>ajc</goal>
679 </goals>
680 </execution>
681 </executions>
682 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200683 <plugin>
684 <groupId>org.apache.maven.plugins</groupId>
685 <artifactId>maven-assembly-plugin</artifactId>
686 <executions>
687 <execution>
688 <id>normatives</id>
689 <phase>package</phase>
690 <goals>
691 <goal>single</goal>
692 </goals>
693 <configuration>
694 <finalName>normatives</finalName>
695 <appendAssemblyId>false</appendAssemblyId>
Michael Lando02ab6512018-04-05 23:32:27 +0300696 <descriptors>
697 <descriptor>${project.basedir}/normatives.xml</descriptor>
698 </descriptors>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200699 </configuration>
700 </execution>
701 </executions>
702 </plugin>
703 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300704 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200705 <artifactId>maven-clean-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200706 <executions>
707 <execution>
708 <id>clean.sdc.backend.folder</id>
709 <phase>clean</phase>
710 <goals>
711 <goal>clean</goal>
712 </goals>
713 <configuration>
714 <filesets>
715 <!-- static configuration files -->
716 <fileset>
717 <directory>
718 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
719 </directory>
720 <followSymlinks>false</followSymlinks>
721 <includes>
722 <include>Artifact-Generator.properties</include>
723 <include>error-configuration.yaml</include>
724 <include>ecomp-error-configuration.yaml</include>
725 <include>logback.xml</include>
726 </includes>
727 </fileset>
728 <!-- BE WAR's -->
729 <fileset>
730 <directory>${project.parent.basedir}/catalog-be/sdc-backend</directory>
731 <followSymlinks>false</followSymlinks>
732 <includes>
733 <include>*.war</include>
734 </includes>
735 </fileset>
736 <fileset>
737 <directory>
738 ${project.basedir}/sdc-backend-init/chef-repo/cookbooks/sdc-normatives/files/default
739 </directory>
740 <followSymlinks>false</followSymlinks>
741 <includes>
742 <include>normatives.tar.gz</include>
743 </includes>
744 </fileset>
Michael Lando451a3402017-02-19 10:28:42 +0200745
746
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200747 </filesets>
748 </configuration>
749 </execution>
Michael Lando5b593492018-07-29 16:13:45 +0300750
Michael Landoa5445102018-03-04 14:53:33 +0200751 <execution>
Michael Lando5b593492018-07-29 16:13:45 +0300752 <id>clean-static-files</id>
753 <phase>clean</phase>
754 <goals>
755 <goal>clean</goal>
756 </goals>
757 <configuration>
758 <filesets>
759 <!-- tosca files -->
760 <fileset>
761 <directory>${project.parent.basedir}/asdctool/tosca</directory>
762 <followSymlinks>false</followSymlinks>
763 </fileset>
764 </filesets>
765 </configuration>
766 </execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200767 </executions>
768 </plugin>
Michael Lando5b593492018-07-29 16:13:45 +0300769 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300770 <groupId>org.apache.maven.plugins</groupId>
Michael Lando5b593492018-07-29 16:13:45 +0300771 <artifactId>maven-resources-plugin</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300772 <executions>
773 <execution>
774 <id>copy-static-configuration-files</id>
775 <phase>verify</phase>
776 <goals>
777 <goal>copy-resources</goal>
778 </goals>
779 <configuration>
780 <outputDirectory>${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default</outputDirectory>
781 <resources>
782 <resource>
783 <directory>${project.parent.basedir}/catalog-be/src/main/resources/config</directory>
784 <includes>
785 <include>Artifact-Generator.properties</include>
786 <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>
805 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
806 <filtering>true</filtering>
807 </resource>
808 </resources>
809 </configuration>
810 </execution>
811 </executions>
812 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200813 </plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200814
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200815 <pluginManagement>
816 <plugins>
817 <!--This plugin's configuration is used to store Eclipse m2e settings
818 only. It has no influence on the Maven build itself. -->
819 <plugin>
820 <groupId>org.eclipse.m2e</groupId>
821 <artifactId>lifecycle-mapping</artifactId>
822 <version>1.0.0</version>
823 <configuration>
824 <lifecycleMappingMetadata>
825 <pluginExecutions>
826 <pluginExecution>
827 <pluginExecutionFilter>
828 <groupId>com.googlecode.maven-download-plugin</groupId>
829 <artifactId>download-maven-plugin</artifactId>
830 <versionRange>[1.2.1,)</versionRange>
831 <goals>
832 <goal>wget</goal>
833 </goals>
834 </pluginExecutionFilter>
835 <action>
836 <ignore></ignore>
837 </action>
838 </pluginExecution>
Michael Lando451a3402017-02-19 10:28:42 +0200839
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200840 <pluginExecution>
841 <pluginExecutionFilter>
842 <groupId>com.jcabi</groupId>
843 <artifactId>jcabi-maven-plugin</artifactId>
844 <versionRange>[0.0,)</versionRange>
845 <goals>
846 <goal>ajc</goal>
847 </goals>
848 </pluginExecutionFilter>
849 <action>
850 <execute/>
851 </action>
852 </pluginExecution>
853
854 </pluginExecutions>
855 </lifecycleMappingMetadata>
856 </configuration>
857 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200858 </plugins>
859 </pluginManagement>
860 <!-- Swagger Plugins End -->
861 </build>
862
863 <profiles>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200864 <profile>
865 <id>docker-staging</id>
866 <properties>
867 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
868 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
869 </properties>
870 </profile>
871
872 <profile>
873 <id>docker</id>
874 <activation>
875 <activeByDefault>false</activeByDefault>
876 </activation>
877 <build>
878 <plugins>
879 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300880 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200881 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200882 <executions>
883 <execution>
884 <id>copy-resources-apidocs</id>
885 <phase>verify</phase>
886 <goals>
887 <goal>copy-resources</goal>
888 </goals>
889 <configuration>
890 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
891 <resources>
892 <resource>
893 <directory>
Gautam Shah09a41f52018-04-11 19:55:29 +0530894 ${project.parent.basedir}/openecomp-be/tools/swagger-ui/target/api-docs
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200895 </directory>
896 <includes>
897 <include>api-docs.war</include>
898 </includes>
899 </resource>
900 </resources>
901 </configuration>
902 </execution>
903
904 <execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200905 <id>copy-resources-be</id>
906 <phase>verify</phase>
907 <goals>
908 <goal>copy-resources</goal>
909 </goals>
910 <configuration>
911 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
912 <resources>
913 <resource>
914 <directory>${project.parent.basedir}/catalog-be/target</directory>
915 <includes>
916 <include>catalog-be-${project.version}.war</include>
917 </includes>
918 </resource>
919 <resource>
920 <directory>
921 ${project.parent.basedir}/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/target
922 </directory>
923 <includes>
924 <include>onboarding-be-${project.version}.war</include>
925 </includes>
926 </resource>
927 </resources>
928 </configuration>
929 </execution>
930 <execution>
931 <id>copy-normatives</id>
932 <phase>verify</phase>
933 <goals>
934 <goal>copy-resources</goal>
935 </goals>
936 <configuration>
937 <outputDirectory>sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default</outputDirectory>
938 <resources>
939 <resource>
940 <directory>${project.parent.basedir}/catalog-be/target</directory>
941 <includes>
942 <include>normatives.tar.gz</include>
943 </includes>
944 </resource>
945 </resources>
946 </configuration>
947 </execution>
948 </executions>
949 </plugin>
950 <plugin>
951 <groupId>io.fabric8</groupId>
952 <artifactId>docker-maven-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200953 <configuration>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200954 <apiVersion>1.23</apiVersion>
955 <registry>nexus3.onap.org:10001</registry>
956 <authConfig>
957 <pull>
958 <username>docker</username>
959 <password>docker</password>
960 </pull>
961 </authConfig>
962 <images>
963
964 <!-- Build backend image -->
965 <image>
966 <name>onap/sdc-backend</name>
967 <alias>sdc-backend</alias>
968 <build>
969 <cleanup>try</cleanup>
970 <dockerFileDir>${project.basedir}/sdc-backend</dockerFileDir>
971 <tags>
972 <tag>${docker.tag}</tag>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200973 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
974 </tags>
975 </build>
976 </image>
977 <!-- Build backend-init image -->
978 <image>
979 <name>onap/sdc-backend-init</name>
980 <alias>sdc-backend-init</alias>
981 <build>
982 <cleanup>try</cleanup>
983 <dockerFileDir>${project.basedir}/sdc-backend-init</dockerFileDir>
984 <tags>
985 <tag>${docker.tag}</tag>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200986 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
987 </tags>
988 </build>
989 </image>
990 </images>
991 </configuration>
992 <executions>
993 <execution>
994 <id>clean-images</id>
995 <phase>pre-clean</phase>
996 <goals>
997 <goal>remove</goal>
998 </goals>
999 <configuration>
1000 <removeAll>true</removeAll>
1001 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1002 </configuration>
1003 </execution>
1004
1005 <execution>
1006 <id>generate-images</id>
1007 <phase>install</phase>
1008 <goals>
1009 <goal>build</goal>
1010 </goals>
1011 </execution>
1012
1013 <execution>
1014 <id>push-images</id>
1015 <phase>deploy</phase>
1016 <goals>
1017 <goal>push</goal>
1018 </goals>
1019 <configuration>
1020 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1021 </configuration>
1022 </execution>
1023 </executions>
1024 </plugin>
1025 </plugins>
1026 </build>
1027 </profile>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02001028 </profiles>
dekstroza37843cb2018-05-18 14:42:24 +01001029</project>