blob: 6f35b3a5a17608f10a05088810ac7b9bc0e4c49b [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>
88 <groupId>com.wordnik</groupId>
89 <artifactId>swagger-jersey2-jaxrs</artifactId>
90 <scope>compile</scope>
91 <version>1.5.1-M2</version>
92 </dependency>
93
Michael Lando451a3402017-02-19 10:28:42 +020094
Michael Landoc34b77c2017-02-28 19:03:11 +020095
Michael Lando451a3402017-02-19 10:28:42 +020096 <!-- Swagger Dependencies End -->
97 <dependency>
98 <groupId>org.openecomp.sdc</groupId>
99 <artifactId>common-app-api</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300100 <version>${project.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200101 <scope>compile</scope>
102 </dependency>
103
104 <dependency>
105 <groupId>org.openecomp.sdc.be</groupId>
106 <artifactId>common-be</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300107 <version>${project.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200108 <scope>compile</scope>
109 </dependency>
110 <dependency>
111 <groupId>org.openecomp.sdc.be</groupId>
112 <artifactId>catalog-dao</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300113 <version>${project.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200114 <scope>compile</scope>
115 </dependency>
116
117 <dependency>
118 <groupId>org.openecomp.sdc.be</groupId>
119 <artifactId>catalog-model</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300120 <version>${project.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200121 <scope>compile</scope>
122 </dependency>
123
124 <!-- slf4j + logback -->
125 <dependency>
126 <groupId>org.slf4j</groupId>
127 <artifactId>slf4j-api</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300128 <version>${slf4j-api.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200129 <scope>compile</scope>
130 </dependency>
131
132 <dependency>
133 <groupId>ch.qos.logback</groupId>
134 <artifactId>logback-classic</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300135 <version>${logback.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200136 <scope>compile</scope>
137 </dependency>
138
139 <dependency>
140 <groupId>ch.qos.logback</groupId>
141 <artifactId>logback-core</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300142 <version>${logback.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200143 <scope>compile</scope>
144 </dependency>
145
146 <!-- Snake Yaml -->
147 <dependency>
148 <groupId>org.yaml</groupId>
149 <artifactId>snakeyaml</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300150 <version>${snakeyaml.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200151 <scope>compile</scope>
152 </dependency>
153
154 <!-- File changes listener -->
Michael Lando451a3402017-02-19 10:28:42 +0200155 <dependency>
156 <groupId>org.apache.commons</groupId>
157 <artifactId>commons-jci-core</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300158 <version>${commons-jci-core.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200159 <scope>compile</scope>
160 </dependency>
161
162 <!-- Gson -->
Michael Lando451a3402017-02-19 10:28:42 +0200163 <dependency>
164 <groupId>com.google.code.gson</groupId>
165 <artifactId>gson</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300166 <version>${gson.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200167 <scope>compile</scope>
168 </dependency>
169
Michael Lando451a3402017-02-19 10:28:42 +0200170 <!-- jersey -->
171 <dependency>
172 <groupId>org.glassfish.jersey.media</groupId>
173 <artifactId>jersey-media-json-jackson</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300174 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200175 <scope>compile</scope>
176 </dependency>
177
Michael Landoed64b5e2017-06-09 03:19:04 +0300178 <dependency>
179 <groupId>org.glassfish.jersey.containers</groupId>
180 <artifactId>jersey-container-servlet-core</artifactId>
181 <version>${jersey-bom.version}</version>
182 <scope>compile</scope>
183 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200184
185 <!-- http client -->
186 <dependency>
187 <groupId>org.apache.httpcomponents</groupId>
188 <artifactId>httpclient</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300189 <version>${httpclient.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200190 <scope>compile</scope>
191 </dependency>
192
193 <dependency>
194 <groupId>org.apache.httpcomponents</groupId>
195 <artifactId>httpcore</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300196 <version>${httpcore.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200197 <scope>compile</scope>
198 </dependency>
199
200 <dependency>
201 <groupId>commons-logging</groupId>
202 <artifactId>commons-logging</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300203 <version>${commons-logging}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200204 <scope>compile</scope>
205 </dependency>
206
207 <dependency>
208 <groupId>commons-codec</groupId>
209 <artifactId>commons-codec</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300210 <version>${commons-codec}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200211 <scope>compile</scope>
212 </dependency>
213 <!-- http client END -->
214
215 <dependency>
216 <groupId>javax.servlet</groupId>
217 <artifactId>servlet-api</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300218 <version>${servlet-api.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200219 <scope>provided</scope>
220 </dependency>
221
Michael Lando451a3402017-02-19 10:28:42 +0200222 <dependency>
223 <groupId>org.eclipse.jgit</groupId>
224 <artifactId>org.eclipse.jgit</artifactId>
225 <version>3.4.1.201406201815-r</version>
226 </dependency>
227
Michael Lando451a3402017-02-19 10:28:42 +0200228 <!-- spring - used by A4C -->
Michael Lando451a3402017-02-19 10:28:42 +0200229 <dependency>
230 <groupId>org.springframework</groupId>
231 <artifactId>spring-core</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200232 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200233 <scope>compile</scope>
234 </dependency>
235
236 <dependency>
237 <groupId>org.springframework</groupId>
238 <artifactId>spring-context</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200239 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200240 <scope>compile</scope>
241 </dependency>
242
243 <dependency>
244 <groupId>org.springframework</groupId>
245 <artifactId>spring-web</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200246 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200247 <scope>compile</scope>
248 </dependency>
249
250 <dependency>
251 <groupId>org.springframework</groupId>
252 <artifactId>spring-webmvc</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200253 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200254 <scope>compile</scope>
255 </dependency>
256
257 <dependency>
258 <groupId>org.springframework</groupId>
259 <artifactId>spring-aop</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200260 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200261 <scope>compile</scope>
262 </dependency>
263
264 <dependency>
265 <groupId>org.springframework</groupId>
266 <artifactId>spring-beans</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200267 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200268 <scope>compile</scope>
269 </dependency>
270
271 <dependency>
272 <groupId>org.springframework</groupId>
273 <artifactId>spring-expression</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200274 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200275 <scope>compile</scope>
276 </dependency>
277
278 <dependency>
279 <groupId>org.codehaus.groovy</groupId>
280 <artifactId>groovy-all</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200281 <version>${groovy.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200282 <scope>compile</scope>
283 </dependency>
Michael Landoc34b77c2017-02-28 19:03:11 +0200284
Michael Lando451a3402017-02-19 10:28:42 +0200285 <dependency>
286 <groupId>org.codehaus.janino</groupId>
287 <artifactId>janino</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200288 <version>${janino.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200289 <scope>compile</scope>
290 </dependency>
291
292 <dependency>
293 <groupId>org.codehaus.janino</groupId>
294 <artifactId>commons-compiler</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300295 <version>${janino.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200296 <scope>compile</scope>
297 </dependency>
298
Michael Lando451a3402017-02-19 10:28:42 +0200299 <dependency>
300 <groupId>com.google.guava</groupId>
301 <artifactId>guava</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200302 <version>${guava.version}</version>
303 <scope>compile</scope>
Michael Lando451a3402017-02-19 10:28:42 +0200304 </dependency>
305
306 <!-- TITAN -->
307 <dependency>
308 <groupId>com.thinkaurelius.titan</groupId>
309 <artifactId>titan-core</artifactId>
310 <version>${titan.version}</version>
311 <scope>compile</scope>
312 <exclusions>
313 <exclusion>
314 <groupId>org.json</groupId>
315 <artifactId>json</artifactId>
316 </exclusion>
317 <exclusion>
318 <artifactId>slf4j-log4j12</artifactId>
319 <groupId>org.slf4j</groupId>
320 </exclusion>
321 </exclusions>
322 </dependency>
323
324 <dependency>
325 <groupId>com.thinkaurelius.titan</groupId>
326 <artifactId>titan-cassandra</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300327 <!--<artifactId>asdc-titan-cassandra</artifactId>-->
Michael Lando451a3402017-02-19 10:28:42 +0200328 <version>${titan.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200329 <scope>compile</scope>
330 <exclusions>
331 <exclusion>
332 <groupId>org.slf4j</groupId>
333 <artifactId>slf4j-log4j12</artifactId>
334 </exclusion>
335 <exclusion>
336 <groupId>io.netty</groupId>
337 <artifactId>netty-all</artifactId>
338 </exclusion>
339 </exclusions>
340 </dependency>
341
342 <dependency>
343 <groupId>org.apache.commons</groupId>
344 <artifactId>commons-lang3</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200345 <version>${lang3.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200346 <scope>compile</scope>
347 </dependency>
348 <!-- TITAN END -->
349
350 <dependency>
351 <groupId>com.googlecode.json-simple</groupId>
352 <artifactId>json-simple</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300353 <version>${json-simple.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200354 <scope>compile</scope>
355
356 </dependency>
357
358 <dependency>
359 <groupId>org.elasticsearch</groupId>
360 <artifactId>elasticsearch</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300361 <version>${elastic-search.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200362 <scope>compile</scope>
363 </dependency>
364
Michael Lando451a3402017-02-19 10:28:42 +0200365 <dependency>
366 <groupId>org.elasticsearch.plugin</groupId>
367 <artifactId>shield</artifactId>
368 <version>${elastic-search.version}</version>
369 <scope>compile</scope>
370 </dependency>
371 <!-- functional java -->
372 <dependency>
373 <groupId>org.functionaljava</groupId>
374 <artifactId>functionaljava</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300375 <version>${functionaljava.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200376 <scope>compile</scope>
377 </dependency>
378
379 <!-- Aspects -->
380 <dependency>
381 <groupId>com.jcabi</groupId>
382 <artifactId>jcabi-aspects</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300383 <version>${jcabi.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200384 <scope>compile</scope>
385 </dependency>
386
387 <dependency>
388 <groupId>org.aspectj</groupId>
389 <artifactId>aspectjrt</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200390 <version>${aspectjrt.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200391 <scope>compile</scope>
392 </dependency>
393
394 <!-- CAMBRIA CLIENT for U-EB -->
395 <dependency>
396 <groupId>com.att.nsa</groupId>
397 <artifactId>cambriaClient</artifactId>
398 <version>0.0.1</version>
399 <scope>compile</scope>
400 </dependency>
401
402 <dependency>
403 <groupId>com.att.nsa</groupId>
404 <artifactId>saClientLibrary</artifactId>
405 <version>0.0.1</version>
406 <scope>compile</scope>
407 <exclusions>
408 <exclusion>
409 <groupId>org.slf4j</groupId>
410 <artifactId>slf4j-log4j12</artifactId>
411 </exclusion>
412 </exclusions>
413 </dependency>
414
415 <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>
427
428 <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>
434
435 <!-- 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 -->
449
450 <!-- Inserted for ECOMP Portal Integration -->
451 <dependency>
452 <groupId>org.openecomp.ecompsdkos</groupId>
Michael Landob3d48982017-06-11 14:22:02 +0300453 <artifactId>epsdk-fw</artifactId>
Michael Landoebd7c8f2017-03-15 20:38:00 +0200454 <version>${ecomp.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200455 <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>
467
Michael Landoed64b5e2017-06-09 03:19:04 +0300468 <!--Artifact Generator-->
Michael Lando451a3402017-02-19 10:28:42 +0200469 <dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300470 <groupId>org.openecomp.sdc.common</groupId>
Michael Lando451a3402017-02-19 10:28:42 +0200471 <artifactId>openecomp-sdc-artifact-generator-api</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300472 <version>${artifact-generator-api.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200473 <scope>compile</scope>
Michael Landoed64b5e2017-06-09 03:19:04 +0300474 <exclusions>
475 <exclusion>
476 <groupId>junit</groupId>
477 <artifactId>junit</artifactId>
478 </exclusion>
479 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200480 </dependency>
481
482 <dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300483 <groupId>org.openecomp.sdc.common</groupId>
Michael Lando451a3402017-02-19 10:28:42 +0200484 <artifactId>openecomp-sdc-artifact-generator-core</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300485 <version>${artifact-generator-core.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200486 <scope>compile</scope>
Michael Landoed64b5e2017-06-09 03:19:04 +0300487 <exclusions>
488 <exclusion>
489 <groupId>junit</groupId>
490 <artifactId>junit</artifactId>
491 </exclusion>
492 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200493 </dependency>
494
495 <dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300496 <groupId>org.openecomp.sdc.common</groupId>
Michael Lando451a3402017-02-19 10:28:42 +0200497 <artifactId>openecomp-common-lib</artifactId>
498 <version>${dox-common-lib.version}</version>
499 <type>pom</type>
Michael Landoed64b5e2017-06-09 03:19:04 +0300500 <exclusions>
501 <exclusion>
502 <groupId>junit</groupId>
503 <artifactId>junit</artifactId>
504 </exclusion>
505 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200506 </dependency>
507
Michael Landoed64b5e2017-06-09 03:19:04 +0300508 <!--Jetty Proxy-->
Michael Lando451a3402017-02-19 10:28:42 +0200509 <dependency>
510 <groupId>org.eclipse.jetty</groupId>
511 <artifactId>jetty-proxy</artifactId>
512 <version>${jetty.version}</version>
513 <scope>compile</scope>
514 </dependency>
515
Michael Lando451a3402017-02-19 10:28:42 +0200516 <dependency>
517 <groupId>org.eclipse.jetty</groupId>
518 <artifactId>jetty-servlets</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300519 <version>${jetty.version}</version>
520 <scope>compile</scope>
521 </dependency>
522 <!-- System metrics -->
523 <dependency>
524 <groupId>org.fusesource</groupId>
525 <artifactId>sigar</artifactId>
526 <version>${sigar.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200527 <scope>compile</scope>
528 </dependency>
529
530 <!-- TEST -->
531 <dependency>
532 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
533 <artifactId>jersey-test-framework-provider-bundle</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300534 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200535 <type>pom</type>
536 <scope>test</scope>
537 </dependency>
538
539 <dependency>
540 <groupId>org.eclipse.jetty</groupId>
541 <artifactId>jetty-servlet</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300542 <version>${jetty.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200543 <scope>test</scope>
544 </dependency>
545
546 <dependency>
547 <groupId>org.eclipse.jetty</groupId>
548 <artifactId>jetty-webapp</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300549 <version>${jetty.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200550 <scope>test</scope>
551 </dependency>
552
553 <dependency>
554 <groupId>junit</groupId>
555 <artifactId>junit</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300556 <version>${junit.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200557 <scope>test</scope>
558 </dependency>
559
560 <dependency>
561 <groupId>org.mockito</groupId>
562 <artifactId>mockito-all</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300563 <version>${mockito.version}</version>
564 <!--<version>1.10.19</version>-->
Michael Lando451a3402017-02-19 10:28:42 +0200565 <scope>test</scope>
566 </dependency>
567
568 <dependency>
569 <groupId>org.springframework</groupId>
570 <artifactId>spring-test</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200571 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200572 <scope>test</scope>
573 </dependency>
574
575 <dependency>
576 <groupId>org.springframework</groupId>
577 <artifactId>spring-tx</artifactId>
578 <version>${spring.version}</version>
579 <scope>test</scope>
580 </dependency>
581 </dependencies>
582
Michael Lando451a3402017-02-19 10:28:42 +0200583 <build>
584
585 <finalName>${project.artifactId}-${project.version}</finalName>
586
Michael Lando451a3402017-02-19 10:28:42 +0200587 <plugins>
Michael Landoed64b5e2017-06-09 03:19:04 +0300588
Michael Lando451a3402017-02-19 10:28:42 +0200589 <plugin>
590 <groupId>org.apache.maven.plugins</groupId>
591 <artifactId>maven-war-plugin</artifactId>
592 <version>2.6</version>
593 <configuration>
594 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
595 WEB-INF/classes/elasticsearch.yml,
596 WEB-INF/classes/portal.properties</packagingExcludes>
Michael Landoed64b5e2017-06-09 03:19:04 +0300597 <archive>
598 <manifestEntries>
Michael Landob7bc7da2017-06-09 12:20:38 +0300599 <SDC-Version>${project.version}</SDC-Version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300600 </manifestEntries>
601 <manifest>
602 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
603 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
604 </manifest>
605 </archive>
Michael Lando451a3402017-02-19 10:28:42 +0200606
Michael Landoed64b5e2017-06-09 03:19:04 +0300607 <webResources>
608 <resource>
609 <directory>src/main/resources</directory>
610 <directory>src/main/resources/swagger</directory>
611 </resource>
612 </webResources>
613 <attachClasses>true</attachClasses>
614 </configuration>
615 </plugin>
616
617 <plugin>
618 <groupId>org.apache.maven.plugins</groupId>
619 <artifactId>maven-dependency-plugin</artifactId>
620 <executions>
621 <execution>
622 <id>copy-dependencies</id>
623 <phase>package</phase>
624 <goals>
625 <goal>copy-dependencies</goal>
626 </goals>
627 <configuration>
628 <includeScope>compile</includeScope>
629 </configuration>
630 </execution>
631 <execution>
632 <id>copy-installed</id>
633 <phase>install</phase>
634 <goals>
635 <goal>copy</goal>
636 </goals>
637 <configuration>
638 <artifactItems>
639 <artifactItem>
640 <groupId>${project.groupId}</groupId>
641 <artifactId>${project.artifactId}</artifactId>
642 <version>${project.version}</version>
643 <type>${project.packaging}</type>
644 </artifactItem>
645 </artifactItems>
646 <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-backend/</outputDirectory>
647 </configuration>
648 </execution>
649 </executions>
650 </plugin>
651
652 <plugin>
653 <groupId>com.jcabi</groupId>
654 <artifactId>jcabi-maven-plugin</artifactId>
655 <version>${jcabi.plugin.version}</version>
656 <executions>
657 <execution>
658 <goals>
659 <goal>ajc</goal>
660 </goals>
661 </execution>
662 </executions>
663 </plugin>
664
665 <!-- Swagger Plugins Start -->
666 <plugin>
667 <groupId>com.googlecode.maven-download-plugin</groupId>
668 <artifactId>download-maven-plugin</artifactId>
669 <version>1.2.1</version>
670 <executions>
671 <execution>
672 <id>swagger-ui</id>
673 <goals>
674 <goal>wget</goal>
675 </goals>
676 <configuration>
677 <url>https://github.com/swagger-api/swagger-ui/archive/v${swagger-ui-version}.tar.gz</url>
678 <unpack>true</unpack>
679 <outputDirectory>${project.build.directory}</outputDirectory>
680 </configuration>
681 </execution>
682 </executions>
683 </plugin>
684
685 <plugin>
686 <artifactId>maven-clean-plugin</artifactId>
687 <version>2.6.1</version>
688 <executions>
689 <execution>
690 <id>clean.sdc.zip.chef.os.folder</id>
691 <phase>initialize</phase>
692 <goals>
693 <goal>clean</goal>
694 </goals>
695 <configuration>
696
697 <filesets>
698 <fileset>
699 <directory>${project.parent.basedir}/sdc-os-chef/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/files/default/sdc-*.zip</directory>
700 <includes>
701 <include>sdc-*.zip</include>
702 </includes>
703 <followSymlinks>false</followSymlinks>
704 </fileset>
705 </filesets>
706 </configuration>
707 </execution>
708 </executions>
709 </plugin>
710 <plugin>
711 <artifactId>maven-resources-plugin</artifactId>
712 <version>2.6</version>
713 <executions>
714 <execution>
715 <id>copy-resources</id>
716 <phase>process-resources</phase>
717 <goals>
718 <goal>copy-resources</goal>
719 </goals>
720 <configuration>
721 <outputDirectory>target/${project.artifactId}-${project.version}</outputDirectory>
722 <resources>
723 <resource>
724 <directory>${project.build.directory}/swagger-ui-${swagger-ui-version}/dist</directory>
725 <filtering>true</filtering>
726 <excludes>
727 <exclude>index.html</exclude>
728 </excludes>
729 </resource>
730 </resources>
731 </configuration>
732 </execution>
733
734 <execution>
735 <id>copy-normatives</id>
736 <phase>install</phase>
737 <goals>
738 <goal>copy-resources</goal>
739 </goals>
740 <configuration>
Michael Landob7bc7da2017-06-09 12:20:38 +0300741 <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-normatives/files/default</outputDirectory>
Michael Landoed64b5e2017-06-09 03:19:04 +0300742 <resources>
743 <resource>
744 <directory>./target</directory>
745 <includes>
746 <include>normatives.tar.gz</include>
747 </includes>
748 </resource>
749 </resources>
750 </configuration>
751 </execution>
752 </executions>
753 </plugin>
754
755 <plugin>
756 <groupId>com.coderplus.maven.plugins</groupId>
757 <artifactId>copy-rename-maven-plugin</artifactId>
758 <version>1.0</version>
759 <executions>
760 <execution>
761 <id>copy-file</id>
762 <phase>install</phase>
763 <goals>
764 <goal>copy</goal>
765 </goals>
766 <configuration>
767 <sourceFile>${project.parent.basedir}/catalog-be/src/main/resources/config/SDC.zip</sourceFile>
768 <destinationFile>${project.parent.basedir}/sdc-os-chef/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/files/default/SDC.zip</destinationFile>
769 </configuration>
770 </execution>
771 <execution>
772 <id>rename-file</id>
773 <phase>install</phase>
774 <goals>
775 <goal>rename</goal>
776 </goals>
777 <configuration>
778 <sourceFile>${project.parent.basedir}/sdc-os-chef/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/files/default/SDC.zip</sourceFile>
779 <destinationFile>${project.parent.basedir}/sdc-os-chef/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/files/default/SDC-${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.zip</destinationFile>
780 </configuration>
781 </execution>
782 </executions>
783 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200784
785
786
Michael Landoed64b5e2017-06-09 03:19:04 +0300787 <plugin>
788 <groupId>org.apache.maven.plugins</groupId>
789 <artifactId>maven-assembly-plugin</artifactId>
790 <version>2.6</version>
791 <executions>
792 <execution>
793 <id>normatives</id>
794 <phase>package</phase>
795 <goals>
796 <goal>single</goal>
797 </goals>
798 <configuration>
799 <finalName>normatives</finalName>
800 <appendAssemblyId>false</appendAssemblyId>
801 <descriptor>${project.basedir}/normatives.xml</descriptor>
802 </configuration>
803 </execution>
804 </executions>
805 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200806
Michael Landoed64b5e2017-06-09 03:19:04 +0300807 </plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200808
Michael Landoed64b5e2017-06-09 03:19:04 +0300809 <pluginManagement>
810 <plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200811 <!--This plugin's configuration is used to store Eclipse m2e settings
Michael Landoed64b5e2017-06-09 03:19:04 +0300812 only. It has no influence on the Maven build itself. -->
Michael Lando451a3402017-02-19 10:28:42 +0200813 <plugin>
814 <groupId>org.eclipse.m2e</groupId>
815 <artifactId>lifecycle-mapping</artifactId>
816 <version>1.0.0</version>
817 <configuration>
818 <lifecycleMappingMetadata>
819 <pluginExecutions>
820 <pluginExecution>
821 <pluginExecutionFilter>
822 <groupId>com.googlecode.maven-download-plugin</groupId>
823 <artifactId>download-maven-plugin</artifactId>
824 <versionRange>[1.2.1,)</versionRange>
825 <goals>
826 <goal>wget</goal>
827 </goals>
828 </pluginExecutionFilter>
829 <action>
830 <ignore></ignore>
831 </action>
832 </pluginExecution>
833
834 <pluginExecution>
835 <pluginExecutionFilter>
836 <groupId>com.jcabi</groupId>
837 <artifactId>jcabi-maven-plugin</artifactId>
838 <versionRange>[0.0,)</versionRange>
839 <goals>
840 <goal>ajc</goal>
841 </goals>
842 </pluginExecutionFilter>
843 <action>
844 <execute />
845 </action>
846 </pluginExecution>
847
848 </pluginExecutions>
849 </lifecycleMappingMetadata>
850 </configuration>
851 </plugin>
852 <plugin>
853 <groupId>org.apache.maven.plugins</groupId>
854 <artifactId>maven-deploy-plugin</artifactId>
855 <version>2.7</version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300856 <configuration>
857 <skip>true</skip>
858 </configuration>
Michael Lando451a3402017-02-19 10:28:42 +0200859 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200860 </plugins>
861 </pluginManagement>
862 <!-- Swagger Plugins End -->
863 </build>
864
Michael Landoed64b5e2017-06-09 03:19:04 +0300865 <profiles>
866 <profile>
867 <id>catalog</id>
868 <activation>
869 <activeByDefault>false</activeByDefault>
870 </activation>
Michael Lando451a3402017-02-19 10:28:42 +0200871
872
Michael Landoed64b5e2017-06-09 03:19:04 +0300873 <build>
874 <finalName>${project.artifactId}-${full.release.version}</finalName>
875 <plugins>
876 <plugin>
877 <groupId>org.codehaus.mojo</groupId>
878 <artifactId>properties-maven-plugin</artifactId>
879 <version>1.0-alpha-2</version>
880
881 <executions>
882 <execution>
883 <inherited>false</inherited>
884 <phase>initialize</phase>
885 <goals>
886 <goal>read-project-properties</goal>
887 </goals>
888 <configuration>
889 <files>
890 <file>${project.parent.build.directory}/FullReleaseVersion.properties</file>
891 </files>
892 </configuration>
893 </execution>
894 </executions>
895 </plugin>
896 </plugins>
897 </build>
898 </profile>
899
900 <profile>
901 <id>Fortify</id>
902 <activation>
903 <activeByDefault>false</activeByDefault>
904 </activation>
905
906 <build>
907 <plugins>
908 <plugin>
909 <groupId>com.fortify.ps.maven.plugin</groupId>
910 <artifactId>sca-maven-plugin</artifactId>
911 <version>4.30</version>
912 <configuration>
913 <source>1.8</source>
914 <buildId>${project.parent.artifactId}</buildId>
915 <toplevelArtifactId>${project.parent.artifactId}</toplevelArtifactId>
916 </configuration>
917 </plugin>
918 </plugins>
919 </build>
920 </profile>
921 </profiles>
Michael Lando451a3402017-02-19 10:28:42 +0200922</project>