blob: 5b13e028d83f36ebc0cbc009a30a84f5af919add [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 Lando0ad3c802017-09-19 16:32:59 +030012 <version>1.2.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 Amit39987c82017-09-13 13:51:41 +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>
Michael Landoed64b5e2017-06-09 03:19:04 +0300614 <groupId>com.jcabi</groupId>
615 <artifactId>jcabi-maven-plugin</artifactId>
616 <version>${jcabi.plugin.version}</version>
617 <executions>
618 <execution>
619 <goals>
620 <goal>ajc</goal>
621 </goals>
622 </execution>
623 </executions>
624 </plugin>
625
Michael Landoed64b5e2017-06-09 03:19:04 +0300626 <plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300627 <artifactId>maven-resources-plugin</artifactId>
628 <version>2.6</version>
629 <executions>
Michael Lando32833932017-07-24 23:21:12 +0300630 <execution>
Tal Gitelmanb5b5f8b2017-07-30 14:40:35 +0300631 <id>copy-tosca-folder</id>
Michael Lando32833932017-07-24 23:21:12 +0300632 <!-- here the phase you need -->
633 <phase>install</phase>
634 <goals>
635 <goal>copy-resources</goal>
636 </goals>
637 <configuration>
638 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
639 <resources>
640 <resource>
641 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
642 <filtering>true</filtering>
643 </resource>
644 </resources>
645 </configuration>
646 </execution>
Michael Landoed64b5e2017-06-09 03:19:04 +0300647 </executions>
648 </plugin>
649
650 <plugin>
Michael Lando32833932017-07-24 23:21:12 +0300651 <artifactId>maven-clean-plugin</artifactId>
652 <version>3.0.0</version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300653 <executions>
654 <execution>
Tal Gitelmanb5b5f8b2017-07-30 14:40:35 +0300655 <id>clean-static-files</id>
Michael Lando32833932017-07-24 23:21:12 +0300656 <phase>clean</phase>
Michael Landoed64b5e2017-06-09 03:19:04 +0300657 <goals>
Michael Lando32833932017-07-24 23:21:12 +0300658 <goal>clean</goal>
Michael Landoed64b5e2017-06-09 03:19:04 +0300659 </goals>
660 <configuration>
Michael Lando32833932017-07-24 23:21:12 +0300661 <filesets>
Tal Gitelmanb5b5f8b2017-07-30 14:40:35 +0300662 <!-- tosca files -->
Michael Lando32833932017-07-24 23:21:12 +0300663 <fileset>
664 <directory>${project.parent.basedir}/asdctool/tosca</directory>
665 <followSymlinks>false</followSymlinks>
666 </fileset>
667 </filesets>
Michael Landoed64b5e2017-06-09 03:19:04 +0300668 </configuration>
669 </execution>
670 </executions>
671 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200672
Michael Landoed64b5e2017-06-09 03:19:04 +0300673 <plugin>
674 <groupId>org.apache.maven.plugins</groupId>
675 <artifactId>maven-assembly-plugin</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300676 <executions>
677 <execution>
678 <id>normatives</id>
679 <phase>package</phase>
680 <goals>
681 <goal>single</goal>
682 </goals>
683 <configuration>
684 <finalName>normatives</finalName>
685 <appendAssemblyId>false</appendAssemblyId>
686 <descriptor>${project.basedir}/normatives.xml</descriptor>
687 </configuration>
688 </execution>
689 </executions>
690 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200691
Michael Landoed64b5e2017-06-09 03:19:04 +0300692 </plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200693
Michael Landoed64b5e2017-06-09 03:19:04 +0300694 <pluginManagement>
695 <plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200696 <!--This plugin's configuration is used to store Eclipse m2e settings
Michael Landoed64b5e2017-06-09 03:19:04 +0300697 only. It has no influence on the Maven build itself. -->
Michael Lando451a3402017-02-19 10:28:42 +0200698 <plugin>
699 <groupId>org.eclipse.m2e</groupId>
700 <artifactId>lifecycle-mapping</artifactId>
701 <version>1.0.0</version>
702 <configuration>
703 <lifecycleMappingMetadata>
704 <pluginExecutions>
705 <pluginExecution>
706 <pluginExecutionFilter>
707 <groupId>com.googlecode.maven-download-plugin</groupId>
708 <artifactId>download-maven-plugin</artifactId>
709 <versionRange>[1.2.1,)</versionRange>
710 <goals>
711 <goal>wget</goal>
712 </goals>
713 </pluginExecutionFilter>
714 <action>
715 <ignore></ignore>
716 </action>
717 </pluginExecution>
718
719 <pluginExecution>
720 <pluginExecutionFilter>
721 <groupId>com.jcabi</groupId>
722 <artifactId>jcabi-maven-plugin</artifactId>
723 <versionRange>[0.0,)</versionRange>
724 <goals>
725 <goal>ajc</goal>
726 </goals>
727 </pluginExecutionFilter>
728 <action>
729 <execute />
730 </action>
731 </pluginExecution>
732
733 </pluginExecutions>
734 </lifecycleMappingMetadata>
735 </configuration>
736 </plugin>
737 <plugin>
738 <groupId>org.apache.maven.plugins</groupId>
739 <artifactId>maven-deploy-plugin</artifactId>
740 <version>2.7</version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300741 <configuration>
742 <skip>true</skip>
743 </configuration>
Michael Lando451a3402017-02-19 10:28:42 +0200744 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200745 </plugins>
746 </pluginManagement>
747 <!-- Swagger Plugins End -->
748 </build>
749
Michael Landoed64b5e2017-06-09 03:19:04 +0300750 <profiles>
751 <profile>
752 <id>catalog</id>
753 <activation>
754 <activeByDefault>false</activeByDefault>
755 </activation>
Michael Lando451a3402017-02-19 10:28:42 +0200756
Michael Landoed64b5e2017-06-09 03:19:04 +0300757 <build>
Michael Landoc61d2242017-06-20 11:07:13 +0300758 <finalName>${project.artifactId}-${project.version}</finalName>
759 </build>
760 </profile>
Michael Landoed64b5e2017-06-09 03:19:04 +0300761 </profiles>
Michael Lando451a3402017-02-19 10:28:42 +0200762</project>