blob: f7e458973ee5b9b0794c21f6fff12cedd25fb172 [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Yuli Shlosbergaf70a202018-09-25 17:16:48 +03002 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02003 <modelVersion>4.0.0</modelVersion>
Michael Lando451a3402017-02-19 10:28:42 +02004
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02005 <artifactId>catalog-be</artifactId>
6 <packaging>war</packaging>
Michael Lando451a3402017-02-19 10:28:42 +02007
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02008 <parent>
9 <groupId>org.openecomp.sdc</groupId>
10 <artifactId>sdc-main</artifactId>
Michael 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 <!-- Swagger Dependencies Start -->
41 <dependency>
42 <groupId>io.swagger</groupId>
43 <artifactId>swagger-jersey2-jaxrs</artifactId>
44 <scope>compile</scope>
Michael Landocb1b7da2018-05-22 20:43:41 +030045 <version>1.5.15</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020046 </dependency>
47 <!-- Swagger Dependencies End -->
Tal Gitelmaned7e1c32017-06-29 19:30:00 +030048
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020049 <dependency>
50 <groupId>org.openecomp.sdc</groupId>
51 <artifactId>common-app-api</artifactId>
52 <version>${project.version}</version>
53 <scope>compile</scope>
54 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020055
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020056 <dependency>
57 <groupId>org.openecomp.sdc.be</groupId>
58 <artifactId>common-be</artifactId>
59 <version>${project.version}</version>
60 <scope>compile</scope>
61 </dependency>
62 <dependency>
63 <groupId>org.openecomp.sdc.be</groupId>
64 <artifactId>catalog-dao</artifactId>
65 <version>${project.version}</version>
66 <scope>compile</scope>
67 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020068
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020069 <dependency>
70 <groupId>org.openecomp.sdc.be</groupId>
71 <artifactId>catalog-model</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>ch.qos.logback</groupId>
78 <artifactId>logback-classic</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +030079 <version>${logback.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020080 <scope>compile</scope>
81 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020082
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020083 <!-- Snake Yaml -->
84 <dependency>
85 <groupId>org.yaml</groupId>
86 <artifactId>snakeyaml</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +030087 <version>${snakeyaml.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020088 <scope>compile</scope>
89 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020090
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020091 <!-- File changes listener -->
92 <dependency>
93 <groupId>org.apache.commons</groupId>
94 <artifactId>commons-jci-core</artifactId>
95 <version>${commons-jci-core.version}</version>
96 <scope>compile</scope>
97 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020098
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020099 <!-- Gson -->
100 <dependency>
101 <groupId>com.google.code.gson</groupId>
102 <artifactId>gson</artifactId>
103 <version>${gson.version}</version>
104 <scope>compile</scope>
105 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200106
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200107 <!-- jersey -->
108 <dependency>
109 <groupId>org.glassfish.jersey.media</groupId>
110 <artifactId>jersey-media-json-jackson</artifactId>
111 <version>${jersey-bom.version}</version>
112 <scope>compile</scope>
113 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200114
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200115 <dependency>
116 <groupId>org.glassfish.jersey.containers</groupId>
117 <artifactId>jersey-container-servlet-core</artifactId>
118 <version>${jersey-bom.version}</version>
119 <scope>compile</scope>
120 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200121
Michael Lando5b593492018-07-29 16:13:45 +0300122 <dependency>
123 <groupId>org.glassfish.jersey.media</groupId>
124 <artifactId>jersey-media-multipart</artifactId>
125 <version>${jersey-bom.version}</version>
126 <scope>compile</scope>
127 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300128 <dependency>
129 <groupId>org.glassfish.jersey.ext</groupId>
130 <artifactId>jersey-spring4</artifactId>
131 <version>${jersey-bom.version}</version>
132 <exclusions>
133 <exclusion>
134 <groupId>org.springframework</groupId>
135 <artifactId>spring-web</artifactId>
136 </exclusion>
137 <exclusion>
138 <groupId>org.springframework</groupId>
139 <artifactId>spring-beans</artifactId>
140 </exclusion>
141 <exclusion>
142 <groupId>org.springframework</groupId>
143 <artifactId>spring-core</artifactId>
144 </exclusion>
145 <exclusion>
146 <groupId>org.springframework</groupId>
147 <artifactId>spring-aop</artifactId>
148 </exclusion>
149 <!-- Transitive dependency of spring-bridge -->
150 <exclusion>
151 <groupId>org.springframework</groupId>
152 <artifactId>spring-context</artifactId>
153 </exclusion>
154 </exclusions>
Michael Landoa5445102018-03-04 14:53:33 +0200155
Michael Lando5b593492018-07-29 16:13:45 +0300156 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200157
Michael Lando5b593492018-07-29 16:13:45 +0300158 <!--asm-all-repackaged is a jersey dependency. in current version jersey depends on a version that was compiled using java 9 compiler
159 currently our jetty (v9.3.6) does not support java 9. as soon as jetty gets upgraded we will remove this dependency-->
160 <dependency>
161 <groupId>org.glassfish.hk2.external</groupId>
162 <artifactId>asm-all-repackaged</artifactId>
163 </dependency>
164
165 <dependency>
166 <groupId>org.glassfish.jersey.ext</groupId>
167 <artifactId>jersey-bean-validation</artifactId>
168 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200169
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200170 <!-- http client -->
171 <dependency>
172 <groupId>org.apache.httpcomponents</groupId>
173 <artifactId>httpclient</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300174 <version>${httpclient.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200175 <scope>compile</scope>
176 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200177
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200178 <dependency>
179 <groupId>org.apache.httpcomponents</groupId>
180 <artifactId>httpcore</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300181 <version>${httpcore.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200182 <scope>compile</scope>
183 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200184
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200185 <dependency>
186 <groupId>commons-logging</groupId>
187 <artifactId>commons-logging</artifactId>
188 <version>${commons-logging}</version>
189 <scope>compile</scope>
190 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200191
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200192 <dependency>
193 <groupId>commons-codec</groupId>
194 <artifactId>commons-codec</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300195 <version>${commons-codec}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200196 <scope>compile</scope>
197 </dependency>
198 <!-- http client END -->
Michael Lando451a3402017-02-19 10:28:42 +0200199
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200200 <dependency>
201 <groupId>javax.servlet</groupId>
vempod6d12912018-07-09 14:27:57 +0300202 <artifactId>javax.servlet-api</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300203 <version>${servlet-api.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200204 <scope>provided</scope>
205 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200206
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200207 <dependency>
208 <groupId>org.eclipse.jgit</groupId>
209 <artifactId>org.eclipse.jgit</artifactId>
210 <version>3.4.1.201406201815-r</version>
211 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200212
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200213 <!-- spring - used by A4C -->
214 <dependency>
215 <groupId>org.springframework</groupId>
216 <artifactId>spring-core</artifactId>
217 <version>${spring.version}</version>
218 <scope>compile</scope>
219 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200220
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200221 <dependency>
222 <groupId>org.springframework</groupId>
223 <artifactId>spring-context</artifactId>
224 <version>${spring.version}</version>
225 <scope>compile</scope>
226 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200227
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200228 <dependency>
229 <groupId>org.springframework</groupId>
230 <artifactId>spring-web</artifactId>
231 <version>${spring.version}</version>
232 <scope>compile</scope>
233 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200234
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200235 <dependency>
236 <groupId>org.springframework</groupId>
237 <artifactId>spring-webmvc</artifactId>
238 <version>${spring.version}</version>
239 <scope>compile</scope>
240 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200241
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200242 <dependency>
243 <groupId>org.springframework</groupId>
244 <artifactId>spring-aop</artifactId>
245 <version>${spring.version}</version>
246 <scope>compile</scope>
247 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200248
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200249 <dependency>
250 <groupId>org.springframework</groupId>
251 <artifactId>spring-beans</artifactId>
252 <version>${spring.version}</version>
253 <scope>compile</scope>
254 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200255
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200256 <dependency>
257 <groupId>org.springframework</groupId>
258 <artifactId>spring-expression</artifactId>
259 <version>${spring.version}</version>
260 <scope>compile</scope>
261 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200262
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200263 <dependency>
264 <groupId>org.codehaus.groovy</groupId>
Tal Gitelmana3b79a22018-09-25 17:22:34 +0300265 <artifactId>groovy</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200266 <scope>compile</scope>
267 </dependency>
Michael Landoc34b77c2017-02-28 19:03:11 +0200268
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200269 <dependency>
270 <groupId>org.codehaus.janino</groupId>
271 <artifactId>janino</artifactId>
272 <version>${janino.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.codehaus.janino</groupId>
278 <artifactId>commons-compiler</artifactId>
279 <version>${janino.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>com.google.guava</groupId>
285 <artifactId>guava</artifactId>
286 <version>${guava.version}</version>
287 <scope>compile</scope>
288 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200289
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200290 <!-- TITAN -->
291 <dependency>
292 <groupId>com.thinkaurelius.titan</groupId>
293 <artifactId>titan-core</artifactId>
294 <version>${titan.version}</version>
295 <scope>compile</scope>
296 <exclusions>
297 <exclusion>
298 <groupId>org.json</groupId>
299 <artifactId>json</artifactId>
300 </exclusion>
301 <exclusion>
302 <artifactId>slf4j-log4j12</artifactId>
303 <groupId>org.slf4j</groupId>
304 </exclusion>
Tal Gitelman76783962018-09-06 18:16:24 +0300305 <exclusion>
306 <artifactId>commons-collections</artifactId>
307 <groupId>commons-collections</groupId>
308 </exclusion>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200309 </exclusions>
310 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200311
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200312 <dependency>
Michael Landode67b612018-03-15 16:53:05 +0200313 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200314 <artifactId>sdc-titan-cassandra</artifactId>
Michael Landode67b612018-03-15 16:53:05 +0200315 <version>${sdc.titan.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200316 <scope>compile</scope>
317 <exclusions>
318 <exclusion>
319 <groupId>org.slf4j</groupId>
320 <artifactId>slf4j-log4j12</artifactId>
321 </exclusion>
322 <exclusion>
323 <groupId>io.netty</groupId>
324 <artifactId>netty-all</artifactId>
325 </exclusion>
326 </exclusions>
327 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200328
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200329 <dependency>
330 <groupId>org.apache.commons</groupId>
331 <artifactId>commons-lang3</artifactId>
332 <version>${lang3.version}</version>
333 <scope>compile</scope>
334 </dependency>
335 <!-- TITAN END -->
Michael Lando451a3402017-02-19 10:28:42 +0200336
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200337 <dependency>
338 <groupId>com.googlecode.json-simple</groupId>
339 <artifactId>json-simple</artifactId>
340 <version>${json-simple.version}</version>
341 <scope>compile</scope>
Michael Lando451a3402017-02-19 10:28:42 +0200342
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200343 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200344
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200345 <dependency>
346 <groupId>org.elasticsearch</groupId>
347 <artifactId>elasticsearch</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300348 <version>${elastic-search.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200349 <scope>compile</scope>
350 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200351
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200352 <!-- functional java -->
353 <dependency>
354 <groupId>org.functionaljava</groupId>
355 <artifactId>functionaljava</artifactId>
356 <version>${functionaljava.version}</version>
357 <scope>compile</scope>
358 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200359
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200360 <!-- Aspects -->
361 <dependency>
362 <groupId>com.jcabi</groupId>
363 <artifactId>jcabi-aspects</artifactId>
364 <version>${jcabi.version}</version>
365 <scope>compile</scope>
366 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200367
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200368 <dependency>
369 <groupId>org.aspectj</groupId>
370 <artifactId>aspectjrt</artifactId>
371 <version>${aspectjrt.version}</version>
372 <scope>compile</scope>
373 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200374
Michael Landoa5445102018-03-04 14:53:33 +0200375
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200376 <!-- CAMBRIA CLIENT for U-EB -->
377 <dependency>
378 <groupId>com.att.nsa</groupId>
379 <artifactId>cambriaClient</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200380 <version>1.2.1-oss</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200381 <scope>compile</scope>
382 <exclusions>
383 <exclusion>
Michael Lando5b593492018-07-29 16:13:45 +0300384 <groupId>com.att.nsa</groupId>
385 <artifactId>saClientLibrary</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200386 </exclusion>
387 </exclusions>
388 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200389
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200390 <dependency>
391 <groupId>org.json</groupId>
392 <artifactId>json</artifactId>
393 <version>20131018</version>
394 <scope>compile</scope>
395 </dependency>
396 <dependency>
397 <groupId>org.apache.tinkerpop</groupId>
398 <artifactId>tinkergraph-gremlin</artifactId>
399 <version>3.0.1-incubating</version>
400 <scope>compile</scope>
401 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200402
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200403 <dependency>
404 <groupId>org.apache.tinkerpop</groupId>
405 <artifactId>gremlin-groovy</artifactId>
406 <version>3.0.1-incubating</version>
407 <scope>compile</scope>
408 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200409
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200410 <!-- CASSANDRA -->
411 <dependency>
412 <groupId>com.datastax.cassandra</groupId>
413 <artifactId>cassandra-driver-core</artifactId>
414 <version>${cassandra.driver.version}</version>
415 <scope>compile</scope>
416 </dependency>
417 <dependency>
418 <groupId>com.datastax.cassandra</groupId>
419 <artifactId>cassandra-driver-mapping</artifactId>
420 <version>${cassandra.driver.version}</version>
421 <scope>compile</scope>
422 </dependency>
423 <!-- CASSANDRA END -->
Michael Lando451a3402017-02-19 10:28:42 +0200424
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200425 <!-- Inserted for ECOMP Portal Integration -->
426 <dependency>
427 <groupId>org.openecomp.ecompsdkos</groupId>
428 <artifactId>epsdk-fw</artifactId>
429 <version>${ecomp.version}</version>
430 <scope>compile</scope>
431 <exclusions>
432 <exclusion>
433 <groupId>com.att.nsa</groupId>
434 <artifactId>cambriaClient</artifactId>
435 </exclusion>
436 <exclusion>
437 <artifactId>slf4j-log4j12</artifactId>
438 <groupId>org.slf4j</groupId>
439 </exclusion>
440 </exclusions>
441 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200442
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200443 <!--Jetty Proxy-->
444 <dependency>
445 <groupId>org.eclipse.jetty</groupId>
446 <artifactId>jetty-proxy</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300447 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200448 <scope>compile</scope>
449 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200450
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200451 <dependency>
452 <groupId>org.eclipse.jetty</groupId>
453 <artifactId>jetty-servlets</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300454 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200455 <scope>compile</scope>
456 </dependency>
457 <!-- System metrics -->
458 <dependency>
459 <groupId>org.fusesource</groupId>
460 <artifactId>sigar</artifactId>
461 <version>${sigar.version}</version>
462 <scope>compile</scope>
463 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300464 <dependency>
465 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
466 <artifactId>dmaapClient</artifactId>
467 <version>1.1.3</version>
468 <scope>compile</scope>
469 <exclusions>
470 <exclusion>
471 <groupId>com.att.aft</groupId>
472 <artifactId>dme2</artifactId>
473 </exclusion>
474 </exclusions>
475 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300476 <dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200477 <groupId>com.att.aft</groupId>
478 <artifactId>dme2</artifactId>
479 <version>3.1.200-oss</version>
480 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200481
Michael Lando5b593492018-07-29 16:13:45 +0300482 <dependency>
483 <groupId>javax.jms</groupId>
484 <artifactId>jms</artifactId>
485 <version>1.1</version>
486 <scope>provided</scope>
487 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200488
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200489 <!-- TEST -->
490 <dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300491 <groupId>org.assertj</groupId>
492 <artifactId>assertj-core</artifactId>
493 <scope>test</scope>
494 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200495
Michael Lando5b593492018-07-29 16:13:45 +0300496 <dependency>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200497 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
498 <artifactId>jersey-test-framework-provider-bundle</artifactId>
499 <version>${jersey-bom.version}</version>
500 <type>pom</type>
501 <scope>test</scope>
502 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200503
Michael Lando5b593492018-07-29 16:13:45 +0300504 <dependency>
505 <groupId>org.glassfish.jersey.core</groupId>
506 <artifactId>jersey-client</artifactId>
507 <version>${jersey-bom.version}</version>
Michael Lando5b593492018-07-29 16:13:45 +0300508 </dependency>
509
510 <dependency>
511 <groupId>com.github.tomakehurst</groupId>
512 <artifactId>wiremock-standalone</artifactId>
513 <scope>test</scope>
514 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200515
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200516 <dependency>
517 <groupId>org.eclipse.jetty</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200518 <artifactId>jetty-webapp</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300519 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200520 <scope>test</scope>
521 </dependency>
522
523 <dependency>
524 <groupId>junit</groupId>
525 <artifactId>junit</artifactId>
526 <version>${junit.version}</version>
527 <scope>test</scope>
528 </dependency>
529
530 <dependency>
531 <groupId>org.mockito</groupId>
532 <artifactId>mockito-core</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200533 <scope>test</scope>
534 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200535
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200536 <dependency>
537 <groupId>org.springframework</groupId>
538 <artifactId>spring-test</artifactId>
539 <version>${spring.version}</version>
540 <scope>test</scope>
541 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200542
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200543 <dependency>
544 <groupId>org.springframework</groupId>
545 <artifactId>spring-tx</artifactId>
546 <version>${spring.version}</version>
Michael Lando5b593492018-07-29 16:13:45 +0300547 </dependency>
548
549 <dependency>
550 <groupId>io.cucumber</groupId>
551 <artifactId>cucumber-java</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200552 <scope>test</scope>
553 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200554
Michael Lando5b593492018-07-29 16:13:45 +0300555 <dependency>
556 <groupId>io.cucumber</groupId>
557 <artifactId>cucumber-junit</artifactId>
558 <scope>test</scope>
559 </dependency>
dekstroza37843cb2018-05-18 14:42:24 +0100560
561 <dependency>
562 <groupId>org.jmockit</groupId>
563 <artifactId>jmockit</artifactId>
564 <version>${jmockit.version}</version>
565 <scope>test</scope>
566 </dependency>
Tal Gitelman364c0f52018-06-13 14:51:53 +0300567
568 <dependency>
569 <groupId>com.google.code.bean-matchers</groupId>
570 <artifactId>bean-matchers</artifactId>
571 <version>0.11</version>
572 <scope>test</scope>
573 </dependency>
Tal Gitelmane0199372018-09-18 11:57:53 +0300574
575 <dependency>
576 <groupId>org.codehaus.groovy</groupId>
577 <artifactId>groovy</artifactId>
578 <version>2.4.8</version>
579 </dependency>
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300580
581 <dependency>
582 <groupId>io.netty</groupId>
583 <artifactId>netty-handler</artifactId>
584 </dependency>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200585 </dependencies>
dekstroza37843cb2018-05-18 14:42:24 +0100586
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200587 <build>
Michael Lando451a3402017-02-19 10:28:42 +0200588
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200589 <finalName>${project.artifactId}-${project.version}</finalName>
Michael Lando451a3402017-02-19 10:28:42 +0200590
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200591 <plugins>
592 <plugin>
593 <groupId>org.apache.maven.plugins</groupId>
594 <artifactId>maven-war-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200595 <configuration>
596 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
597 WEB-INF/classes/elasticsearch.yml,
598 WEB-INF/classes/portal.properties
599 </packagingExcludes>
600 <archive>
601 <manifestEntries>
602 <SDC-Version>${project.version}</SDC-Version>
603 </manifestEntries>
604 <manifest>
605 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
606 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
607 </manifest>
608 </archive>
Michael Lando451a3402017-02-19 10:28:42 +0200609
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200610 <webResources>
611 <resource>
612 <directory>src/main/resources</directory>
613 <directory>src/main/resources/swagger</directory>
614 </resource>
615 </webResources>
616 <attachClasses>true</attachClasses>
617 </configuration>
618 </plugin>
Michael Lando5b593492018-07-29 16:13:45 +0300619 <plugin>
dekstroza37843cb2018-05-18 14:42:24 +0100620 <groupId>com.github.sylvainlaurent.maven</groupId>
621 <artifactId>yaml-json-validator-maven-plugin</artifactId>
622 <executions>
623 <execution>
624 <id>validate</id>
625 <phase>validate</phase>
626 <goals>
627 <goal>validate</goal>
628 </goals>
629 <configuration>
630 <validationSets>
631 <validationSet>
632 <includes>
633 <include>src/main/resources/**/*.y*ml</include>
634 <include>src/test/resources/**/*.y*ml</include>
635 </includes>
636 </validationSet>
637 <validationSet>
638 <includes>
639 <include>src/main/resources/**/*.json</include>
640 <include>src/test/resources/**/*.json</include>
641 </includes>
642 </validationSet>
643 </validationSets>
644 </configuration>
645 </execution>
646 </executions>
647 </plugin>
648 <plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200649 <groupId>com.jcabi</groupId>
650 <artifactId>jcabi-maven-plugin</artifactId>
Michael Landodc856bb2018-08-13 13:27:52 +0300651 <version>${jcabi.maven.plugin.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200652 <executions>
653 <execution>
654 <goals>
655 <goal>ajc</goal>
656 </goals>
657 </execution>
658 </executions>
659 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200660 <plugin>
661 <groupId>org.apache.maven.plugins</groupId>
662 <artifactId>maven-assembly-plugin</artifactId>
663 <executions>
664 <execution>
665 <id>normatives</id>
666 <phase>package</phase>
667 <goals>
668 <goal>single</goal>
669 </goals>
670 <configuration>
671 <finalName>normatives</finalName>
672 <appendAssemblyId>false</appendAssemblyId>
Michael Lando02ab6512018-04-05 23:32:27 +0300673 <descriptors>
674 <descriptor>${project.basedir}/normatives.xml</descriptor>
675 </descriptors>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200676 </configuration>
677 </execution>
678 </executions>
679 </plugin>
680 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300681 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200682 <artifactId>maven-clean-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200683 <executions>
684 <execution>
685 <id>clean.sdc.backend.folder</id>
686 <phase>clean</phase>
687 <goals>
688 <goal>clean</goal>
689 </goals>
690 <configuration>
691 <filesets>
692 <!-- static configuration files -->
693 <fileset>
694 <directory>
695 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
696 </directory>
697 <followSymlinks>false</followSymlinks>
698 <includes>
699 <include>Artifact-Generator.properties</include>
700 <include>error-configuration.yaml</include>
701 <include>ecomp-error-configuration.yaml</include>
702 <include>logback.xml</include>
703 </includes>
704 </fileset>
705 <!-- BE WAR's -->
706 <fileset>
707 <directory>${project.parent.basedir}/catalog-be/sdc-backend</directory>
708 <followSymlinks>false</followSymlinks>
709 <includes>
710 <include>*.war</include>
711 </includes>
712 </fileset>
713 <fileset>
714 <directory>
715 ${project.basedir}/sdc-backend-init/chef-repo/cookbooks/sdc-normatives/files/default
716 </directory>
717 <followSymlinks>false</followSymlinks>
718 <includes>
719 <include>normatives.tar.gz</include>
720 </includes>
721 </fileset>
Michael Lando451a3402017-02-19 10:28:42 +0200722
723
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200724 </filesets>
725 </configuration>
726 </execution>
Michael Lando5b593492018-07-29 16:13:45 +0300727
Michael Landoa5445102018-03-04 14:53:33 +0200728 <execution>
Michael Lando5b593492018-07-29 16:13:45 +0300729 <id>clean-static-files</id>
730 <phase>clean</phase>
731 <goals>
732 <goal>clean</goal>
733 </goals>
734 <configuration>
735 <filesets>
736 <!-- tosca files -->
737 <fileset>
738 <directory>${project.parent.basedir}/asdctool/tosca</directory>
739 <followSymlinks>false</followSymlinks>
740 </fileset>
741 </filesets>
742 </configuration>
743 </execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200744 </executions>
745 </plugin>
Michael Lando5b593492018-07-29 16:13:45 +0300746 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300747 <groupId>org.apache.maven.plugins</groupId>
Michael Lando5b593492018-07-29 16:13:45 +0300748 <artifactId>maven-resources-plugin</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300749 <executions>
750 <execution>
751 <id>copy-static-configuration-files</id>
752 <phase>verify</phase>
753 <goals>
754 <goal>copy-resources</goal>
755 </goals>
756 <configuration>
Yuli Shlosbergaf70a202018-09-25 17:16:48 +0300757 <outputDirectory>
758 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
759 </outputDirectory>
Michael Lando5b593492018-07-29 16:13:45 +0300760 <resources>
761 <resource>
Yuli Shlosbergaf70a202018-09-25 17:16:48 +0300762 <directory>${project.parent.basedir}/catalog-be/src/main/resources/config
763 </directory>
Michael Lando5b593492018-07-29 16:13:45 +0300764 <includes>
765 <include>Artifact-Generator.properties</include>
766 <include>error-configuration.yaml</include>
767 <include>ecomp-error-configuration.yaml</include>
768 <include>logback.xml</include>
769 </includes>
770 </resource>
771 </resources>
772 </configuration>
773 </execution>
774 <execution>
775 <id>copy-tosca-folder</id>
776 <!-- here the phase you need -->
777 <phase>install</phase>
778 <goals>
779 <goal>copy-resources</goal>
780 </goals>
781 <configuration>
782 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
783 <resources>
784 <resource>
Yuli Shlosbergaf70a202018-09-25 17:16:48 +0300785 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
786 </directory>
Michael Lando5b593492018-07-29 16:13:45 +0300787 <filtering>true</filtering>
788 </resource>
789 </resources>
790 </configuration>
791 </execution>
792 </executions>
793 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200794 </plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200795
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200796 <pluginManagement>
797 <plugins>
798 <!--This plugin's configuration is used to store Eclipse m2e settings
799 only. It has no influence on the Maven build itself. -->
800 <plugin>
801 <groupId>org.eclipse.m2e</groupId>
802 <artifactId>lifecycle-mapping</artifactId>
803 <version>1.0.0</version>
804 <configuration>
805 <lifecycleMappingMetadata>
806 <pluginExecutions>
807 <pluginExecution>
808 <pluginExecutionFilter>
809 <groupId>com.googlecode.maven-download-plugin</groupId>
810 <artifactId>download-maven-plugin</artifactId>
811 <versionRange>[1.2.1,)</versionRange>
812 <goals>
813 <goal>wget</goal>
814 </goals>
815 </pluginExecutionFilter>
816 <action>
817 <ignore></ignore>
818 </action>
819 </pluginExecution>
Michael Lando451a3402017-02-19 10:28:42 +0200820
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200821 <pluginExecution>
822 <pluginExecutionFilter>
823 <groupId>com.jcabi</groupId>
824 <artifactId>jcabi-maven-plugin</artifactId>
825 <versionRange>[0.0,)</versionRange>
826 <goals>
827 <goal>ajc</goal>
828 </goals>
829 </pluginExecutionFilter>
830 <action>
831 <execute/>
832 </action>
833 </pluginExecution>
834
835 </pluginExecutions>
836 </lifecycleMappingMetadata>
837 </configuration>
838 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200839 </plugins>
840 </pluginManagement>
841 <!-- Swagger Plugins End -->
842 </build>
843
844 <profiles>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200845 <profile>
846 <id>docker-staging</id>
847 <properties>
848 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
849 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
850 </properties>
851 </profile>
852
853 <profile>
854 <id>docker</id>
855 <activation>
856 <activeByDefault>false</activeByDefault>
857 </activation>
858 <build>
859 <plugins>
860 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300861 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200862 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200863 <executions>
864 <execution>
865 <id>copy-resources-apidocs</id>
866 <phase>verify</phase>
867 <goals>
868 <goal>copy-resources</goal>
869 </goals>
870 <configuration>
871 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
872 <resources>
873 <resource>
874 <directory>
Gautam Shah09a41f52018-04-11 19:55:29 +0530875 ${project.parent.basedir}/openecomp-be/tools/swagger-ui/target/api-docs
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200876 </directory>
877 <includes>
878 <include>api-docs.war</include>
879 </includes>
880 </resource>
881 </resources>
882 </configuration>
883 </execution>
884
885 <execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200886 <id>copy-resources-be</id>
887 <phase>verify</phase>
888 <goals>
889 <goal>copy-resources</goal>
890 </goals>
891 <configuration>
892 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
893 <resources>
894 <resource>
895 <directory>${project.parent.basedir}/catalog-be/target</directory>
896 <includes>
897 <include>catalog-be-${project.version}.war</include>
898 </includes>
899 </resource>
900 <resource>
901 <directory>
902 ${project.parent.basedir}/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/target
903 </directory>
904 <includes>
905 <include>onboarding-be-${project.version}.war</include>
906 </includes>
907 </resource>
908 </resources>
909 </configuration>
910 </execution>
911 <execution>
912 <id>copy-normatives</id>
913 <phase>verify</phase>
914 <goals>
915 <goal>copy-resources</goal>
916 </goals>
917 <configuration>
Yuli Shlosbergaf70a202018-09-25 17:16:48 +0300918 <outputDirectory>
919 sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
920 </outputDirectory>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200921 <resources>
922 <resource>
923 <directory>${project.parent.basedir}/catalog-be/target</directory>
924 <includes>
925 <include>normatives.tar.gz</include>
926 </includes>
927 </resource>
928 </resources>
929 </configuration>
930 </execution>
931 </executions>
932 </plugin>
933 <plugin>
934 <groupId>io.fabric8</groupId>
935 <artifactId>docker-maven-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200936 <configuration>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200937 <apiVersion>1.23</apiVersion>
938 <registry>nexus3.onap.org:10001</registry>
939 <authConfig>
940 <pull>
941 <username>docker</username>
942 <password>docker</password>
943 </pull>
944 </authConfig>
945 <images>
946
947 <!-- Build backend image -->
948 <image>
949 <name>onap/sdc-backend</name>
950 <alias>sdc-backend</alias>
951 <build>
952 <cleanup>try</cleanup>
953 <dockerFileDir>${project.basedir}/sdc-backend</dockerFileDir>
954 <tags>
955 <tag>${docker.tag}</tag>
Yuli Shlosbergaf70a202018-09-25 17:16:48 +0300956 <tag>
957 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
958 </tag>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200959 </tags>
960 </build>
961 </image>
962 <!-- Build backend-init image -->
963 <image>
964 <name>onap/sdc-backend-init</name>
965 <alias>sdc-backend-init</alias>
966 <build>
967 <cleanup>try</cleanup>
968 <dockerFileDir>${project.basedir}/sdc-backend-init</dockerFileDir>
969 <tags>
970 <tag>${docker.tag}</tag>
Yuli Shlosbergaf70a202018-09-25 17:16:48 +0300971 <tag>
972 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
973 </tag>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200974 </tags>
975 </build>
976 </image>
977 </images>
978 </configuration>
979 <executions>
980 <execution>
981 <id>clean-images</id>
982 <phase>pre-clean</phase>
983 <goals>
984 <goal>remove</goal>
985 </goals>
986 <configuration>
987 <removeAll>true</removeAll>
988 <image>onap/sdc-backend,onap/sdc-backend-init</image>
989 </configuration>
990 </execution>
991
992 <execution>
993 <id>generate-images</id>
994 <phase>install</phase>
995 <goals>
996 <goal>build</goal>
997 </goals>
998 </execution>
999
1000 <execution>
1001 <id>push-images</id>
1002 <phase>deploy</phase>
1003 <goals>
1004 <goal>push</goal>
1005 </goals>
1006 <configuration>
1007 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1008 </configuration>
1009 </execution>
1010 </executions>
1011 </plugin>
1012 </plugins>
1013 </build>
1014 </profile>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02001015 </profiles>
dekstroza37843cb2018-05-18 14:42:24 +01001016</project>