blob: 3a360f7f8d91f609aa395708999b6ac58d3b4d20 [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>
622 <version>2.6</version>
623 <configuration>
624 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
625 WEB-INF/classes/elasticsearch.yml,
626 WEB-INF/classes/portal.properties
627 </packagingExcludes>
628 <archive>
629 <manifestEntries>
630 <SDC-Version>${project.version}</SDC-Version>
631 </manifestEntries>
632 <manifest>
633 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
634 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
635 </manifest>
636 </archive>
Michael Lando451a3402017-02-19 10:28:42 +0200637
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200638 <webResources>
639 <resource>
640 <directory>src/main/resources</directory>
641 <directory>src/main/resources/swagger</directory>
642 </resource>
643 </webResources>
644 <attachClasses>true</attachClasses>
645 </configuration>
646 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300647
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200648 <plugin>
Michael Lando5b593492018-07-29 16:13:45 +0300649 <groupId>org.apache.maven.plugins</groupId>
650 <artifactId>maven-dependency-plugin</artifactId>
651 <executions>
652 <execution>
653 <id>copy-dependencies</id>
654 <phase>package</phase>
655 <goals>
656 <goal>copy-dependencies</goal>
657 </goals>
658 <configuration>
659 <includeScope>compile</includeScope>
660 </configuration>
661 </execution>
662 <execution>
663 <id>copy-installed</id>
664 <phase>install</phase>
665 <goals>
666 <goal>copy</goal>
667 </goals>
668 <configuration>
669 <artifactItems>
670 <artifactItem>
671 <groupId>${project.groupId}</groupId>
672 <artifactId>${project.artifactId}</artifactId>
673 <version>${project.version}</version>
674 <type>${project.packaging}</type>
675 </artifactItem>
676 </artifactItems>
677 <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-backend/</outputDirectory>
678 </configuration>
679 </execution>
680 </executions>
681 </plugin>
Michael Landoa5445102018-03-04 14:53:33 +0200682
Michael Lando5b593492018-07-29 16:13:45 +0300683 <plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200684 <groupId>com.jcabi</groupId>
685 <artifactId>jcabi-maven-plugin</artifactId>
686 <version>${jcabi.plugin.version}</version>
687 <executions>
688 <execution>
689 <goals>
690 <goal>ajc</goal>
691 </goals>
692 </execution>
693 </executions>
694 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300695
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200696 <plugin>
697 <groupId>org.apache.maven.plugins</groupId>
698 <artifactId>maven-assembly-plugin</artifactId>
699 <executions>
700 <execution>
701 <id>normatives</id>
702 <phase>package</phase>
703 <goals>
704 <goal>single</goal>
705 </goals>
706 <configuration>
707 <finalName>normatives</finalName>
708 <appendAssemblyId>false</appendAssemblyId>
Michael Lando02ab6512018-04-05 23:32:27 +0300709 <descriptors>
710 <descriptor>${project.basedir}/normatives.xml</descriptor>
711 </descriptors>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200712 </configuration>
713 </execution>
714 </executions>
715 </plugin>
716 <plugin>
717 <artifactId>maven-clean-plugin</artifactId>
718 <version>3.0.0</version>
719 <executions>
720 <execution>
721 <id>clean.sdc.backend.folder</id>
722 <phase>clean</phase>
723 <goals>
724 <goal>clean</goal>
725 </goals>
726 <configuration>
727 <filesets>
728 <!-- static configuration files -->
729 <fileset>
730 <directory>
731 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
732 </directory>
733 <followSymlinks>false</followSymlinks>
734 <includes>
735 <include>Artifact-Generator.properties</include>
736 <include>error-configuration.yaml</include>
737 <include>ecomp-error-configuration.yaml</include>
738 <include>logback.xml</include>
739 </includes>
740 </fileset>
741 <!-- BE WAR's -->
742 <fileset>
743 <directory>${project.parent.basedir}/catalog-be/sdc-backend</directory>
744 <followSymlinks>false</followSymlinks>
745 <includes>
746 <include>*.war</include>
747 </includes>
748 </fileset>
749 <fileset>
750 <directory>
751 ${project.basedir}/sdc-backend-init/chef-repo/cookbooks/sdc-normatives/files/default
752 </directory>
753 <followSymlinks>false</followSymlinks>
754 <includes>
755 <include>normatives.tar.gz</include>
756 </includes>
757 </fileset>
Michael Lando451a3402017-02-19 10:28:42 +0200758
759
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200760 </filesets>
761 </configuration>
762 </execution>
Michael Lando5b593492018-07-29 16:13:45 +0300763
Michael Landoa5445102018-03-04 14:53:33 +0200764 <execution>
Michael Lando5b593492018-07-29 16:13:45 +0300765 <id>clean-static-files</id>
766 <phase>clean</phase>
767 <goals>
768 <goal>clean</goal>
769 </goals>
770 <configuration>
771 <filesets>
772 <!-- tosca files -->
773 <fileset>
774 <directory>${project.parent.basedir}/asdctool/tosca</directory>
775 <followSymlinks>false</followSymlinks>
776 </fileset>
777 </filesets>
778 </configuration>
779 </execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200780 </executions>
781 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200782
Michael Lando5b593492018-07-29 16:13:45 +0300783
784 <plugin>
785 <artifactId>maven-resources-plugin</artifactId>
786 <version>3.0.2</version>
787 <executions>
788 <execution>
789 <id>copy-static-configuration-files</id>
790 <phase>verify</phase>
791 <goals>
792 <goal>copy-resources</goal>
793 </goals>
794 <configuration>
795 <outputDirectory>${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default</outputDirectory>
796 <resources>
797 <resource>
798 <directory>${project.parent.basedir}/catalog-be/src/main/resources/config</directory>
799 <includes>
800 <include>Artifact-Generator.properties</include>
801 <include>error-configuration.yaml</include>
802 <include>ecomp-error-configuration.yaml</include>
803 <include>logback.xml</include>
804 </includes>
805 </resource>
806 </resources>
807 </configuration>
808 </execution>
809 <execution>
810 <id>copy-tosca-folder</id>
811 <!-- here the phase you need -->
812 <phase>install</phase>
813 <goals>
814 <goal>copy-resources</goal>
815 </goals>
816 <configuration>
817 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
818 <resources>
819 <resource>
820 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
821 <filtering>true</filtering>
822 </resource>
823 </resources>
824 </configuration>
825 </execution>
826 </executions>
827 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200828 </plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200829
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200830 <pluginManagement>
831 <plugins>
832 <!--This plugin's configuration is used to store Eclipse m2e settings
833 only. It has no influence on the Maven build itself. -->
834 <plugin>
835 <groupId>org.eclipse.m2e</groupId>
836 <artifactId>lifecycle-mapping</artifactId>
837 <version>1.0.0</version>
838 <configuration>
839 <lifecycleMappingMetadata>
840 <pluginExecutions>
841 <pluginExecution>
842 <pluginExecutionFilter>
843 <groupId>com.googlecode.maven-download-plugin</groupId>
844 <artifactId>download-maven-plugin</artifactId>
845 <versionRange>[1.2.1,)</versionRange>
846 <goals>
847 <goal>wget</goal>
848 </goals>
849 </pluginExecutionFilter>
850 <action>
851 <ignore></ignore>
852 </action>
853 </pluginExecution>
Michael Lando451a3402017-02-19 10:28:42 +0200854
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200855 <pluginExecution>
856 <pluginExecutionFilter>
857 <groupId>com.jcabi</groupId>
858 <artifactId>jcabi-maven-plugin</artifactId>
859 <versionRange>[0.0,)</versionRange>
860 <goals>
861 <goal>ajc</goal>
862 </goals>
863 </pluginExecutionFilter>
864 <action>
865 <execute/>
866 </action>
867 </pluginExecution>
868
869 </pluginExecutions>
870 </lifecycleMappingMetadata>
871 </configuration>
872 </plugin>
873 <plugin>
874 <groupId>org.apache.maven.plugins</groupId>
875 <artifactId>maven-deploy-plugin</artifactId>
876 <version>2.7</version>
877 <configuration>
878 <skip>true</skip>
879 </configuration>
880 </plugin>
881 </plugins>
882 </pluginManagement>
883 <!-- Swagger Plugins End -->
884 </build>
885
886 <profiles>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200887 <profile>
888 <id>docker-staging</id>
889 <properties>
890 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
891 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
892 </properties>
893 </profile>
894
895 <profile>
896 <id>docker</id>
897 <activation>
898 <activeByDefault>false</activeByDefault>
899 </activation>
900 <build>
901 <plugins>
902 <plugin>
903 <artifactId>maven-resources-plugin</artifactId>
904 <version>3.0.2</version>
905 <executions>
906 <execution>
907 <id>copy-resources-apidocs</id>
908 <phase>verify</phase>
909 <goals>
910 <goal>copy-resources</goal>
911 </goals>
912 <configuration>
913 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
914 <resources>
915 <resource>
916 <directory>
Gautam Shah09a41f52018-04-11 19:55:29 +0530917 ${project.parent.basedir}/openecomp-be/tools/swagger-ui/target/api-docs
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200918 </directory>
919 <includes>
920 <include>api-docs.war</include>
921 </includes>
922 </resource>
923 </resources>
924 </configuration>
925 </execution>
926
927 <execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200928 <id>copy-resources-be</id>
929 <phase>verify</phase>
930 <goals>
931 <goal>copy-resources</goal>
932 </goals>
933 <configuration>
934 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
935 <resources>
936 <resource>
937 <directory>${project.parent.basedir}/catalog-be/target</directory>
938 <includes>
939 <include>catalog-be-${project.version}.war</include>
940 </includes>
941 </resource>
942 <resource>
943 <directory>
944 ${project.parent.basedir}/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/target
945 </directory>
946 <includes>
947 <include>onboarding-be-${project.version}.war</include>
948 </includes>
949 </resource>
950 </resources>
951 </configuration>
952 </execution>
953 <execution>
954 <id>copy-normatives</id>
955 <phase>verify</phase>
956 <goals>
957 <goal>copy-resources</goal>
958 </goals>
959 <configuration>
960 <outputDirectory>sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default</outputDirectory>
961 <resources>
962 <resource>
963 <directory>${project.parent.basedir}/catalog-be/target</directory>
964 <includes>
965 <include>normatives.tar.gz</include>
966 </includes>
967 </resource>
968 </resources>
969 </configuration>
970 </execution>
971 </executions>
972 </plugin>
973 <plugin>
974 <groupId>io.fabric8</groupId>
975 <artifactId>docker-maven-plugin</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200976 <version>${fabric8.version}</version>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200977
978 <configuration>
979 <verbose>true</verbose>
980 <apiVersion>1.23</apiVersion>
981 <registry>nexus3.onap.org:10001</registry>
982 <authConfig>
983 <pull>
984 <username>docker</username>
985 <password>docker</password>
986 </pull>
987 </authConfig>
988 <images>
989
990 <!-- Build backend image -->
991 <image>
992 <name>onap/sdc-backend</name>
993 <alias>sdc-backend</alias>
994 <build>
995 <cleanup>try</cleanup>
996 <dockerFileDir>${project.basedir}/sdc-backend</dockerFileDir>
997 <tags>
998 <tag>${docker.tag}</tag>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200999 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
1000 </tags>
1001 </build>
1002 </image>
1003 <!-- Build backend-init image -->
1004 <image>
1005 <name>onap/sdc-backend-init</name>
1006 <alias>sdc-backend-init</alias>
1007 <build>
1008 <cleanup>try</cleanup>
1009 <dockerFileDir>${project.basedir}/sdc-backend-init</dockerFileDir>
1010 <tags>
1011 <tag>${docker.tag}</tag>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02001012 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
1013 </tags>
1014 </build>
1015 </image>
1016 </images>
1017 </configuration>
1018 <executions>
1019 <execution>
1020 <id>clean-images</id>
1021 <phase>pre-clean</phase>
1022 <goals>
1023 <goal>remove</goal>
1024 </goals>
1025 <configuration>
1026 <removeAll>true</removeAll>
1027 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1028 </configuration>
1029 </execution>
1030
1031 <execution>
1032 <id>generate-images</id>
1033 <phase>install</phase>
1034 <goals>
1035 <goal>build</goal>
1036 </goals>
1037 </execution>
1038
1039 <execution>
1040 <id>push-images</id>
1041 <phase>deploy</phase>
1042 <goals>
1043 <goal>push</goal>
1044 </goals>
1045 <configuration>
1046 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1047 </configuration>
1048 </execution>
1049 </executions>
1050 </plugin>
1051 </plugins>
1052 </build>
1053 </profile>
1054
1055
1056 </profiles>
Michael Lando451a3402017-02-19 10:28:42 +02001057</project>