blob: 068eecf53b78890f9550973c6493fb9abade96df [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02002 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
Michael Lando451a3402017-02-19 10:28:42 +02004
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02005 <artifactId>catalog-be</artifactId>
6 <packaging>war</packaging>
Michael Lando451a3402017-02-19 10:28:42 +02007
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02008 <parent>
9 <groupId>org.openecomp.sdc</groupId>
10 <artifactId>sdc-main</artifactId>
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 Landoa5445102018-03-04 14:53:33 +0200148
Michael Lando5b593492018-07-29 16:13:45 +0300149 <dependency>
150 <groupId>org.glassfish.jersey.ext</groupId>
151 <artifactId>jersey-spring4</artifactId>
152 <version>${jersey-bom.version}</version>
153 <exclusions>
154 <exclusion>
155 <groupId>org.springframework</groupId>
156 <artifactId>spring-web</artifactId>
157 </exclusion>
158 <exclusion>
159 <groupId>org.springframework</groupId>
160 <artifactId>spring-beans</artifactId>
161 </exclusion>
162 <exclusion>
163 <groupId>org.springframework</groupId>
164 <artifactId>spring-core</artifactId>
165 </exclusion>
166 <exclusion>
167 <groupId>org.springframework</groupId>
168 <artifactId>spring-aop</artifactId>
169 </exclusion>
170 <!-- Transitive dependency of spring-bridge -->
171 <exclusion>
172 <groupId>org.springframework</groupId>
173 <artifactId>spring-context</artifactId>
174 </exclusion>
175 </exclusions>
Michael Landoa5445102018-03-04 14:53:33 +0200176
Michael Lando5b593492018-07-29 16:13:45 +0300177 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200178
Michael Lando5b593492018-07-29 16:13:45 +0300179 <!--asm-all-repackaged is a jersey dependency. in current version jersey depends on a version that was compiled using java 9 compiler
180 currently our jetty (v9.3.6) does not support java 9. as soon as jetty gets upgraded we will remove this dependency-->
181 <dependency>
182 <groupId>org.glassfish.hk2.external</groupId>
183 <artifactId>asm-all-repackaged</artifactId>
184 </dependency>
185
186 <dependency>
187 <groupId>org.glassfish.jersey.ext</groupId>
188 <artifactId>jersey-bean-validation</artifactId>
189 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200190
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200191 <!-- http client -->
192 <dependency>
193 <groupId>org.apache.httpcomponents</groupId>
194 <artifactId>httpclient</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300195 <version>${httpclient.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200196 <scope>compile</scope>
197 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200198
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200199 <dependency>
200 <groupId>org.apache.httpcomponents</groupId>
201 <artifactId>httpcore</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300202 <version>${httpcore.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200203 <scope>compile</scope>
204 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200205
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200206 <dependency>
207 <groupId>commons-logging</groupId>
208 <artifactId>commons-logging</artifactId>
209 <version>${commons-logging}</version>
210 <scope>compile</scope>
211 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200212
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200213 <dependency>
214 <groupId>commons-codec</groupId>
215 <artifactId>commons-codec</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300216 <version>${commons-codec}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200217 <scope>compile</scope>
218 </dependency>
219 <!-- http client END -->
Michael Lando451a3402017-02-19 10:28:42 +0200220
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200221 <dependency>
222 <groupId>javax.servlet</groupId>
vempod6d12912018-07-09 14:27:57 +0300223 <artifactId>javax.servlet-api</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300224 <version>${servlet-api.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200225 <scope>provided</scope>
226 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200227
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200228 <dependency>
229 <groupId>org.eclipse.jgit</groupId>
230 <artifactId>org.eclipse.jgit</artifactId>
231 <version>3.4.1.201406201815-r</version>
232 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200233
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200234 <!-- spring - used by A4C -->
235 <dependency>
236 <groupId>org.springframework</groupId>
237 <artifactId>spring-core</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-context</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-web</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-webmvc</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.springframework</groupId>
265 <artifactId>spring-aop</artifactId>
266 <version>${spring.version}</version>
267 <scope>compile</scope>
268 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200269
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200270 <dependency>
271 <groupId>org.springframework</groupId>
272 <artifactId>spring-beans</artifactId>
273 <version>${spring.version}</version>
274 <scope>compile</scope>
275 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200276
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200277 <dependency>
278 <groupId>org.springframework</groupId>
279 <artifactId>spring-expression</artifactId>
280 <version>${spring.version}</version>
281 <scope>compile</scope>
282 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200283
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200284 <dependency>
285 <groupId>org.codehaus.groovy</groupId>
286 <artifactId>groovy-all</artifactId>
287 <version>${groovy.version}</version>
288 <scope>compile</scope>
289 </dependency>
Michael Landoc34b77c2017-02-28 19:03:11 +0200290
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200291 <dependency>
292 <groupId>org.codehaus.janino</groupId>
293 <artifactId>janino</artifactId>
294 <version>${janino.version}</version>
295 <scope>compile</scope>
296 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200297
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200298 <dependency>
299 <groupId>org.codehaus.janino</groupId>
300 <artifactId>commons-compiler</artifactId>
301 <version>${janino.version}</version>
302 <scope>compile</scope>
303 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200304
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200305 <dependency>
306 <groupId>com.google.guava</groupId>
307 <artifactId>guava</artifactId>
308 <version>${guava.version}</version>
309 <scope>compile</scope>
310 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200311
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200312 <!-- TITAN -->
313 <dependency>
314 <groupId>com.thinkaurelius.titan</groupId>
315 <artifactId>titan-core</artifactId>
316 <version>${titan.version}</version>
317 <scope>compile</scope>
318 <exclusions>
319 <exclusion>
320 <groupId>org.json</groupId>
321 <artifactId>json</artifactId>
322 </exclusion>
323 <exclusion>
324 <artifactId>slf4j-log4j12</artifactId>
325 <groupId>org.slf4j</groupId>
326 </exclusion>
327 </exclusions>
328 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200329
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200330 <dependency>
Michael Landode67b612018-03-15 16:53:05 +0200331 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200332 <artifactId>sdc-titan-cassandra</artifactId>
Michael Landode67b612018-03-15 16:53:05 +0200333 <version>${sdc.titan.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200334 <scope>compile</scope>
335 <exclusions>
336 <exclusion>
337 <groupId>org.slf4j</groupId>
338 <artifactId>slf4j-log4j12</artifactId>
339 </exclusion>
340 <exclusion>
341 <groupId>io.netty</groupId>
342 <artifactId>netty-all</artifactId>
343 </exclusion>
344 </exclusions>
345 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200346
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200347 <dependency>
348 <groupId>org.apache.commons</groupId>
349 <artifactId>commons-lang3</artifactId>
350 <version>${lang3.version}</version>
351 <scope>compile</scope>
352 </dependency>
353 <!-- TITAN END -->
Michael Lando451a3402017-02-19 10:28:42 +0200354
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200355 <dependency>
356 <groupId>com.googlecode.json-simple</groupId>
357 <artifactId>json-simple</artifactId>
358 <version>${json-simple.version}</version>
359 <scope>compile</scope>
Michael Lando451a3402017-02-19 10:28:42 +0200360
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200361 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200362
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200363 <dependency>
364 <groupId>org.elasticsearch</groupId>
365 <artifactId>elasticsearch</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300366 <version>${elastic-search.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200367 <scope>compile</scope>
368 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200369
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200370 <dependency>
371 <groupId>org.elasticsearch.plugin</groupId>
372 <artifactId>shield</artifactId>
373 <version>${elastic-search.version}</version>
374 <scope>compile</scope>
375 </dependency>
376 <!-- functional java -->
377 <dependency>
378 <groupId>org.functionaljava</groupId>
379 <artifactId>functionaljava</artifactId>
380 <version>${functionaljava.version}</version>
381 <scope>compile</scope>
382 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200383
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200384 <!-- Aspects -->
385 <dependency>
386 <groupId>com.jcabi</groupId>
387 <artifactId>jcabi-aspects</artifactId>
388 <version>${jcabi.version}</version>
389 <scope>compile</scope>
390 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200391
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200392 <dependency>
393 <groupId>org.aspectj</groupId>
394 <artifactId>aspectjrt</artifactId>
395 <version>${aspectjrt.version}</version>
396 <scope>compile</scope>
397 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200398
Michael Landoa5445102018-03-04 14:53:33 +0200399
400
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200401 <!-- CAMBRIA CLIENT for U-EB -->
402 <dependency>
403 <groupId>com.att.nsa</groupId>
404 <artifactId>cambriaClient</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200405 <version>1.2.1-oss</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200406 <scope>compile</scope>
407 <exclusions>
408 <exclusion>
Michael Lando5b593492018-07-29 16:13:45 +0300409 <groupId>com.att.nsa</groupId>
410 <artifactId>saClientLibrary</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200411 </exclusion>
412 </exclusions>
413 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200414
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200415 <dependency>
416 <groupId>org.json</groupId>
417 <artifactId>json</artifactId>
418 <version>20131018</version>
419 <scope>compile</scope>
420 </dependency>
421 <dependency>
422 <groupId>org.apache.tinkerpop</groupId>
423 <artifactId>tinkergraph-gremlin</artifactId>
424 <version>3.0.1-incubating</version>
425 <scope>compile</scope>
426 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200427
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200428 <dependency>
429 <groupId>org.apache.tinkerpop</groupId>
430 <artifactId>gremlin-groovy</artifactId>
431 <version>3.0.1-incubating</version>
432 <scope>compile</scope>
433 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200434
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200435 <!-- CASSANDRA -->
436 <dependency>
437 <groupId>com.datastax.cassandra</groupId>
438 <artifactId>cassandra-driver-core</artifactId>
439 <version>${cassandra.driver.version}</version>
440 <scope>compile</scope>
441 </dependency>
442 <dependency>
443 <groupId>com.datastax.cassandra</groupId>
444 <artifactId>cassandra-driver-mapping</artifactId>
445 <version>${cassandra.driver.version}</version>
446 <scope>compile</scope>
447 </dependency>
448 <!-- CASSANDRA END -->
Michael Lando451a3402017-02-19 10:28:42 +0200449
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200450 <!-- Inserted for ECOMP Portal Integration -->
451 <dependency>
452 <groupId>org.openecomp.ecompsdkos</groupId>
453 <artifactId>epsdk-fw</artifactId>
454 <version>${ecomp.version}</version>
455 <scope>compile</scope>
456 <exclusions>
457 <exclusion>
458 <groupId>com.att.nsa</groupId>
459 <artifactId>cambriaClient</artifactId>
460 </exclusion>
461 <exclusion>
462 <artifactId>slf4j-log4j12</artifactId>
463 <groupId>org.slf4j</groupId>
464 </exclusion>
465 </exclusions>
466 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200467
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200468 <!--Jetty Proxy-->
469 <dependency>
470 <groupId>org.eclipse.jetty</groupId>
471 <artifactId>jetty-proxy</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300472 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200473 <scope>compile</scope>
474 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200475
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200476 <dependency>
477 <groupId>org.eclipse.jetty</groupId>
478 <artifactId>jetty-servlets</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300479 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200480 <scope>compile</scope>
481 </dependency>
482 <!-- System metrics -->
483 <dependency>
484 <groupId>org.fusesource</groupId>
485 <artifactId>sigar</artifactId>
486 <version>${sigar.version}</version>
487 <scope>compile</scope>
488 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300489 <dependency>
490 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
491 <artifactId>dmaapClient</artifactId>
492 <version>1.1.3</version>
493 <scope>compile</scope>
494 <exclusions>
495 <exclusion>
496 <groupId>com.att.aft</groupId>
497 <artifactId>dme2</artifactId>
498 </exclusion>
499 </exclusions>
500 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200501
Michael Lando5b593492018-07-29 16:13:45 +0300502
503
504 <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 Landoa5445102018-03-04 14:53:33 +0200532
Michael Lando5b593492018-07-29 16:13:45 +0300533 <dependency>
534 <groupId>org.glassfish.jersey.core</groupId>
535 <artifactId>jersey-client</artifactId>
536 <version>${jersey-bom.version}</version>
Michael Landoa5445102018-03-04 14:53:33 +0200537
Michael Lando5b593492018-07-29 16:13:45 +0300538 </dependency>
539
540 <dependency>
541 <groupId>com.github.tomakehurst</groupId>
542 <artifactId>wiremock-standalone</artifactId>
543 <scope>test</scope>
544 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200545
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200546 <dependency>
547 <groupId>org.eclipse.jetty</groupId>
548 <artifactId>jetty-servlet</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300549 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200550 <scope>test</scope>
551 </dependency>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200552
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200553 <dependency>
554 <groupId>org.eclipse.jetty</groupId>
555 <artifactId>jetty-webapp</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300556 <version>${jetty.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200557 <scope>test</scope>
558 </dependency>
559
560 <dependency>
561 <groupId>junit</groupId>
562 <artifactId>junit</artifactId>
563 <version>${junit.version}</version>
564 <scope>test</scope>
565 </dependency>
566
567 <dependency>
568 <groupId>org.mockito</groupId>
569 <artifactId>mockito-core</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200570 <scope>test</scope>
571 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200572
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200573 <dependency>
574 <groupId>org.springframework</groupId>
575 <artifactId>spring-test</artifactId>
576 <version>${spring.version}</version>
577 <scope>test</scope>
578 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200579
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200580 <dependency>
581 <groupId>org.springframework</groupId>
582 <artifactId>spring-tx</artifactId>
583 <version>${spring.version}</version>
Michael Lando5b593492018-07-29 16:13:45 +0300584 </dependency>
585
586 <dependency>
587 <groupId>io.cucumber</groupId>
588 <artifactId>cucumber-java</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200589 <scope>test</scope>
590 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200591
Michael Lando5b593492018-07-29 16:13:45 +0300592 <dependency>
593 <groupId>io.cucumber</groupId>
594 <artifactId>cucumber-junit</artifactId>
595 <scope>test</scope>
596 </dependency>
Yuli Shlosberge4669312018-04-26 15:48:26 +0300597
598 <dependency>
599 <groupId>org.jmockit</groupId>
600 <artifactId>jmockit</artifactId>
601 <version>${jmockit.version}</version>
602 <scope>test</scope>
603 </dependency>
Tal Gitelman364c0f52018-06-13 14:51:53 +0300604
605 <dependency>
606 <groupId>com.google.code.bean-matchers</groupId>
607 <artifactId>bean-matchers</artifactId>
608 <version>0.11</version>
609 <scope>test</scope>
610 </dependency>
Yuli Shlosberge4669312018-04-26 15:48:26 +0300611
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200612 </dependencies>
Yuli Shlosberge4669312018-04-26 15:48:26 +0300613
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200614 <build>
Michael Lando451a3402017-02-19 10:28:42 +0200615
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200616 <finalName>${project.artifactId}-${project.version}</finalName>
Michael Lando451a3402017-02-19 10:28:42 +0200617
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200618 <plugins>
619 <plugin>
620 <groupId>org.apache.maven.plugins</groupId>
621 <artifactId>maven-war-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200622 <configuration>
623 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
624 WEB-INF/classes/elasticsearch.yml,
625 WEB-INF/classes/portal.properties
626 </packagingExcludes>
627 <archive>
628 <manifestEntries>
629 <SDC-Version>${project.version}</SDC-Version>
630 </manifestEntries>
631 <manifest>
632 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
633 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
634 </manifest>
635 </archive>
Michael Lando451a3402017-02-19 10:28:42 +0200636
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200637 <webResources>
638 <resource>
639 <directory>src/main/resources</directory>
640 <directory>src/main/resources/swagger</directory>
641 </resource>
642 </webResources>
643 <attachClasses>true</attachClasses>
644 </configuration>
645 </plugin>
Michael Lando5b593492018-07-29 16:13:45 +0300646 <plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200647 <groupId>com.jcabi</groupId>
648 <artifactId>jcabi-maven-plugin</artifactId>
Michael Landodc856bb2018-08-13 13:27:52 +0300649 <version>${jcabi.maven.plugin.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200650 <executions>
651 <execution>
652 <goals>
653 <goal>ajc</goal>
654 </goals>
655 </execution>
656 </executions>
657 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300658
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200659 <plugin>
660 <groupId>org.apache.maven.plugins</groupId>
661 <artifactId>maven-assembly-plugin</artifactId>
662 <executions>
663 <execution>
664 <id>normatives</id>
665 <phase>package</phase>
666 <goals>
667 <goal>single</goal>
668 </goals>
669 <configuration>
670 <finalName>normatives</finalName>
671 <appendAssemblyId>false</appendAssemblyId>
Michael Lando02ab6512018-04-05 23:32:27 +0300672 <descriptors>
673 <descriptor>${project.basedir}/normatives.xml</descriptor>
674 </descriptors>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200675 </configuration>
676 </execution>
677 </executions>
678 </plugin>
679 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300680 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200681 <artifactId>maven-clean-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200682 <executions>
683 <execution>
684 <id>clean.sdc.backend.folder</id>
685 <phase>clean</phase>
686 <goals>
687 <goal>clean</goal>
688 </goals>
689 <configuration>
690 <filesets>
691 <!-- static configuration files -->
692 <fileset>
693 <directory>
694 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
695 </directory>
696 <followSymlinks>false</followSymlinks>
697 <includes>
698 <include>Artifact-Generator.properties</include>
699 <include>error-configuration.yaml</include>
700 <include>ecomp-error-configuration.yaml</include>
701 <include>logback.xml</include>
702 </includes>
703 </fileset>
704 <!-- BE WAR's -->
705 <fileset>
706 <directory>${project.parent.basedir}/catalog-be/sdc-backend</directory>
707 <followSymlinks>false</followSymlinks>
708 <includes>
709 <include>*.war</include>
710 </includes>
711 </fileset>
712 <fileset>
713 <directory>
714 ${project.basedir}/sdc-backend-init/chef-repo/cookbooks/sdc-normatives/files/default
715 </directory>
716 <followSymlinks>false</followSymlinks>
717 <includes>
718 <include>normatives.tar.gz</include>
719 </includes>
720 </fileset>
Michael Lando451a3402017-02-19 10:28:42 +0200721
722
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200723 </filesets>
724 </configuration>
725 </execution>
Michael Lando5b593492018-07-29 16:13:45 +0300726
Michael Landoa5445102018-03-04 14:53:33 +0200727 <execution>
Michael Lando5b593492018-07-29 16:13:45 +0300728 <id>clean-static-files</id>
729 <phase>clean</phase>
730 <goals>
731 <goal>clean</goal>
732 </goals>
733 <configuration>
734 <filesets>
735 <!-- tosca files -->
736 <fileset>
737 <directory>${project.parent.basedir}/asdctool/tosca</directory>
738 <followSymlinks>false</followSymlinks>
739 </fileset>
740 </filesets>
741 </configuration>
742 </execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200743 </executions>
744 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200745
Michael Lando5b593492018-07-29 16:13:45 +0300746
747 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300748 <groupId>org.apache.maven.plugins</groupId>
Michael Lando5b593492018-07-29 16:13:45 +0300749 <artifactId>maven-resources-plugin</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300750 <executions>
751 <execution>
752 <id>copy-static-configuration-files</id>
753 <phase>verify</phase>
754 <goals>
755 <goal>copy-resources</goal>
756 </goals>
757 <configuration>
758 <outputDirectory>${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default</outputDirectory>
759 <resources>
760 <resource>
761 <directory>${project.parent.basedir}/catalog-be/src/main/resources/config</directory>
762 <includes>
763 <include>Artifact-Generator.properties</include>
764 <include>error-configuration.yaml</include>
765 <include>ecomp-error-configuration.yaml</include>
766 <include>logback.xml</include>
767 </includes>
768 </resource>
769 </resources>
770 </configuration>
771 </execution>
772 <execution>
773 <id>copy-tosca-folder</id>
774 <!-- here the phase you need -->
775 <phase>install</phase>
776 <goals>
777 <goal>copy-resources</goal>
778 </goals>
779 <configuration>
780 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
781 <resources>
782 <resource>
783 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
784 <filtering>true</filtering>
785 </resource>
786 </resources>
787 </configuration>
788 </execution>
789 </executions>
790 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200791 </plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200792
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200793 <pluginManagement>
794 <plugins>
795 <!--This plugin's configuration is used to store Eclipse m2e settings
796 only. It has no influence on the Maven build itself. -->
797 <plugin>
798 <groupId>org.eclipse.m2e</groupId>
799 <artifactId>lifecycle-mapping</artifactId>
800 <version>1.0.0</version>
801 <configuration>
802 <lifecycleMappingMetadata>
803 <pluginExecutions>
804 <pluginExecution>
805 <pluginExecutionFilter>
806 <groupId>com.googlecode.maven-download-plugin</groupId>
807 <artifactId>download-maven-plugin</artifactId>
808 <versionRange>[1.2.1,)</versionRange>
809 <goals>
810 <goal>wget</goal>
811 </goals>
812 </pluginExecutionFilter>
813 <action>
814 <ignore></ignore>
815 </action>
816 </pluginExecution>
Michael Lando451a3402017-02-19 10:28:42 +0200817
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200818 <pluginExecution>
819 <pluginExecutionFilter>
820 <groupId>com.jcabi</groupId>
821 <artifactId>jcabi-maven-plugin</artifactId>
822 <versionRange>[0.0,)</versionRange>
823 <goals>
824 <goal>ajc</goal>
825 </goals>
826 </pluginExecutionFilter>
827 <action>
828 <execute/>
829 </action>
830 </pluginExecution>
831
832 </pluginExecutions>
833 </lifecycleMappingMetadata>
834 </configuration>
835 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200836 </plugins>
837 </pluginManagement>
838 <!-- Swagger Plugins End -->
839 </build>
840
841 <profiles>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200842 <profile>
843 <id>docker-staging</id>
844 <properties>
845 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
846 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
847 </properties>
848 </profile>
849
850 <profile>
851 <id>docker</id>
852 <activation>
853 <activeByDefault>false</activeByDefault>
854 </activation>
855 <build>
856 <plugins>
857 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300858 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200859 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200860 <executions>
861 <execution>
862 <id>copy-resources-apidocs</id>
863 <phase>verify</phase>
864 <goals>
865 <goal>copy-resources</goal>
866 </goals>
867 <configuration>
868 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
869 <resources>
870 <resource>
871 <directory>
Gautam Shah09a41f52018-04-11 19:55:29 +0530872 ${project.parent.basedir}/openecomp-be/tools/swagger-ui/target/api-docs
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200873 </directory>
874 <includes>
875 <include>api-docs.war</include>
876 </includes>
877 </resource>
878 </resources>
879 </configuration>
880 </execution>
881
882 <execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200883 <id>copy-resources-be</id>
884 <phase>verify</phase>
885 <goals>
886 <goal>copy-resources</goal>
887 </goals>
888 <configuration>
889 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
890 <resources>
891 <resource>
892 <directory>${project.parent.basedir}/catalog-be/target</directory>
893 <includes>
894 <include>catalog-be-${project.version}.war</include>
895 </includes>
896 </resource>
897 <resource>
898 <directory>
899 ${project.parent.basedir}/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/target
900 </directory>
901 <includes>
902 <include>onboarding-be-${project.version}.war</include>
903 </includes>
904 </resource>
905 </resources>
906 </configuration>
907 </execution>
908 <execution>
909 <id>copy-normatives</id>
910 <phase>verify</phase>
911 <goals>
912 <goal>copy-resources</goal>
913 </goals>
914 <configuration>
915 <outputDirectory>sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default</outputDirectory>
916 <resources>
917 <resource>
918 <directory>${project.parent.basedir}/catalog-be/target</directory>
919 <includes>
920 <include>normatives.tar.gz</include>
921 </includes>
922 </resource>
923 </resources>
924 </configuration>
925 </execution>
926 </executions>
927 </plugin>
928 <plugin>
929 <groupId>io.fabric8</groupId>
930 <artifactId>docker-maven-plugin</artifactId>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200931 <configuration>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200932 <apiVersion>1.23</apiVersion>
933 <registry>nexus3.onap.org:10001</registry>
934 <authConfig>
935 <pull>
936 <username>docker</username>
937 <password>docker</password>
938 </pull>
939 </authConfig>
940 <images>
941
942 <!-- Build backend image -->
943 <image>
944 <name>onap/sdc-backend</name>
945 <alias>sdc-backend</alias>
946 <build>
947 <cleanup>try</cleanup>
948 <dockerFileDir>${project.basedir}/sdc-backend</dockerFileDir>
949 <tags>
950 <tag>${docker.tag}</tag>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200951 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
952 </tags>
953 </build>
954 </image>
955 <!-- Build backend-init image -->
956 <image>
957 <name>onap/sdc-backend-init</name>
958 <alias>sdc-backend-init</alias>
959 <build>
960 <cleanup>try</cleanup>
961 <dockerFileDir>${project.basedir}/sdc-backend-init</dockerFileDir>
962 <tags>
963 <tag>${docker.tag}</tag>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200964 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
965 </tags>
966 </build>
967 </image>
968 </images>
969 </configuration>
970 <executions>
971 <execution>
972 <id>clean-images</id>
973 <phase>pre-clean</phase>
974 <goals>
975 <goal>remove</goal>
976 </goals>
977 <configuration>
978 <removeAll>true</removeAll>
979 <image>onap/sdc-backend,onap/sdc-backend-init</image>
980 </configuration>
981 </execution>
982
983 <execution>
984 <id>generate-images</id>
985 <phase>install</phase>
986 <goals>
987 <goal>build</goal>
988 </goals>
989 </execution>
990
991 <execution>
992 <id>push-images</id>
993 <phase>deploy</phase>
994 <goals>
995 <goal>push</goal>
996 </goals>
997 <configuration>
998 <image>onap/sdc-backend,onap/sdc-backend-init</image>
999 </configuration>
1000 </execution>
1001 </executions>
1002 </plugin>
1003 </plugins>
1004 </build>
1005 </profile>
1006
1007
1008 </profiles>
Michael Lando451a3402017-02-19 10:28:42 +02001009</project>