blob: 870bf09be68c957d90ac2d2fbfacf790475dcda3 [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"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3
4 <modelVersion>4.0.0</modelVersion>
5
6 <artifactId>catalog-be</artifactId>
7 <packaging>war</packaging>
8
9 <parent>
10 <groupId>org.openecomp.sdc</groupId>
11 <artifactId>sdc-main</artifactId>
Michael Landoebd7c8f2017-03-15 20:38:00 +020012 <version>1.1.0-SNAPSHOT</version>
Michael Lando451a3402017-02-19 10:28:42 +020013 </parent>
14
Michael Lando451a3402017-02-19 10:28:42 +020015 <properties>
16 <swagger-ui-version>2.1.0-M2</swagger-ui-version>
17 </properties>
18
19
Michael Lando451a3402017-02-19 10:28:42 +020020 <dependencies>
Michael Landoc0ac0152017-02-27 23:48:43 +020021
Michael Landoc34b77c2017-02-28 19:03:11 +020022
Michael Landoed64b5e2017-06-09 03:19:04 +030023 <!--JSON and YAML Parsing-->
Michael Landoc34b77c2017-02-28 19:03:11 +020024 <dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +030025 <groupId>com.fasterxml.jackson.dataformat</groupId>
26 <artifactId>jackson-dataformat-yaml</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +030027 <version>${jackson.yaml.version}</version>
Michael Landoed64b5e2017-06-09 03:19:04 +030028 <scope>compile</scope>
Michael Landoc34b77c2017-02-28 19:03:11 +020029 </dependency>
30
Michael Landoc0ac0152017-02-27 23:48:43 +020031 <dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +030032 <groupId>com.fasterxml.jackson.core</groupId>
33 <artifactId>jackson-databind</artifactId>
34 <version>${jackson.version}</version>
35 <scope>compile</scope>
Michael Landoc0ac0152017-02-27 23:48:43 +020036 </dependency>
37
38 <dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +030039 <groupId>com.fasterxml.jackson.core</groupId>
40 <artifactId>jackson-core</artifactId>
41 <version>${jackson.version}</version>
42 <scope>compile</scope>
Michael Landoc0ac0152017-02-27 23:48:43 +020043 </dependency>
44
45 <dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +030046 <groupId>com.fasterxml.jackson.core</groupId>
47 <artifactId>jackson-annotations</artifactId>
48 <version>${jackson.annotations.version}</version>
49 <scope>compile</scope>
50 </dependency>
51
52 <dependency>
53 <groupId>org.glassfish.jersey.media</groupId>
54 <artifactId>jersey-media-multipart</artifactId>
55 <version>${jersey-bom.version}</version>
56 <scope>compile</scope>
Michael Landoc0ac0152017-02-27 23:48:43 +020057 </dependency>
58
Michael Lando451a3402017-02-19 10:28:42 +020059 <dependency>
60 <groupId>org.openecomp.sdc</groupId>
61 <artifactId>security-utils</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +030062 <version>${project.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +020063 <scope>compile</scope>
64 </dependency>
65
66 <dependency>
67 <groupId>com.tinkerpop.blueprints</groupId>
68 <artifactId>blueprints-sail-graph</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +030069 <version>2.5.0</version>
Michael Lando451a3402017-02-19 10:28:42 +020070 <optional>true</optional>
71 <exclusions>
72 <exclusion>
73 <groupId>org.slf4j</groupId>
74 <artifactId>slf4j-log4j12</artifactId>
75 </exclusion>
76 </exclusions>
77 </dependency>
78
79 <dependency>
80 <groupId>com.tinkerpop.blueprints</groupId>
81 <artifactId>blueprints-graph-sail</artifactId>
82 <version>2.5.0</version>
83 <optional>true</optional>
84 </dependency>
85
86 <!-- Swagger Dependencies Start -->
87 <dependency>
Tal Gitelmanaa8e3a02017-06-21 14:29:02 +030088 <groupId>io.swagger</groupId>
Michael Lando451a3402017-02-19 10:28:42 +020089 <artifactId>swagger-jersey2-jaxrs</artifactId>
90 <scope>compile</scope>
Tal Gitelmanaa8e3a02017-06-21 14:29:02 +030091 <version>1.5.15</version>
Michael Lando451a3402017-02-19 10:28:42 +020092 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020093 <!-- Swagger Dependencies End -->
Tal Gitelmaned7e1c32017-06-29 19:30:00 +030094
Michael Lando451a3402017-02-19 10:28:42 +020095 <dependency>
96 <groupId>org.openecomp.sdc</groupId>
97 <artifactId>common-app-api</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +030098 <version>${project.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +020099 <scope>compile</scope>
100 </dependency>
101
102 <dependency>
103 <groupId>org.openecomp.sdc.be</groupId>
104 <artifactId>common-be</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300105 <version>${project.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200106 <scope>compile</scope>
107 </dependency>
108 <dependency>
109 <groupId>org.openecomp.sdc.be</groupId>
110 <artifactId>catalog-dao</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300111 <version>${project.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200112 <scope>compile</scope>
113 </dependency>
114
115 <dependency>
116 <groupId>org.openecomp.sdc.be</groupId>
117 <artifactId>catalog-model</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300118 <version>${project.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200119 <scope>compile</scope>
120 </dependency>
121
122 <!-- slf4j + logback -->
123 <dependency>
124 <groupId>org.slf4j</groupId>
125 <artifactId>slf4j-api</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300126 <version>${slf4j-api.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200127 <scope>compile</scope>
128 </dependency>
129
130 <dependency>
131 <groupId>ch.qos.logback</groupId>
132 <artifactId>logback-classic</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300133 <version>${logback.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200134 <scope>compile</scope>
135 </dependency>
136
137 <dependency>
138 <groupId>ch.qos.logback</groupId>
139 <artifactId>logback-core</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300140 <version>${logback.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200141 <scope>compile</scope>
142 </dependency>
143
144 <!-- Snake Yaml -->
145 <dependency>
146 <groupId>org.yaml</groupId>
147 <artifactId>snakeyaml</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300148 <version>${snakeyaml.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200149 <scope>compile</scope>
150 </dependency>
151
152 <!-- File changes listener -->
Michael Lando451a3402017-02-19 10:28:42 +0200153 <dependency>
154 <groupId>org.apache.commons</groupId>
155 <artifactId>commons-jci-core</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300156 <version>${commons-jci-core.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200157 <scope>compile</scope>
158 </dependency>
159
160 <!-- Gson -->
Michael Lando451a3402017-02-19 10:28:42 +0200161 <dependency>
162 <groupId>com.google.code.gson</groupId>
163 <artifactId>gson</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300164 <version>${gson.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200165 <scope>compile</scope>
166 </dependency>
167
Michael Lando451a3402017-02-19 10:28:42 +0200168 <!-- jersey -->
169 <dependency>
170 <groupId>org.glassfish.jersey.media</groupId>
171 <artifactId>jersey-media-json-jackson</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300172 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200173 <scope>compile</scope>
174 </dependency>
175
Michael Landoed64b5e2017-06-09 03:19:04 +0300176 <dependency>
177 <groupId>org.glassfish.jersey.containers</groupId>
178 <artifactId>jersey-container-servlet-core</artifactId>
179 <version>${jersey-bom.version}</version>
180 <scope>compile</scope>
181 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200182
183 <!-- http client -->
184 <dependency>
185 <groupId>org.apache.httpcomponents</groupId>
186 <artifactId>httpclient</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300187 <version>${httpclient.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200188 <scope>compile</scope>
189 </dependency>
190
191 <dependency>
192 <groupId>org.apache.httpcomponents</groupId>
193 <artifactId>httpcore</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300194 <version>${httpcore.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200195 <scope>compile</scope>
196 </dependency>
197
198 <dependency>
199 <groupId>commons-logging</groupId>
200 <artifactId>commons-logging</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300201 <version>${commons-logging}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200202 <scope>compile</scope>
203 </dependency>
204
205 <dependency>
206 <groupId>commons-codec</groupId>
207 <artifactId>commons-codec</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300208 <version>${commons-codec}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200209 <scope>compile</scope>
210 </dependency>
211 <!-- http client END -->
212
213 <dependency>
214 <groupId>javax.servlet</groupId>
215 <artifactId>servlet-api</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300216 <version>${servlet-api.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200217 <scope>provided</scope>
218 </dependency>
219
Michael Lando451a3402017-02-19 10:28:42 +0200220 <dependency>
221 <groupId>org.eclipse.jgit</groupId>
222 <artifactId>org.eclipse.jgit</artifactId>
223 <version>3.4.1.201406201815-r</version>
224 </dependency>
225
Michael Lando451a3402017-02-19 10:28:42 +0200226 <!-- spring - used by A4C -->
Michael Lando451a3402017-02-19 10:28:42 +0200227 <dependency>
228 <groupId>org.springframework</groupId>
229 <artifactId>spring-core</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200230 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200231 <scope>compile</scope>
232 </dependency>
233
234 <dependency>
235 <groupId>org.springframework</groupId>
236 <artifactId>spring-context</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200237 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200238 <scope>compile</scope>
239 </dependency>
240
241 <dependency>
242 <groupId>org.springframework</groupId>
243 <artifactId>spring-web</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200244 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200245 <scope>compile</scope>
246 </dependency>
247
248 <dependency>
249 <groupId>org.springframework</groupId>
250 <artifactId>spring-webmvc</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200251 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200252 <scope>compile</scope>
253 </dependency>
254
255 <dependency>
256 <groupId>org.springframework</groupId>
257 <artifactId>spring-aop</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200258 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200259 <scope>compile</scope>
260 </dependency>
261
262 <dependency>
263 <groupId>org.springframework</groupId>
264 <artifactId>spring-beans</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200265 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200266 <scope>compile</scope>
267 </dependency>
268
269 <dependency>
270 <groupId>org.springframework</groupId>
271 <artifactId>spring-expression</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200272 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200273 <scope>compile</scope>
274 </dependency>
275
276 <dependency>
277 <groupId>org.codehaus.groovy</groupId>
278 <artifactId>groovy-all</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200279 <version>${groovy.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200280 <scope>compile</scope>
281 </dependency>
Michael Landoc34b77c2017-02-28 19:03:11 +0200282
Michael Lando451a3402017-02-19 10:28:42 +0200283 <dependency>
284 <groupId>org.codehaus.janino</groupId>
285 <artifactId>janino</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200286 <version>${janino.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200287 <scope>compile</scope>
288 </dependency>
289
290 <dependency>
291 <groupId>org.codehaus.janino</groupId>
292 <artifactId>commons-compiler</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300293 <version>${janino.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200294 <scope>compile</scope>
295 </dependency>
296
Michael Lando451a3402017-02-19 10:28:42 +0200297 <dependency>
298 <groupId>com.google.guava</groupId>
299 <artifactId>guava</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200300 <version>${guava.version}</version>
301 <scope>compile</scope>
Michael Lando451a3402017-02-19 10:28:42 +0200302 </dependency>
303
304 <!-- TITAN -->
305 <dependency>
306 <groupId>com.thinkaurelius.titan</groupId>
307 <artifactId>titan-core</artifactId>
308 <version>${titan.version}</version>
309 <scope>compile</scope>
310 <exclusions>
311 <exclusion>
312 <groupId>org.json</groupId>
313 <artifactId>json</artifactId>
314 </exclusion>
315 <exclusion>
316 <artifactId>slf4j-log4j12</artifactId>
317 <groupId>org.slf4j</groupId>
318 </exclusion>
319 </exclusions>
320 </dependency>
321
322 <dependency>
323 <groupId>com.thinkaurelius.titan</groupId>
324 <artifactId>titan-cassandra</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300325 <!--<artifactId>asdc-titan-cassandra</artifactId>-->
Michael Lando451a3402017-02-19 10:28:42 +0200326 <version>${titan.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200327 <scope>compile</scope>
328 <exclusions>
329 <exclusion>
330 <groupId>org.slf4j</groupId>
331 <artifactId>slf4j-log4j12</artifactId>
332 </exclusion>
333 <exclusion>
334 <groupId>io.netty</groupId>
335 <artifactId>netty-all</artifactId>
336 </exclusion>
337 </exclusions>
338 </dependency>
339
340 <dependency>
341 <groupId>org.apache.commons</groupId>
342 <artifactId>commons-lang3</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200343 <version>${lang3.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200344 <scope>compile</scope>
345 </dependency>
346 <!-- TITAN END -->
347
348 <dependency>
349 <groupId>com.googlecode.json-simple</groupId>
350 <artifactId>json-simple</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300351 <version>${json-simple.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200352 <scope>compile</scope>
353
354 </dependency>
355
356 <dependency>
357 <groupId>org.elasticsearch</groupId>
358 <artifactId>elasticsearch</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300359 <version>${elastic-search.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200360 <scope>compile</scope>
361 </dependency>
362
Michael Lando451a3402017-02-19 10:28:42 +0200363 <dependency>
364 <groupId>org.elasticsearch.plugin</groupId>
365 <artifactId>shield</artifactId>
366 <version>${elastic-search.version}</version>
367 <scope>compile</scope>
368 </dependency>
369 <!-- functional java -->
370 <dependency>
371 <groupId>org.functionaljava</groupId>
372 <artifactId>functionaljava</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300373 <version>${functionaljava.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200374 <scope>compile</scope>
375 </dependency>
376
377 <!-- Aspects -->
378 <dependency>
379 <groupId>com.jcabi</groupId>
380 <artifactId>jcabi-aspects</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300381 <version>${jcabi.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200382 <scope>compile</scope>
383 </dependency>
384
385 <dependency>
386 <groupId>org.aspectj</groupId>
387 <artifactId>aspectjrt</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200388 <version>${aspectjrt.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200389 <scope>compile</scope>
390 </dependency>
391
392 <!-- CAMBRIA CLIENT for U-EB -->
393 <dependency>
394 <groupId>com.att.nsa</groupId>
395 <artifactId>cambriaClient</artifactId>
396 <version>0.0.1</version>
397 <scope>compile</scope>
398 </dependency>
399
400 <dependency>
401 <groupId>com.att.nsa</groupId>
402 <artifactId>saClientLibrary</artifactId>
403 <version>0.0.1</version>
404 <scope>compile</scope>
405 <exclusions>
406 <exclusion>
407 <groupId>org.slf4j</groupId>
408 <artifactId>slf4j-log4j12</artifactId>
409 </exclusion>
410 </exclusions>
411 </dependency>
412
413 <dependency>
414 <groupId>org.json</groupId>
415 <artifactId>json</artifactId>
416 <version>20131018</version>
417 <scope>compile</scope>
418 </dependency>
419 <dependency>
420 <groupId>org.apache.tinkerpop</groupId>
421 <artifactId>tinkergraph-gremlin</artifactId>
422 <version>3.0.1-incubating</version>
423 <scope>compile</scope>
424 </dependency>
425
426 <dependency>
427 <groupId>org.apache.tinkerpop</groupId>
428 <artifactId>gremlin-groovy</artifactId>
429 <version>3.0.1-incubating</version>
430 <scope>compile</scope>
431 </dependency>
432
433 <!-- CASSANDRA -->
434 <dependency>
435 <groupId>com.datastax.cassandra</groupId>
436 <artifactId>cassandra-driver-core</artifactId>
437 <version>${cassandra.driver.version}</version>
438 <scope>compile</scope>
439 </dependency>
440 <dependency>
441 <groupId>com.datastax.cassandra</groupId>
442 <artifactId>cassandra-driver-mapping</artifactId>
443 <version>${cassandra.driver.version}</version>
444 <scope>compile</scope>
445 </dependency>
446 <!-- CASSANDRA END -->
447
448 <!-- Inserted for ECOMP Portal Integration -->
449 <dependency>
450 <groupId>org.openecomp.ecompsdkos</groupId>
Michael Landob3d48982017-06-11 14:22:02 +0300451 <artifactId>epsdk-fw</artifactId>
Michael Landoebd7c8f2017-03-15 20:38:00 +0200452 <version>${ecomp.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200453 <scope>compile</scope>
454 <exclusions>
455 <exclusion>
456 <groupId>com.att.nsa</groupId>
457 <artifactId>cambriaClient</artifactId>
458 </exclusion>
459 <exclusion>
460 <artifactId>slf4j-log4j12</artifactId>
461 <groupId>org.slf4j</groupId>
462 </exclusion>
463 </exclusions>
464 </dependency>
465
Michael Landoed64b5e2017-06-09 03:19:04 +0300466 <!--Artifact Generator-->
Michael Lando451a3402017-02-19 10:28:42 +0200467 <dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300468 <groupId>org.openecomp.sdc.common</groupId>
Michael Lando451a3402017-02-19 10:28:42 +0200469 <artifactId>openecomp-sdc-artifact-generator-api</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300470 <version>${artifact-generator-api.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200471 <scope>compile</scope>
Michael Landoed64b5e2017-06-09 03:19:04 +0300472 <exclusions>
473 <exclusion>
474 <groupId>junit</groupId>
475 <artifactId>junit</artifactId>
476 </exclusion>
477 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200478 </dependency>
479
480 <dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300481 <groupId>org.openecomp.sdc.common</groupId>
Michael Lando451a3402017-02-19 10:28:42 +0200482 <artifactId>openecomp-sdc-artifact-generator-core</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300483 <version>${artifact-generator-core.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200484 <scope>compile</scope>
Michael Landoed64b5e2017-06-09 03:19:04 +0300485 <exclusions>
486 <exclusion>
487 <groupId>junit</groupId>
488 <artifactId>junit</artifactId>
489 </exclusion>
490 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200491 </dependency>
492
493 <dependency>
Tal Gitelmanffdda7d2017-07-02 15:33:25 +0300494 <groupId>org.openecomp.sdc.common</groupId>
Michael Lando451a3402017-02-19 10:28:42 +0200495 <artifactId>openecomp-common-lib</artifactId>
496 <version>${dox-common-lib.version}</version>
497 <type>pom</type>
Michael Landoed64b5e2017-06-09 03:19:04 +0300498 <exclusions>
499 <exclusion>
500 <groupId>junit</groupId>
501 <artifactId>junit</artifactId>
502 </exclusion>
503 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200504 </dependency>
505
Michael Landoed64b5e2017-06-09 03:19:04 +0300506 <!--Jetty Proxy-->
Michael Lando451a3402017-02-19 10:28:42 +0200507 <dependency>
508 <groupId>org.eclipse.jetty</groupId>
509 <artifactId>jetty-proxy</artifactId>
510 <version>${jetty.version}</version>
511 <scope>compile</scope>
512 </dependency>
513
Michael Lando451a3402017-02-19 10:28:42 +0200514 <dependency>
515 <groupId>org.eclipse.jetty</groupId>
516 <artifactId>jetty-servlets</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300517 <version>${jetty.version}</version>
518 <scope>compile</scope>
519 </dependency>
520 <!-- System metrics -->
521 <dependency>
522 <groupId>org.fusesource</groupId>
523 <artifactId>sigar</artifactId>
524 <version>${sigar.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200525 <scope>compile</scope>
526 </dependency>
527
528 <!-- TEST -->
529 <dependency>
530 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
531 <artifactId>jersey-test-framework-provider-bundle</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300532 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200533 <type>pom</type>
534 <scope>test</scope>
535 </dependency>
536
537 <dependency>
538 <groupId>org.eclipse.jetty</groupId>
539 <artifactId>jetty-servlet</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300540 <version>${jetty.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200541 <scope>test</scope>
542 </dependency>
543
544 <dependency>
545 <groupId>org.eclipse.jetty</groupId>
546 <artifactId>jetty-webapp</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300547 <version>${jetty.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200548 <scope>test</scope>
549 </dependency>
550
551 <dependency>
552 <groupId>junit</groupId>
553 <artifactId>junit</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300554 <version>${junit.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200555 <scope>test</scope>
556 </dependency>
557
558 <dependency>
559 <groupId>org.mockito</groupId>
560 <artifactId>mockito-all</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300561 <version>${mockito.version}</version>
562 <!--<version>1.10.19</version>-->
Michael Lando451a3402017-02-19 10:28:42 +0200563 <scope>test</scope>
564 </dependency>
565
566 <dependency>
567 <groupId>org.springframework</groupId>
568 <artifactId>spring-test</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200569 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200570 <scope>test</scope>
571 </dependency>
572
573 <dependency>
574 <groupId>org.springframework</groupId>
575 <artifactId>spring-tx</artifactId>
576 <version>${spring.version}</version>
577 <scope>test</scope>
578 </dependency>
579 </dependencies>
580
Michael Lando451a3402017-02-19 10:28:42 +0200581 <build>
582
583 <finalName>${project.artifactId}-${project.version}</finalName>
584
Michael Lando451a3402017-02-19 10:28:42 +0200585 <plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200586 <plugin>
587 <groupId>org.apache.maven.plugins</groupId>
588 <artifactId>maven-war-plugin</artifactId>
589 <version>2.6</version>
590 <configuration>
591 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
592 WEB-INF/classes/elasticsearch.yml,
593 WEB-INF/classes/portal.properties</packagingExcludes>
Michael Landoed64b5e2017-06-09 03:19:04 +0300594 <archive>
595 <manifestEntries>
Michael Landob7bc7da2017-06-09 12:20:38 +0300596 <SDC-Version>${project.version}</SDC-Version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300597 </manifestEntries>
598 <manifest>
599 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
600 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
601 </manifest>
602 </archive>
Michael Lando451a3402017-02-19 10:28:42 +0200603
Michael Landoed64b5e2017-06-09 03:19:04 +0300604 <webResources>
605 <resource>
606 <directory>src/main/resources</directory>
607 <directory>src/main/resources/swagger</directory>
608 </resource>
609 </webResources>
610 <attachClasses>true</attachClasses>
611 </configuration>
612 </plugin>
613
614 <plugin>
615 <groupId>org.apache.maven.plugins</groupId>
616 <artifactId>maven-dependency-plugin</artifactId>
617 <executions>
618 <execution>
619 <id>copy-dependencies</id>
620 <phase>package</phase>
621 <goals>
622 <goal>copy-dependencies</goal>
623 </goals>
624 <configuration>
625 <includeScope>compile</includeScope>
626 </configuration>
627 </execution>
628 <execution>
629 <id>copy-installed</id>
630 <phase>install</phase>
631 <goals>
632 <goal>copy</goal>
633 </goals>
634 <configuration>
635 <artifactItems>
636 <artifactItem>
637 <groupId>${project.groupId}</groupId>
638 <artifactId>${project.artifactId}</artifactId>
639 <version>${project.version}</version>
640 <type>${project.packaging}</type>
641 </artifactItem>
642 </artifactItems>
643 <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-backend/</outputDirectory>
644 </configuration>
645 </execution>
646 </executions>
647 </plugin>
648
649 <plugin>
650 <groupId>com.jcabi</groupId>
651 <artifactId>jcabi-maven-plugin</artifactId>
652 <version>${jcabi.plugin.version}</version>
653 <executions>
654 <execution>
655 <goals>
656 <goal>ajc</goal>
657 </goals>
658 </execution>
659 </executions>
660 </plugin>
661
Michael Landoed64b5e2017-06-09 03:19:04 +0300662 <plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300663 <artifactId>maven-resources-plugin</artifactId>
664 <version>2.6</version>
665 <executions>
666 <execution>
Michael Landoed64b5e2017-06-09 03:19:04 +0300667 <id>copy-normatives</id>
668 <phase>install</phase>
669 <goals>
670 <goal>copy-resources</goal>
671 </goals>
672 <configuration>
Michael Landob7bc7da2017-06-09 12:20:38 +0300673 <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-normatives/files/default</outputDirectory>
Michael Landoed64b5e2017-06-09 03:19:04 +0300674 <resources>
675 <resource>
676 <directory>./target</directory>
677 <includes>
678 <include>normatives.tar.gz</include>
679 </includes>
680 </resource>
681 </resources>
682 </configuration>
683 </execution>
Tal Gitelmanb5b5f8b2017-07-30 14:40:35 +0300684
685 <execution>
686 <id>copy-static-configuration-files</id>
687 <phase>install</phase>
688 <goals>
689 <goal>copy-resources</goal>
690 </goals>
691 <configuration>
692 <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default</outputDirectory>
693 <resources>
694 <resource>
695 <directory>${project.parent.basedir}/catalog-be/src/main/resources/config</directory>
696 <includes>
697 <include>Artifact-Generator.properties</include>
698 <include>error-configuration.yaml</include>
699 <include>ecomp-error-configuration.yaml</include>
700 <include>logback.xml</include>
701 </includes>
702 </resource>
703 </resources>
704 </configuration>
705 </execution>
706
Michael Lando32833932017-07-24 23:21:12 +0300707 <execution>
Tal Gitelmanb5b5f8b2017-07-30 14:40:35 +0300708 <id>copy-tosca-folder</id>
Michael Lando32833932017-07-24 23:21:12 +0300709 <!-- here the phase you need -->
710 <phase>install</phase>
711 <goals>
712 <goal>copy-resources</goal>
713 </goals>
714 <configuration>
715 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
716 <resources>
717 <resource>
718 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
719 <filtering>true</filtering>
720 </resource>
721 </resources>
722 </configuration>
723 </execution>
Michael Landoed64b5e2017-06-09 03:19:04 +0300724 </executions>
725 </plugin>
726
727 <plugin>
Michael Lando32833932017-07-24 23:21:12 +0300728 <artifactId>maven-clean-plugin</artifactId>
729 <version>3.0.0</version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300730 <executions>
731 <execution>
Tal Gitelmanb5b5f8b2017-07-30 14:40:35 +0300732 <id>clean-static-files</id>
Michael Lando32833932017-07-24 23:21:12 +0300733 <phase>clean</phase>
Michael Landoed64b5e2017-06-09 03:19:04 +0300734 <goals>
Michael Lando32833932017-07-24 23:21:12 +0300735 <goal>clean</goal>
Michael Landoed64b5e2017-06-09 03:19:04 +0300736 </goals>
737 <configuration>
Michael Lando32833932017-07-24 23:21:12 +0300738 <filesets>
Tal Gitelmanb5b5f8b2017-07-30 14:40:35 +0300739 <!-- tosca files -->
Michael Lando32833932017-07-24 23:21:12 +0300740 <fileset>
741 <directory>${project.parent.basedir}/asdctool/tosca</directory>
742 <followSymlinks>false</followSymlinks>
743 </fileset>
Tal Gitelmanb5b5f8b2017-07-30 14:40:35 +0300744 <!-- static configuration files -->
745 <fileset>
746 <directory>${project.parent.basedir}/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default</directory>
747 <includes>
748 <include>Artifact-Generator.properties</include>
749 <include>error-configuration.yaml</include>
750 <include>ecomp-error-configuration.yaml</include>
751 <include>logback.xml</include>
752 </includes>
753 </fileset>
Michael Lando32833932017-07-24 23:21:12 +0300754 </filesets>
Michael Landoed64b5e2017-06-09 03:19:04 +0300755 </configuration>
756 </execution>
757 </executions>
758 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200759
Michael Landoed64b5e2017-06-09 03:19:04 +0300760 <plugin>
761 <groupId>org.apache.maven.plugins</groupId>
762 <artifactId>maven-assembly-plugin</artifactId>
763 <version>2.6</version>
764 <executions>
765 <execution>
766 <id>normatives</id>
767 <phase>package</phase>
768 <goals>
769 <goal>single</goal>
770 </goals>
771 <configuration>
772 <finalName>normatives</finalName>
773 <appendAssemblyId>false</appendAssemblyId>
774 <descriptor>${project.basedir}/normatives.xml</descriptor>
775 </configuration>
776 </execution>
777 </executions>
778 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200779
Michael Landoed64b5e2017-06-09 03:19:04 +0300780 </plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200781
Michael Landoed64b5e2017-06-09 03:19:04 +0300782 <pluginManagement>
783 <plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200784 <!--This plugin's configuration is used to store Eclipse m2e settings
Michael Landoed64b5e2017-06-09 03:19:04 +0300785 only. It has no influence on the Maven build itself. -->
Michael Lando451a3402017-02-19 10:28:42 +0200786 <plugin>
787 <groupId>org.eclipse.m2e</groupId>
788 <artifactId>lifecycle-mapping</artifactId>
789 <version>1.0.0</version>
790 <configuration>
791 <lifecycleMappingMetadata>
792 <pluginExecutions>
793 <pluginExecution>
794 <pluginExecutionFilter>
795 <groupId>com.googlecode.maven-download-plugin</groupId>
796 <artifactId>download-maven-plugin</artifactId>
797 <versionRange>[1.2.1,)</versionRange>
798 <goals>
799 <goal>wget</goal>
800 </goals>
801 </pluginExecutionFilter>
802 <action>
803 <ignore></ignore>
804 </action>
805 </pluginExecution>
806
807 <pluginExecution>
808 <pluginExecutionFilter>
809 <groupId>com.jcabi</groupId>
810 <artifactId>jcabi-maven-plugin</artifactId>
811 <versionRange>[0.0,)</versionRange>
812 <goals>
813 <goal>ajc</goal>
814 </goals>
815 </pluginExecutionFilter>
816 <action>
817 <execute />
818 </action>
819 </pluginExecution>
820
821 </pluginExecutions>
822 </lifecycleMappingMetadata>
823 </configuration>
824 </plugin>
825 <plugin>
826 <groupId>org.apache.maven.plugins</groupId>
827 <artifactId>maven-deploy-plugin</artifactId>
828 <version>2.7</version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300829 <configuration>
830 <skip>true</skip>
831 </configuration>
Michael Lando451a3402017-02-19 10:28:42 +0200832 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200833 </plugins>
834 </pluginManagement>
835 <!-- Swagger Plugins End -->
836 </build>
837
Michael Landoed64b5e2017-06-09 03:19:04 +0300838 <profiles>
839 <profile>
840 <id>catalog</id>
841 <activation>
842 <activeByDefault>false</activeByDefault>
843 </activation>
Michael Lando451a3402017-02-19 10:28:42 +0200844
Michael Landoed64b5e2017-06-09 03:19:04 +0300845 <build>
Michael Landoc61d2242017-06-20 11:07:13 +0300846 <finalName>${project.artifactId}-${project.version}</finalName>
847 </build>
848 </profile>
Michael Landoed64b5e2017-06-09 03:19:04 +0300849 </profiles>
Michael Lando451a3402017-02-19 10:28:42 +0200850</project>