blob: 9d736022a04ba98f20fe8d27e3a47acb75e1036e [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 Landoed64b5e2017-06-09 03:19:04 +0300586
Michael Lando451a3402017-02-19 10:28:42 +0200587 <plugin>
588 <groupId>org.apache.maven.plugins</groupId>
589 <artifactId>maven-war-plugin</artifactId>
590 <version>2.6</version>
591 <configuration>
592 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
593 WEB-INF/classes/elasticsearch.yml,
594 WEB-INF/classes/portal.properties</packagingExcludes>
Michael Landoed64b5e2017-06-09 03:19:04 +0300595 <archive>
596 <manifestEntries>
Michael Landob7bc7da2017-06-09 12:20:38 +0300597 <SDC-Version>${project.version}</SDC-Version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300598 </manifestEntries>
599 <manifest>
600 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
601 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
602 </manifest>
603 </archive>
Michael Lando451a3402017-02-19 10:28:42 +0200604
Michael Landoed64b5e2017-06-09 03:19:04 +0300605 <webResources>
606 <resource>
607 <directory>src/main/resources</directory>
608 <directory>src/main/resources/swagger</directory>
609 </resource>
610 </webResources>
611 <attachClasses>true</attachClasses>
612 </configuration>
613 </plugin>
614
615 <plugin>
616 <groupId>org.apache.maven.plugins</groupId>
617 <artifactId>maven-dependency-plugin</artifactId>
618 <executions>
619 <execution>
620 <id>copy-dependencies</id>
621 <phase>package</phase>
622 <goals>
623 <goal>copy-dependencies</goal>
624 </goals>
625 <configuration>
626 <includeScope>compile</includeScope>
627 </configuration>
628 </execution>
629 <execution>
630 <id>copy-installed</id>
631 <phase>install</phase>
632 <goals>
633 <goal>copy</goal>
634 </goals>
635 <configuration>
636 <artifactItems>
637 <artifactItem>
638 <groupId>${project.groupId}</groupId>
639 <artifactId>${project.artifactId}</artifactId>
640 <version>${project.version}</version>
641 <type>${project.packaging}</type>
642 </artifactItem>
643 </artifactItems>
644 <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-backend/</outputDirectory>
645 </configuration>
646 </execution>
647 </executions>
648 </plugin>
649
650 <plugin>
651 <groupId>com.jcabi</groupId>
652 <artifactId>jcabi-maven-plugin</artifactId>
653 <version>${jcabi.plugin.version}</version>
654 <executions>
655 <execution>
656 <goals>
657 <goal>ajc</goal>
658 </goals>
659 </execution>
660 </executions>
661 </plugin>
662
Michael Landoed64b5e2017-06-09 03:19:04 +0300663 <plugin>
664 <artifactId>maven-clean-plugin</artifactId>
665 <version>2.6.1</version>
666 <executions>
667 <execution>
668 <id>clean.sdc.zip.chef.os.folder</id>
669 <phase>initialize</phase>
670 <goals>
671 <goal>clean</goal>
672 </goals>
673 <configuration>
674
675 <filesets>
676 <fileset>
677 <directory>${project.parent.basedir}/sdc-os-chef/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/files/default/sdc-*.zip</directory>
678 <includes>
679 <include>sdc-*.zip</include>
680 </includes>
681 <followSymlinks>false</followSymlinks>
682 </fileset>
683 </filesets>
684 </configuration>
685 </execution>
686 </executions>
687 </plugin>
688 <plugin>
689 <artifactId>maven-resources-plugin</artifactId>
690 <version>2.6</version>
691 <executions>
692 <execution>
Michael Landoed64b5e2017-06-09 03:19:04 +0300693 <id>copy-normatives</id>
694 <phase>install</phase>
695 <goals>
696 <goal>copy-resources</goal>
697 </goals>
698 <configuration>
Michael Landob7bc7da2017-06-09 12:20:38 +0300699 <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-normatives/files/default</outputDirectory>
Michael Landoed64b5e2017-06-09 03:19:04 +0300700 <resources>
701 <resource>
702 <directory>./target</directory>
703 <includes>
704 <include>normatives.tar.gz</include>
705 </includes>
706 </resource>
707 </resources>
708 </configuration>
709 </execution>
710 </executions>
711 </plugin>
712
713 <plugin>
714 <groupId>com.coderplus.maven.plugins</groupId>
715 <artifactId>copy-rename-maven-plugin</artifactId>
716 <version>1.0</version>
717 <executions>
718 <execution>
719 <id>copy-file</id>
720 <phase>install</phase>
721 <goals>
722 <goal>copy</goal>
723 </goals>
724 <configuration>
725 <sourceFile>${project.parent.basedir}/catalog-be/src/main/resources/config/SDC.zip</sourceFile>
726 <destinationFile>${project.parent.basedir}/sdc-os-chef/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/files/default/SDC.zip</destinationFile>
727 </configuration>
728 </execution>
729 <execution>
730 <id>rename-file</id>
731 <phase>install</phase>
732 <goals>
733 <goal>rename</goal>
734 </goals>
735 <configuration>
736 <sourceFile>${project.parent.basedir}/sdc-os-chef/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/files/default/SDC.zip</sourceFile>
737 <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>
738 </configuration>
739 </execution>
740 </executions>
741 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200742
743
744
Michael Landoed64b5e2017-06-09 03:19:04 +0300745 <plugin>
746 <groupId>org.apache.maven.plugins</groupId>
747 <artifactId>maven-assembly-plugin</artifactId>
748 <version>2.6</version>
749 <executions>
750 <execution>
751 <id>normatives</id>
752 <phase>package</phase>
753 <goals>
754 <goal>single</goal>
755 </goals>
756 <configuration>
757 <finalName>normatives</finalName>
758 <appendAssemblyId>false</appendAssemblyId>
759 <descriptor>${project.basedir}/normatives.xml</descriptor>
760 </configuration>
761 </execution>
762 </executions>
763 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200764
Michael Landoed64b5e2017-06-09 03:19:04 +0300765 </plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200766
Michael Landoed64b5e2017-06-09 03:19:04 +0300767 <pluginManagement>
768 <plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200769 <!--This plugin's configuration is used to store Eclipse m2e settings
Michael Landoed64b5e2017-06-09 03:19:04 +0300770 only. It has no influence on the Maven build itself. -->
Michael Lando451a3402017-02-19 10:28:42 +0200771 <plugin>
772 <groupId>org.eclipse.m2e</groupId>
773 <artifactId>lifecycle-mapping</artifactId>
774 <version>1.0.0</version>
775 <configuration>
776 <lifecycleMappingMetadata>
777 <pluginExecutions>
778 <pluginExecution>
779 <pluginExecutionFilter>
780 <groupId>com.googlecode.maven-download-plugin</groupId>
781 <artifactId>download-maven-plugin</artifactId>
782 <versionRange>[1.2.1,)</versionRange>
783 <goals>
784 <goal>wget</goal>
785 </goals>
786 </pluginExecutionFilter>
787 <action>
788 <ignore></ignore>
789 </action>
790 </pluginExecution>
791
792 <pluginExecution>
793 <pluginExecutionFilter>
794 <groupId>com.jcabi</groupId>
795 <artifactId>jcabi-maven-plugin</artifactId>
796 <versionRange>[0.0,)</versionRange>
797 <goals>
798 <goal>ajc</goal>
799 </goals>
800 </pluginExecutionFilter>
801 <action>
802 <execute />
803 </action>
804 </pluginExecution>
805
806 </pluginExecutions>
807 </lifecycleMappingMetadata>
808 </configuration>
809 </plugin>
810 <plugin>
811 <groupId>org.apache.maven.plugins</groupId>
812 <artifactId>maven-deploy-plugin</artifactId>
813 <version>2.7</version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300814 <configuration>
815 <skip>true</skip>
816 </configuration>
Michael Lando451a3402017-02-19 10:28:42 +0200817 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200818 </plugins>
819 </pluginManagement>
820 <!-- Swagger Plugins End -->
821 </build>
822
Michael Landoed64b5e2017-06-09 03:19:04 +0300823 <profiles>
824 <profile>
825 <id>catalog</id>
826 <activation>
827 <activeByDefault>false</activeByDefault>
828 </activation>
Michael Lando451a3402017-02-19 10:28:42 +0200829
Michael Landoed64b5e2017-06-09 03:19:04 +0300830 <build>
Michael Landoc61d2242017-06-20 11:07:13 +0300831 <finalName>${project.artifactId}-${project.version}</finalName>
832 </build>
833 </profile>
834
835 <profile>
836 <id>build</id>
837 <activation>
838 <activeByDefault>false</activeByDefault>
839 </activation>
840
841
842 <build>
Michael Landoed64b5e2017-06-09 03:19:04 +0300843 <finalName>${project.artifactId}-${full.release.version}</finalName>
844 <plugins>
845 <plugin>
846 <groupId>org.codehaus.mojo</groupId>
847 <artifactId>properties-maven-plugin</artifactId>
848 <version>1.0-alpha-2</version>
849
850 <executions>
851 <execution>
852 <inherited>false</inherited>
853 <phase>initialize</phase>
854 <goals>
855 <goal>read-project-properties</goal>
856 </goals>
857 <configuration>
858 <files>
859 <file>${project.parent.build.directory}/FullReleaseVersion.properties</file>
860 </files>
861 </configuration>
862 </execution>
863 </executions>
864 </plugin>
865 </plugins>
866 </build>
867 </profile>
868
869 <profile>
870 <id>Fortify</id>
871 <activation>
872 <activeByDefault>false</activeByDefault>
873 </activation>
874
875 <build>
876 <plugins>
877 <plugin>
878 <groupId>com.fortify.ps.maven.plugin</groupId>
879 <artifactId>sca-maven-plugin</artifactId>
880 <version>4.30</version>
881 <configuration>
882 <source>1.8</source>
883 <buildId>${project.parent.artifactId}</buildId>
884 <toplevelArtifactId>${project.parent.artifactId}</toplevelArtifactId>
885 </configuration>
886 </plugin>
887 </plugins>
888 </build>
889 </profile>
890 </profiles>
Michael Lando451a3402017-02-19 10:28:42 +0200891</project>