blob: 8b638e84d77ef139c2562693dbf0a4733b87a7b2 [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>
Idan Amit6cc9a112017-09-13 17:21:33 +0300323 <groupId>org.openecomp.sdc.sdc-titan-cassandra</groupId>
324 <artifactId>sdc-titan-cassandra</artifactId>
Michael Lando451a3402017-02-19 10:28:42 +0200325 <version>${titan.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200326 <scope>compile</scope>
327 <exclusions>
328 <exclusion>
329 <groupId>org.slf4j</groupId>
330 <artifactId>slf4j-log4j12</artifactId>
331 </exclusion>
332 <exclusion>
333 <groupId>io.netty</groupId>
334 <artifactId>netty-all</artifactId>
335 </exclusion>
336 </exclusions>
337 </dependency>
338
339 <dependency>
340 <groupId>org.apache.commons</groupId>
341 <artifactId>commons-lang3</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200342 <version>${lang3.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200343 <scope>compile</scope>
344 </dependency>
345 <!-- TITAN END -->
346
347 <dependency>
348 <groupId>com.googlecode.json-simple</groupId>
349 <artifactId>json-simple</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300350 <version>${json-simple.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200351 <scope>compile</scope>
352
353 </dependency>
354
355 <dependency>
356 <groupId>org.elasticsearch</groupId>
357 <artifactId>elasticsearch</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300358 <version>${elastic-search.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200359 <scope>compile</scope>
360 </dependency>
361
Michael Lando451a3402017-02-19 10:28:42 +0200362 <dependency>
363 <groupId>org.elasticsearch.plugin</groupId>
364 <artifactId>shield</artifactId>
365 <version>${elastic-search.version}</version>
366 <scope>compile</scope>
367 </dependency>
368 <!-- functional java -->
369 <dependency>
370 <groupId>org.functionaljava</groupId>
371 <artifactId>functionaljava</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300372 <version>${functionaljava.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200373 <scope>compile</scope>
374 </dependency>
375
376 <!-- Aspects -->
377 <dependency>
378 <groupId>com.jcabi</groupId>
379 <artifactId>jcabi-aspects</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300380 <version>${jcabi.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200381 <scope>compile</scope>
382 </dependency>
383
384 <dependency>
385 <groupId>org.aspectj</groupId>
386 <artifactId>aspectjrt</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200387 <version>${aspectjrt.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200388 <scope>compile</scope>
389 </dependency>
390
391 <!-- CAMBRIA CLIENT for U-EB -->
392 <dependency>
393 <groupId>com.att.nsa</groupId>
394 <artifactId>cambriaClient</artifactId>
395 <version>0.0.1</version>
396 <scope>compile</scope>
397 </dependency>
398
399 <dependency>
400 <groupId>com.att.nsa</groupId>
401 <artifactId>saClientLibrary</artifactId>
402 <version>0.0.1</version>
403 <scope>compile</scope>
404 <exclusions>
405 <exclusion>
406 <groupId>org.slf4j</groupId>
407 <artifactId>slf4j-log4j12</artifactId>
408 </exclusion>
409 </exclusions>
410 </dependency>
411
412 <dependency>
413 <groupId>org.json</groupId>
414 <artifactId>json</artifactId>
415 <version>20131018</version>
416 <scope>compile</scope>
417 </dependency>
418 <dependency>
419 <groupId>org.apache.tinkerpop</groupId>
420 <artifactId>tinkergraph-gremlin</artifactId>
421 <version>3.0.1-incubating</version>
422 <scope>compile</scope>
423 </dependency>
424
425 <dependency>
426 <groupId>org.apache.tinkerpop</groupId>
427 <artifactId>gremlin-groovy</artifactId>
428 <version>3.0.1-incubating</version>
429 <scope>compile</scope>
430 </dependency>
431
432 <!-- CASSANDRA -->
433 <dependency>
434 <groupId>com.datastax.cassandra</groupId>
435 <artifactId>cassandra-driver-core</artifactId>
436 <version>${cassandra.driver.version}</version>
437 <scope>compile</scope>
438 </dependency>
439 <dependency>
440 <groupId>com.datastax.cassandra</groupId>
441 <artifactId>cassandra-driver-mapping</artifactId>
442 <version>${cassandra.driver.version}</version>
443 <scope>compile</scope>
444 </dependency>
445 <!-- CASSANDRA END -->
446
447 <!-- Inserted for ECOMP Portal Integration -->
448 <dependency>
449 <groupId>org.openecomp.ecompsdkos</groupId>
Michael Landob3d48982017-06-11 14:22:02 +0300450 <artifactId>epsdk-fw</artifactId>
Michael Landoebd7c8f2017-03-15 20:38:00 +0200451 <version>${ecomp.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200452 <scope>compile</scope>
453 <exclusions>
454 <exclusion>
455 <groupId>com.att.nsa</groupId>
456 <artifactId>cambriaClient</artifactId>
457 </exclusion>
458 <exclusion>
459 <artifactId>slf4j-log4j12</artifactId>
460 <groupId>org.slf4j</groupId>
461 </exclusion>
462 </exclusions>
463 </dependency>
464
Michael Landoed64b5e2017-06-09 03:19:04 +0300465 <!--Artifact Generator-->
Michael Lando451a3402017-02-19 10:28:42 +0200466 <dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300467 <groupId>org.openecomp.sdc.common</groupId>
Michael Lando451a3402017-02-19 10:28:42 +0200468 <artifactId>openecomp-sdc-artifact-generator-api</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300469 <version>${artifact-generator-api.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200470 <scope>compile</scope>
Michael Landoed64b5e2017-06-09 03:19:04 +0300471 <exclusions>
472 <exclusion>
473 <groupId>junit</groupId>
474 <artifactId>junit</artifactId>
475 </exclusion>
476 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200477 </dependency>
478
479 <dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300480 <groupId>org.openecomp.sdc.common</groupId>
Michael Lando451a3402017-02-19 10:28:42 +0200481 <artifactId>openecomp-sdc-artifact-generator-core</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300482 <version>${artifact-generator-core.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200483 <scope>compile</scope>
Michael Landoed64b5e2017-06-09 03:19:04 +0300484 <exclusions>
485 <exclusion>
486 <groupId>junit</groupId>
487 <artifactId>junit</artifactId>
488 </exclusion>
489 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200490 </dependency>
491
492 <dependency>
Tal Gitelmanffdda7d2017-07-02 15:33:25 +0300493 <groupId>org.openecomp.sdc.common</groupId>
Michael Lando451a3402017-02-19 10:28:42 +0200494 <artifactId>openecomp-common-lib</artifactId>
495 <version>${dox-common-lib.version}</version>
496 <type>pom</type>
Michael Landoed64b5e2017-06-09 03:19:04 +0300497 <exclusions>
498 <exclusion>
499 <groupId>junit</groupId>
500 <artifactId>junit</artifactId>
501 </exclusion>
502 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200503 </dependency>
504
Michael Landoed64b5e2017-06-09 03:19:04 +0300505 <!--Jetty Proxy-->
Michael Lando451a3402017-02-19 10:28:42 +0200506 <dependency>
507 <groupId>org.eclipse.jetty</groupId>
508 <artifactId>jetty-proxy</artifactId>
509 <version>${jetty.version}</version>
510 <scope>compile</scope>
511 </dependency>
512
Michael Lando451a3402017-02-19 10:28:42 +0200513 <dependency>
514 <groupId>org.eclipse.jetty</groupId>
515 <artifactId>jetty-servlets</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300516 <version>${jetty.version}</version>
517 <scope>compile</scope>
518 </dependency>
519 <!-- System metrics -->
520 <dependency>
521 <groupId>org.fusesource</groupId>
522 <artifactId>sigar</artifactId>
523 <version>${sigar.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200524 <scope>compile</scope>
525 </dependency>
526
527 <!-- TEST -->
528 <dependency>
529 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
530 <artifactId>jersey-test-framework-provider-bundle</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300531 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200532 <type>pom</type>
533 <scope>test</scope>
534 </dependency>
535
536 <dependency>
537 <groupId>org.eclipse.jetty</groupId>
538 <artifactId>jetty-servlet</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300539 <version>${jetty.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200540 <scope>test</scope>
541 </dependency>
542
543 <dependency>
544 <groupId>org.eclipse.jetty</groupId>
545 <artifactId>jetty-webapp</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300546 <version>${jetty.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200547 <scope>test</scope>
548 </dependency>
549
550 <dependency>
551 <groupId>junit</groupId>
552 <artifactId>junit</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300553 <version>${junit.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200554 <scope>test</scope>
555 </dependency>
556
557 <dependency>
558 <groupId>org.mockito</groupId>
559 <artifactId>mockito-all</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300560 <version>${mockito.version}</version>
561 <!--<version>1.10.19</version>-->
Michael Lando451a3402017-02-19 10:28:42 +0200562 <scope>test</scope>
563 </dependency>
564
565 <dependency>
566 <groupId>org.springframework</groupId>
567 <artifactId>spring-test</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200568 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200569 <scope>test</scope>
570 </dependency>
571
572 <dependency>
573 <groupId>org.springframework</groupId>
574 <artifactId>spring-tx</artifactId>
575 <version>${spring.version}</version>
576 <scope>test</scope>
577 </dependency>
578 </dependencies>
579
Michael Lando451a3402017-02-19 10:28:42 +0200580 <build>
581
582 <finalName>${project.artifactId}-${project.version}</finalName>
583
Michael Lando451a3402017-02-19 10:28:42 +0200584 <plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200585 <plugin>
586 <groupId>org.apache.maven.plugins</groupId>
587 <artifactId>maven-war-plugin</artifactId>
588 <version>2.6</version>
589 <configuration>
590 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
591 WEB-INF/classes/elasticsearch.yml,
592 WEB-INF/classes/portal.properties</packagingExcludes>
Michael Landoed64b5e2017-06-09 03:19:04 +0300593 <archive>
594 <manifestEntries>
Michael Landob7bc7da2017-06-09 12:20:38 +0300595 <SDC-Version>${project.version}</SDC-Version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300596 </manifestEntries>
597 <manifest>
598 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
599 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
600 </manifest>
601 </archive>
Michael Lando451a3402017-02-19 10:28:42 +0200602
Michael Landoed64b5e2017-06-09 03:19:04 +0300603 <webResources>
604 <resource>
605 <directory>src/main/resources</directory>
606 <directory>src/main/resources/swagger</directory>
607 </resource>
608 </webResources>
609 <attachClasses>true</attachClasses>
610 </configuration>
611 </plugin>
612
613 <plugin>
614 <groupId>org.apache.maven.plugins</groupId>
615 <artifactId>maven-dependency-plugin</artifactId>
616 <executions>
617 <execution>
618 <id>copy-dependencies</id>
619 <phase>package</phase>
620 <goals>
621 <goal>copy-dependencies</goal>
622 </goals>
623 <configuration>
624 <includeScope>compile</includeScope>
625 </configuration>
626 </execution>
627 <execution>
628 <id>copy-installed</id>
629 <phase>install</phase>
630 <goals>
631 <goal>copy</goal>
632 </goals>
633 <configuration>
634 <artifactItems>
635 <artifactItem>
636 <groupId>${project.groupId}</groupId>
637 <artifactId>${project.artifactId}</artifactId>
638 <version>${project.version}</version>
639 <type>${project.packaging}</type>
640 </artifactItem>
641 </artifactItems>
642 <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-backend/</outputDirectory>
643 </configuration>
644 </execution>
645 </executions>
646 </plugin>
647
648 <plugin>
649 <groupId>com.jcabi</groupId>
650 <artifactId>jcabi-maven-plugin</artifactId>
651 <version>${jcabi.plugin.version}</version>
652 <executions>
653 <execution>
654 <goals>
655 <goal>ajc</goal>
656 </goals>
657 </execution>
658 </executions>
659 </plugin>
660
Michael Landoed64b5e2017-06-09 03:19:04 +0300661 <plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300662 <artifactId>maven-resources-plugin</artifactId>
663 <version>2.6</version>
664 <executions>
665 <execution>
Michael Landoed64b5e2017-06-09 03:19:04 +0300666 <id>copy-normatives</id>
667 <phase>install</phase>
668 <goals>
669 <goal>copy-resources</goal>
670 </goals>
671 <configuration>
Michael Landob7bc7da2017-06-09 12:20:38 +0300672 <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-normatives/files/default</outputDirectory>
Michael Landoed64b5e2017-06-09 03:19:04 +0300673 <resources>
674 <resource>
675 <directory>./target</directory>
676 <includes>
677 <include>normatives.tar.gz</include>
678 </includes>
679 </resource>
680 </resources>
681 </configuration>
682 </execution>
Tal Gitelmanb5b5f8b2017-07-30 14:40:35 +0300683
Michael Lando32833932017-07-24 23:21:12 +0300684 <execution>
Tal Gitelmanb5b5f8b2017-07-30 14:40:35 +0300685 <id>copy-tosca-folder</id>
Michael Lando32833932017-07-24 23:21:12 +0300686 <!-- here the phase you need -->
687 <phase>install</phase>
688 <goals>
689 <goal>copy-resources</goal>
690 </goals>
691 <configuration>
692 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
693 <resources>
694 <resource>
695 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
696 <filtering>true</filtering>
697 </resource>
698 </resources>
699 </configuration>
700 </execution>
Michael Landoed64b5e2017-06-09 03:19:04 +0300701 </executions>
702 </plugin>
703
704 <plugin>
Michael Lando32833932017-07-24 23:21:12 +0300705 <artifactId>maven-clean-plugin</artifactId>
706 <version>3.0.0</version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300707 <executions>
708 <execution>
Tal Gitelmanb5b5f8b2017-07-30 14:40:35 +0300709 <id>clean-static-files</id>
Michael Lando32833932017-07-24 23:21:12 +0300710 <phase>clean</phase>
Michael Landoed64b5e2017-06-09 03:19:04 +0300711 <goals>
Michael Lando32833932017-07-24 23:21:12 +0300712 <goal>clean</goal>
Michael Landoed64b5e2017-06-09 03:19:04 +0300713 </goals>
714 <configuration>
Michael Lando32833932017-07-24 23:21:12 +0300715 <filesets>
Tal Gitelmanb5b5f8b2017-07-30 14:40:35 +0300716 <!-- tosca files -->
Michael Lando32833932017-07-24 23:21:12 +0300717 <fileset>
718 <directory>${project.parent.basedir}/asdctool/tosca</directory>
719 <followSymlinks>false</followSymlinks>
720 </fileset>
721 </filesets>
Michael Landoed64b5e2017-06-09 03:19:04 +0300722 </configuration>
723 </execution>
724 </executions>
725 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200726
Michael Landoed64b5e2017-06-09 03:19:04 +0300727 <plugin>
728 <groupId>org.apache.maven.plugins</groupId>
729 <artifactId>maven-assembly-plugin</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300730 <executions>
731 <execution>
732 <id>normatives</id>
733 <phase>package</phase>
734 <goals>
735 <goal>single</goal>
736 </goals>
737 <configuration>
738 <finalName>normatives</finalName>
739 <appendAssemblyId>false</appendAssemblyId>
740 <descriptor>${project.basedir}/normatives.xml</descriptor>
741 </configuration>
742 </execution>
743 </executions>
744 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200745
Michael Landoed64b5e2017-06-09 03:19:04 +0300746 </plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200747
Michael Landoed64b5e2017-06-09 03:19:04 +0300748 <pluginManagement>
749 <plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200750 <!--This plugin's configuration is used to store Eclipse m2e settings
Michael Landoed64b5e2017-06-09 03:19:04 +0300751 only. It has no influence on the Maven build itself. -->
Michael Lando451a3402017-02-19 10:28:42 +0200752 <plugin>
753 <groupId>org.eclipse.m2e</groupId>
754 <artifactId>lifecycle-mapping</artifactId>
755 <version>1.0.0</version>
756 <configuration>
757 <lifecycleMappingMetadata>
758 <pluginExecutions>
759 <pluginExecution>
760 <pluginExecutionFilter>
761 <groupId>com.googlecode.maven-download-plugin</groupId>
762 <artifactId>download-maven-plugin</artifactId>
763 <versionRange>[1.2.1,)</versionRange>
764 <goals>
765 <goal>wget</goal>
766 </goals>
767 </pluginExecutionFilter>
768 <action>
769 <ignore></ignore>
770 </action>
771 </pluginExecution>
772
773 <pluginExecution>
774 <pluginExecutionFilter>
775 <groupId>com.jcabi</groupId>
776 <artifactId>jcabi-maven-plugin</artifactId>
777 <versionRange>[0.0,)</versionRange>
778 <goals>
779 <goal>ajc</goal>
780 </goals>
781 </pluginExecutionFilter>
782 <action>
783 <execute />
784 </action>
785 </pluginExecution>
786
787 </pluginExecutions>
788 </lifecycleMappingMetadata>
789 </configuration>
790 </plugin>
791 <plugin>
792 <groupId>org.apache.maven.plugins</groupId>
793 <artifactId>maven-deploy-plugin</artifactId>
794 <version>2.7</version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300795 <configuration>
796 <skip>true</skip>
797 </configuration>
Michael Lando451a3402017-02-19 10:28:42 +0200798 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200799 </plugins>
800 </pluginManagement>
801 <!-- Swagger Plugins End -->
802 </build>
803
Michael Landoed64b5e2017-06-09 03:19:04 +0300804 <profiles>
805 <profile>
806 <id>catalog</id>
807 <activation>
808 <activeByDefault>false</activeByDefault>
809 </activation>
Michael Lando451a3402017-02-19 10:28:42 +0200810
Michael Landoed64b5e2017-06-09 03:19:04 +0300811 <build>
Michael Landoc61d2242017-06-20 11:07:13 +0300812 <finalName>${project.artifactId}-${project.version}</finalName>
813 </build>
814 </profile>
Michael Landoed64b5e2017-06-09 03:19:04 +0300815 </profiles>
Michael Lando451a3402017-02-19 10:28:42 +0200816</project>