blob: a375c6ae3ac7093f0cc652fbc0792661e9a61c59 [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>
285 <artifactId>groovy-all</artifactId>
286 <version>${groovy.version}</version>
287 <scope>compile</scope>
288 </dependency>
Michael Landoc34b77c2017-02-28 19:03:11 +0200289
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200290 <dependency>
291 <groupId>org.codehaus.janino</groupId>
292 <artifactId>janino</artifactId>
293 <version>${janino.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.codehaus.janino</groupId>
299 <artifactId>commons-compiler</artifactId>
300 <version>${janino.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>com.google.guava</groupId>
306 <artifactId>guava</artifactId>
307 <version>${guava.version}</version>
308 <scope>compile</scope>
309 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200310
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200311 <!-- TITAN -->
312 <dependency>
313 <groupId>com.thinkaurelius.titan</groupId>
314 <artifactId>titan-core</artifactId>
315 <version>${titan.version}</version>
316 <scope>compile</scope>
317 <exclusions>
318 <exclusion>
319 <groupId>org.json</groupId>
320 <artifactId>json</artifactId>
321 </exclusion>
322 <exclusion>
323 <artifactId>slf4j-log4j12</artifactId>
324 <groupId>org.slf4j</groupId>
325 </exclusion>
Tal Gitelman76783962018-09-06 18:16:24 +0300326 <exclusion>
327 <artifactId>commons-collections</artifactId>
328 <groupId>commons-collections</groupId>
329 </exclusion>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200330 </exclusions>
331 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200332
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200333 <dependency>
Michael Landode67b612018-03-15 16:53:05 +0200334 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200335 <artifactId>sdc-titan-cassandra</artifactId>
Michael Landode67b612018-03-15 16:53:05 +0200336 <version>${sdc.titan.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200337 <scope>compile</scope>
338 <exclusions>
339 <exclusion>
340 <groupId>org.slf4j</groupId>
341 <artifactId>slf4j-log4j12</artifactId>
342 </exclusion>
343 <exclusion>
344 <groupId>io.netty</groupId>
345 <artifactId>netty-all</artifactId>
346 </exclusion>
347 </exclusions>
348 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200349
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200350 <dependency>
351 <groupId>org.apache.commons</groupId>
352 <artifactId>commons-lang3</artifactId>
353 <version>${lang3.version}</version>
354 <scope>compile</scope>
355 </dependency>
356 <!-- TITAN END -->
Michael Lando451a3402017-02-19 10:28:42 +0200357
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200358 <dependency>
359 <groupId>com.googlecode.json-simple</groupId>
360 <artifactId>json-simple</artifactId>
361 <version>${json-simple.version}</version>
362 <scope>compile</scope>
Michael Lando451a3402017-02-19 10:28:42 +0200363
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200364 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200365
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200366 <dependency>
367 <groupId>org.elasticsearch</groupId>
368 <artifactId>elasticsearch</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300369 <version>${elastic-search.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200370 <scope>compile</scope>
371 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200372
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200373 <dependency>
374 <groupId>org.elasticsearch.plugin</groupId>
375 <artifactId>shield</artifactId>
376 <version>${elastic-search.version}</version>
377 <scope>compile</scope>
378 </dependency>
379 <!-- functional java -->
380 <dependency>
381 <groupId>org.functionaljava</groupId>
382 <artifactId>functionaljava</artifactId>
383 <version>${functionaljava.version}</version>
384 <scope>compile</scope>
385 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200386
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200387 <!-- Aspects -->
388 <dependency>
389 <groupId>com.jcabi</groupId>
390 <artifactId>jcabi-aspects</artifactId>
391 <version>${jcabi.version}</version>
392 <scope>compile</scope>
393 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200394
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200395 <dependency>
396 <groupId>org.aspectj</groupId>
397 <artifactId>aspectjrt</artifactId>
398 <version>${aspectjrt.version}</version>
399 <scope>compile</scope>
400 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200401
Michael Landoa5445102018-03-04 14:53:33 +0200402
403
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200404 <!-- CAMBRIA CLIENT for U-EB -->
405 <dependency>
406 <groupId>com.att.nsa</groupId>
407 <artifactId>cambriaClient</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200408 <version>1.2.1-oss</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200409 <scope>compile</scope>
410 <exclusions>
411 <exclusion>
Michael Lando5b593492018-07-29 16:13:45 +0300412 <groupId>com.att.nsa</groupId>
413 <artifactId>saClientLibrary</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200414 </exclusion>
415 </exclusions>
416 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200417
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200418 <dependency>
419 <groupId>org.json</groupId>
420 <artifactId>json</artifactId>
421 <version>20131018</version>
422 <scope>compile</scope>
423 </dependency>
424 <dependency>
425 <groupId>org.apache.tinkerpop</groupId>
426 <artifactId>tinkergraph-gremlin</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 <dependency>
432 <groupId>org.apache.tinkerpop</groupId>
433 <artifactId>gremlin-groovy</artifactId>
434 <version>3.0.1-incubating</version>
435 <scope>compile</scope>
436 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200437
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200438 <!-- CASSANDRA -->
439 <dependency>
440 <groupId>com.datastax.cassandra</groupId>
441 <artifactId>cassandra-driver-core</artifactId>
442 <version>${cassandra.driver.version}</version>
443 <scope>compile</scope>
444 </dependency>
445 <dependency>
446 <groupId>com.datastax.cassandra</groupId>
447 <artifactId>cassandra-driver-mapping</artifactId>
448 <version>${cassandra.driver.version}</version>
449 <scope>compile</scope>
450 </dependency>
451 <!-- CASSANDRA END -->
Michael Lando451a3402017-02-19 10:28:42 +0200452
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200453 <!-- Inserted for ECOMP Portal Integration -->
454 <dependency>
455 <groupId>org.openecomp.ecompsdkos</groupId>
456 <artifactId>epsdk-fw</artifactId>
457 <version>${ecomp.version}</version>
458 <scope>compile</scope>
459 <exclusions>
460 <exclusion>
461 <groupId>com.att.nsa</groupId>
462 <artifactId>cambriaClient</artifactId>
463 </exclusion>
464 <exclusion>
465 <artifactId>slf4j-log4j12</artifactId>
466 <groupId>org.slf4j</groupId>
467 </exclusion>
468 </exclusions>
469 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200470
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200471 <!--Jetty Proxy-->
472 <dependency>
473 <groupId>org.eclipse.jetty</groupId>
474 <artifactId>jetty-proxy</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>
Michael Lando451a3402017-02-19 10:28:42 +0200478
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200479 <dependency>
480 <groupId>org.eclipse.jetty</groupId>
481 <artifactId>jetty-servlets</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300482 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200483 <scope>compile</scope>
484 </dependency>
485 <!-- System metrics -->
486 <dependency>
487 <groupId>org.fusesource</groupId>
488 <artifactId>sigar</artifactId>
489 <version>${sigar.version}</version>
490 <scope>compile</scope>
491 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300492 <dependency>
493 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
494 <artifactId>dmaapClient</artifactId>
495 <version>1.1.3</version>
496 <scope>compile</scope>
497 <exclusions>
498 <exclusion>
499 <groupId>com.att.aft</groupId>
500 <artifactId>dme2</artifactId>
501 </exclusion>
502 </exclusions>
503 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300504 <dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200505 <groupId>com.att.aft</groupId>
506 <artifactId>dme2</artifactId>
507 <version>3.1.200-oss</version>
508 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200509
Michael Lando5b593492018-07-29 16:13:45 +0300510 <dependency>
511 <groupId>javax.jms</groupId>
512 <artifactId>jms</artifactId>
513 <version>1.1</version>
514 <scope>provided</scope>
515 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200516
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200517 <!-- TEST -->
518 <dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300519 <groupId>org.assertj</groupId>
520 <artifactId>assertj-core</artifactId>
521 <scope>test</scope>
522 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200523
Michael Lando5b593492018-07-29 16:13:45 +0300524 <dependency>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200525 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
526 <artifactId>jersey-test-framework-provider-bundle</artifactId>
527 <version>${jersey-bom.version}</version>
528 <type>pom</type>
529 <scope>test</scope>
530 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200531
Michael Lando5b593492018-07-29 16:13:45 +0300532 <dependency>
533 <groupId>org.glassfish.jersey.core</groupId>
534 <artifactId>jersey-client</artifactId>
535 <version>${jersey-bom.version}</version>
Michael Lando5b593492018-07-29 16:13:45 +0300536 </dependency>
537
538 <dependency>
539 <groupId>com.github.tomakehurst</groupId>
540 <artifactId>wiremock-standalone</artifactId>
541 <scope>test</scope>
542 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200543
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200544 <dependency>
545 <groupId>org.eclipse.jetty</groupId>
546 <artifactId>jetty-servlet</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>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200550
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200551 <dependency>
552 <groupId>org.eclipse.jetty</groupId>
553 <artifactId>jetty-webapp</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300554 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200555 <scope>test</scope>
556 </dependency>
557
558 <dependency>
559 <groupId>junit</groupId>
560 <artifactId>junit</artifactId>
561 <version>${junit.version}</version>
562 <scope>test</scope>
563 </dependency>
564
565 <dependency>
566 <groupId>org.mockito</groupId>
567 <artifactId>mockito-core</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200568 <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-test</artifactId>
574 <version>${spring.version}</version>
575 <scope>test</scope>
576 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200577
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200578 <dependency>
579 <groupId>org.springframework</groupId>
580 <artifactId>spring-tx</artifactId>
581 <version>${spring.version}</version>
Michael Lando5b593492018-07-29 16:13:45 +0300582 </dependency>
583
584 <dependency>
585 <groupId>io.cucumber</groupId>
586 <artifactId>cucumber-java</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200587 <scope>test</scope>
588 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200589
Michael Lando5b593492018-07-29 16:13:45 +0300590 <dependency>
591 <groupId>io.cucumber</groupId>
592 <artifactId>cucumber-junit</artifactId>
593 <scope>test</scope>
594 </dependency>
dekstroza37843cb2018-05-18 14:42:24 +0100595
596 <dependency>
597 <groupId>org.jmockit</groupId>
598 <artifactId>jmockit</artifactId>
599 <version>${jmockit.version}</version>
600 <scope>test</scope>
601 </dependency>
Tal Gitelman364c0f52018-06-13 14:51:53 +0300602
603 <dependency>
604 <groupId>com.google.code.bean-matchers</groupId>
605 <artifactId>bean-matchers</artifactId>
606 <version>0.11</version>
607 <scope>test</scope>
608 </dependency>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200609 </dependencies>
dekstroza37843cb2018-05-18 14:42:24 +0100610
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200611 <build>
Michael Lando451a3402017-02-19 10:28:42 +0200612
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200613 <finalName>${project.artifactId}-${project.version}</finalName>
Michael Lando451a3402017-02-19 10:28:42 +0200614
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200615 <plugins>
616 <plugin>
617 <groupId>org.apache.maven.plugins</groupId>
618 <artifactId>maven-war-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200619 <configuration>
620 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
621 WEB-INF/classes/elasticsearch.yml,
622 WEB-INF/classes/portal.properties
623 </packagingExcludes>
624 <archive>
625 <manifestEntries>
626 <SDC-Version>${project.version}</SDC-Version>
627 </manifestEntries>
628 <manifest>
629 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
630 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
631 </manifest>
632 </archive>
Michael Lando451a3402017-02-19 10:28:42 +0200633
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200634 <webResources>
635 <resource>
636 <directory>src/main/resources</directory>
637 <directory>src/main/resources/swagger</directory>
638 </resource>
639 </webResources>
640 <attachClasses>true</attachClasses>
641 </configuration>
642 </plugin>
Michael Lando5b593492018-07-29 16:13:45 +0300643 <plugin>
dekstroza37843cb2018-05-18 14:42:24 +0100644 <groupId>com.github.sylvainlaurent.maven</groupId>
645 <artifactId>yaml-json-validator-maven-plugin</artifactId>
646 <executions>
647 <execution>
648 <id>validate</id>
649 <phase>validate</phase>
650 <goals>
651 <goal>validate</goal>
652 </goals>
653 <configuration>
654 <validationSets>
655 <validationSet>
656 <includes>
657 <include>src/main/resources/**/*.y*ml</include>
658 <include>src/test/resources/**/*.y*ml</include>
659 </includes>
660 </validationSet>
661 <validationSet>
662 <includes>
663 <include>src/main/resources/**/*.json</include>
664 <include>src/test/resources/**/*.json</include>
665 </includes>
666 </validationSet>
667 </validationSets>
668 </configuration>
669 </execution>
670 </executions>
671 </plugin>
672 <plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200673 <groupId>com.jcabi</groupId>
674 <artifactId>jcabi-maven-plugin</artifactId>
Michael Landodc856bb2018-08-13 13:27:52 +0300675 <version>${jcabi.maven.plugin.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200676 <executions>
677 <execution>
678 <goals>
679 <goal>ajc</goal>
680 </goals>
681 </execution>
682 </executions>
683 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200684 <plugin>
685 <groupId>org.apache.maven.plugins</groupId>
686 <artifactId>maven-assembly-plugin</artifactId>
687 <executions>
688 <execution>
689 <id>normatives</id>
690 <phase>package</phase>
691 <goals>
692 <goal>single</goal>
693 </goals>
694 <configuration>
695 <finalName>normatives</finalName>
696 <appendAssemblyId>false</appendAssemblyId>
Michael Lando02ab6512018-04-05 23:32:27 +0300697 <descriptors>
698 <descriptor>${project.basedir}/normatives.xml</descriptor>
699 </descriptors>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200700 </configuration>
701 </execution>
702 </executions>
703 </plugin>
704 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300705 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200706 <artifactId>maven-clean-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200707 <executions>
708 <execution>
709 <id>clean.sdc.backend.folder</id>
710 <phase>clean</phase>
711 <goals>
712 <goal>clean</goal>
713 </goals>
714 <configuration>
715 <filesets>
716 <!-- static configuration files -->
717 <fileset>
718 <directory>
719 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
720 </directory>
721 <followSymlinks>false</followSymlinks>
722 <includes>
723 <include>Artifact-Generator.properties</include>
724 <include>error-configuration.yaml</include>
725 <include>ecomp-error-configuration.yaml</include>
726 <include>logback.xml</include>
727 </includes>
728 </fileset>
729 <!-- BE WAR's -->
730 <fileset>
731 <directory>${project.parent.basedir}/catalog-be/sdc-backend</directory>
732 <followSymlinks>false</followSymlinks>
733 <includes>
734 <include>*.war</include>
735 </includes>
736 </fileset>
737 <fileset>
738 <directory>
739 ${project.basedir}/sdc-backend-init/chef-repo/cookbooks/sdc-normatives/files/default
740 </directory>
741 <followSymlinks>false</followSymlinks>
742 <includes>
743 <include>normatives.tar.gz</include>
744 </includes>
745 </fileset>
Michael Lando451a3402017-02-19 10:28:42 +0200746
747
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200748 </filesets>
749 </configuration>
750 </execution>
Michael Lando5b593492018-07-29 16:13:45 +0300751
Michael Landoa5445102018-03-04 14:53:33 +0200752 <execution>
Michael Lando5b593492018-07-29 16:13:45 +0300753 <id>clean-static-files</id>
754 <phase>clean</phase>
755 <goals>
756 <goal>clean</goal>
757 </goals>
758 <configuration>
759 <filesets>
760 <!-- tosca files -->
761 <fileset>
762 <directory>${project.parent.basedir}/asdctool/tosca</directory>
763 <followSymlinks>false</followSymlinks>
764 </fileset>
765 </filesets>
766 </configuration>
767 </execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200768 </executions>
769 </plugin>
Michael Lando5b593492018-07-29 16:13:45 +0300770 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300771 <groupId>org.apache.maven.plugins</groupId>
Michael Lando5b593492018-07-29 16:13:45 +0300772 <artifactId>maven-resources-plugin</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300773 <executions>
774 <execution>
775 <id>copy-static-configuration-files</id>
776 <phase>verify</phase>
777 <goals>
778 <goal>copy-resources</goal>
779 </goals>
780 <configuration>
781 <outputDirectory>${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default</outputDirectory>
782 <resources>
783 <resource>
784 <directory>${project.parent.basedir}/catalog-be/src/main/resources/config</directory>
785 <includes>
786 <include>Artifact-Generator.properties</include>
787 <include>error-configuration.yaml</include>
788 <include>ecomp-error-configuration.yaml</include>
789 <include>logback.xml</include>
790 </includes>
791 </resource>
792 </resources>
793 </configuration>
794 </execution>
795 <execution>
796 <id>copy-tosca-folder</id>
797 <!-- here the phase you need -->
798 <phase>install</phase>
799 <goals>
800 <goal>copy-resources</goal>
801 </goals>
802 <configuration>
803 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
804 <resources>
805 <resource>
806 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
807 <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>
938 <outputDirectory>sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default</outputDirectory>
939 <resources>
940 <resource>
941 <directory>${project.parent.basedir}/catalog-be/target</directory>
942 <includes>
943 <include>normatives.tar.gz</include>
944 </includes>
945 </resource>
946 </resources>
947 </configuration>
948 </execution>
949 </executions>
950 </plugin>
951 <plugin>
952 <groupId>io.fabric8</groupId>
953 <artifactId>docker-maven-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200954 <configuration>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200955 <apiVersion>1.23</apiVersion>
956 <registry>nexus3.onap.org:10001</registry>
957 <authConfig>
958 <pull>
959 <username>docker</username>
960 <password>docker</password>
961 </pull>
962 </authConfig>
963 <images>
964
965 <!-- Build backend image -->
966 <image>
967 <name>onap/sdc-backend</name>
968 <alias>sdc-backend</alias>
969 <build>
970 <cleanup>try</cleanup>
971 <dockerFileDir>${project.basedir}/sdc-backend</dockerFileDir>
972 <tags>
973 <tag>${docker.tag}</tag>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200974 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
975 </tags>
976 </build>
977 </image>
978 <!-- Build backend-init image -->
979 <image>
980 <name>onap/sdc-backend-init</name>
981 <alias>sdc-backend-init</alias>
982 <build>
983 <cleanup>try</cleanup>
984 <dockerFileDir>${project.basedir}/sdc-backend-init</dockerFileDir>
985 <tags>
986 <tag>${docker.tag}</tag>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200987 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
988 </tags>
989 </build>
990 </image>
991 </images>
992 </configuration>
993 <executions>
994 <execution>
995 <id>clean-images</id>
996 <phase>pre-clean</phase>
997 <goals>
998 <goal>remove</goal>
999 </goals>
1000 <configuration>
1001 <removeAll>true</removeAll>
1002 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1003 </configuration>
1004 </execution>
1005
1006 <execution>
1007 <id>generate-images</id>
1008 <phase>install</phase>
1009 <goals>
1010 <goal>build</goal>
1011 </goals>
1012 </execution>
1013
1014 <execution>
1015 <id>push-images</id>
1016 <phase>deploy</phase>
1017 <goals>
1018 <goal>push</goal>
1019 </goals>
1020 <configuration>
1021 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1022 </configuration>
1023 </execution>
1024 </executions>
1025 </plugin>
1026 </plugins>
1027 </build>
1028 </profile>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02001029 </profiles>
dekstroza37843cb2018-05-18 14:42:24 +01001030</project>