blob: db7a9921798ed7321a8c10e245fb333f21718a51 [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
15
16 <properties>
17 <swagger-ui-version>2.1.0-M2</swagger-ui-version>
18 </properties>
19
20
21
22
23 <dependencyManagement>
24 <dependencies>
25
26 <!-- JSON and YAML Parsing -->
27 <dependency>
28 <groupId>com.fasterxml.jackson.dataformat</groupId>
29 <artifactId>jackson-dataformat-yaml</artifactId>
30 <version>${jackson.version}</version>
31 </dependency>
32
33 <dependency>
34 <groupId>com.fasterxml.jackson.core</groupId>
35 <artifactId>jackson-databind</artifactId>
36 <version>${jackson.version}</version>
37 </dependency>
38
39 <dependency>
40 <groupId>com.fasterxml.jackson.core</groupId>
41 <artifactId>jackson-core</artifactId>
42 <version>${jackson.version}</version>
43 </dependency>
44
45 <dependency>
46 <groupId>com.fasterxml.jackson.core</groupId>
47 <artifactId>jackson-annotations</artifactId>
48 <version>${jackson.annotations.version}</version>
49 </dependency>
50
51 <dependency>
52 <groupId>com.sun.jersey.contribs</groupId>
53 <artifactId>jersey-multipart</artifactId>
54 <version>2.14</version>
55 </dependency>
56 </dependencies>
57 </dependencyManagement>
58
59
60
61
62 <dependencies>
Michael Landoc0ac0152017-02-27 23:48:43 +020063
Michael Landoc34b77c2017-02-28 19:03:11 +020064
65
66 <dependency>
67 <groupId>org.testng</groupId>
68 <artifactId>testng</artifactId>
69 <version>6.9.10</version>
70 <scope>test</scope>
71 </dependency>
72
Michael Landoc0ac0152017-02-27 23:48:43 +020073 <dependency>
74 <groupId>org.springframework</groupId>
75 <artifactId>spring-context-support</artifactId>
76 <version>${spring.version}</version>
77 <scope>provided</scope>
78 </dependency>
79
80 <dependency>
81 <groupId>org.springframework</groupId>
82 <artifactId>spring-messaging</artifactId>
83 <version>${spring.version}</version>
84 <scope>provided</scope>
85 </dependency>
86
87 <dependency>
88 <groupId>org.springframework</groupId>
89 <artifactId>spring-aspects</artifactId>
90 <version>${spring.version}</version>
91 <scope>provided</scope>
92 </dependency>
93
Michael Lando451a3402017-02-19 10:28:42 +020094 <dependency>
95 <groupId>org.openecomp.sdc</groupId>
96 <artifactId>security-utils</artifactId>
97 <version>${security-utils.version}</version>
98 <scope>compile</scope>
99 </dependency>
100
101 <dependency>
102 <groupId>com.tinkerpop.blueprints</groupId>
103 <artifactId>blueprints-sail-graph</artifactId>
104 <version>2.6.0</version>
105 <optional>true</optional>
106 <exclusions>
107 <exclusion>
108 <groupId>org.slf4j</groupId>
109 <artifactId>slf4j-log4j12</artifactId>
110 </exclusion>
111 </exclusions>
112 </dependency>
113
114 <dependency>
115 <groupId>com.tinkerpop.blueprints</groupId>
116 <artifactId>blueprints-graph-sail</artifactId>
117 <version>2.5.0</version>
118 <optional>true</optional>
119 </dependency>
120
121 <!-- Swagger Dependencies Start -->
122 <dependency>
123 <groupId>com.wordnik</groupId>
124 <artifactId>swagger-jersey2-jaxrs</artifactId>
125 <scope>compile</scope>
126 <version>1.5.1-M2</version>
127 </dependency>
128
129 <dependency>
130 <groupId>org.glassfish.jersey.containers</groupId>
131 <artifactId>jersey-container-servlet-core</artifactId>
132 </dependency>
133
Michael Landoc34b77c2017-02-28 19:03:11 +0200134
Michael Lando451a3402017-02-19 10:28:42 +0200135 <!-- Swagger Dependencies End -->
136 <dependency>
137 <groupId>org.openecomp.sdc</groupId>
138 <artifactId>common-app-api</artifactId>
139 <version>${common-app-api.version}</version>
140 <scope>compile</scope>
141 </dependency>
142
143 <dependency>
144 <groupId>org.openecomp.sdc.be</groupId>
145 <artifactId>common-be</artifactId>
146 <version>${common-be.version}</version>
147 <scope>compile</scope>
148 </dependency>
149 <dependency>
150 <groupId>org.openecomp.sdc.be</groupId>
151 <artifactId>catalog-dao</artifactId>
152 <version>${catalog-dao.version}</version>
153 <scope>compile</scope>
154 </dependency>
155
156 <dependency>
157 <groupId>org.openecomp.sdc.be</groupId>
158 <artifactId>catalog-model</artifactId>
159 <version>${catalog-model.version}</version>
160 <scope>compile</scope>
161 </dependency>
162
163 <!-- slf4j + logback -->
164 <dependency>
165 <groupId>org.slf4j</groupId>
166 <artifactId>slf4j-api</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200167 <version>1.7.10</version>
Michael Lando451a3402017-02-19 10:28:42 +0200168 <scope>compile</scope>
169 </dependency>
170
171 <dependency>
172 <groupId>ch.qos.logback</groupId>
173 <artifactId>logback-classic</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200174 <version>${logback.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200175 <scope>compile</scope>
176 </dependency>
177
178 <dependency>
179 <groupId>ch.qos.logback</groupId>
180 <artifactId>logback-core</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200181 <version>${logback.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200182 <scope>compile</scope>
183 </dependency>
184
185 <!-- Snake Yaml -->
186 <dependency>
187 <groupId>org.yaml</groupId>
188 <artifactId>snakeyaml</artifactId>
Michael Lando0de99c22017-02-28 10:54:57 +0200189 <version>1.14</version>
Michael Lando451a3402017-02-19 10:28:42 +0200190 <scope>compile</scope>
191 </dependency>
192
193 <!-- File changes listener -->
194
195 <dependency>
196 <groupId>org.apache.commons</groupId>
197 <artifactId>commons-jci-core</artifactId>
198 <scope>compile</scope>
199 </dependency>
200
201 <!-- Gson -->
202
203 <dependency>
204 <groupId>com.google.code.gson</groupId>
205 <artifactId>gson</artifactId>
Michael Lando9744a932017-02-28 08:22:59 +0200206 <version>2.3.1</version>
Michael Lando451a3402017-02-19 10:28:42 +0200207 <scope>compile</scope>
208 </dependency>
209
210 <!-- Json -->
211
212
213
214
215 <!-- jersey -->
216 <dependency>
217 <groupId>org.glassfish.jersey.media</groupId>
218 <artifactId>jersey-media-json-jackson</artifactId>
219 <scope>compile</scope>
220 </dependency>
221
222
223 <!-- http client -->
224 <dependency>
225 <groupId>org.apache.httpcomponents</groupId>
226 <artifactId>httpclient</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200227 <version>${httpclient.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200228 <scope>compile</scope>
229 </dependency>
230
231 <dependency>
232 <groupId>org.apache.httpcomponents</groupId>
233 <artifactId>httpcore</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200234 <version>${httpcore.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200235 <scope>compile</scope>
236 </dependency>
237
238 <dependency>
239 <groupId>commons-logging</groupId>
240 <artifactId>commons-logging</artifactId>
Michael Lando2e0ef972017-02-28 01:44:21 +0200241 <version>1.2.1-SNAPSHOT</version>
Michael Lando451a3402017-02-19 10:28:42 +0200242 <scope>compile</scope>
243 </dependency>
244
245 <dependency>
246 <groupId>commons-codec</groupId>
247 <artifactId>commons-codec</artifactId>
Michael Lando2e0ef972017-02-28 01:44:21 +0200248 <version>2.0-SNAPSHOT</version>
Michael Lando451a3402017-02-19 10:28:42 +0200249 <scope>compile</scope>
250 </dependency>
251 <!-- http client END -->
252
253 <dependency>
254 <groupId>javax.servlet</groupId>
255 <artifactId>servlet-api</artifactId>
256 <scope>provided</scope>
257 </dependency>
258
259
260 <dependency>
261 <groupId>org.eclipse.jgit</groupId>
262 <artifactId>org.eclipse.jgit</artifactId>
263 <version>3.4.1.201406201815-r</version>
264 </dependency>
265
266
267 <!-- spring - used by A4C -->
268
269 <dependency>
270 <groupId>org.springframework</groupId>
271 <artifactId>spring-core</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.springframework</groupId>
278 <artifactId>spring-context</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200279 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200280 <scope>compile</scope>
281 </dependency>
282
283 <dependency>
284 <groupId>org.springframework</groupId>
285 <artifactId>spring-web</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200286 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200287 <scope>compile</scope>
288 </dependency>
289
290 <dependency>
291 <groupId>org.springframework</groupId>
292 <artifactId>spring-webmvc</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200293 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200294 <scope>compile</scope>
295 </dependency>
296
297 <dependency>
298 <groupId>org.springframework</groupId>
299 <artifactId>spring-aop</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200300 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200301 <scope>compile</scope>
302 </dependency>
303
304 <dependency>
305 <groupId>org.springframework</groupId>
306 <artifactId>spring-beans</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200307 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200308 <scope>compile</scope>
309 </dependency>
310
311 <dependency>
312 <groupId>org.springframework</groupId>
313 <artifactId>spring-expression</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200314 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200315 <scope>compile</scope>
316 </dependency>
317
318 <dependency>
319 <groupId>org.codehaus.groovy</groupId>
320 <artifactId>groovy-all</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200321 <version>${groovy.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200322 <scope>compile</scope>
323 </dependency>
324
Michael Landoc34b77c2017-02-28 19:03:11 +0200325
Michael Lando451a3402017-02-19 10:28:42 +0200326 <dependency>
327 <groupId>org.codehaus.janino</groupId>
328 <artifactId>janino</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200329 <version>${janino.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200330 <scope>compile</scope>
331 </dependency>
332
333 <dependency>
334 <groupId>org.codehaus.janino</groupId>
335 <artifactId>commons-compiler</artifactId>
336 <version>3.0.6</version>
337 <scope>compile</scope>
338 </dependency>
339
340
341 <dependency>
342 <groupId>com.google.guava</groupId>
343 <artifactId>guava</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200344 <version>${guava.version}</version>
345 <scope>compile</scope>
Michael Lando451a3402017-02-19 10:28:42 +0200346 </dependency>
347
348 <!-- TITAN -->
349 <dependency>
350 <groupId>com.thinkaurelius.titan</groupId>
351 <artifactId>titan-core</artifactId>
352 <version>${titan.version}</version>
353 <scope>compile</scope>
354 <exclusions>
355 <exclusion>
356 <groupId>org.json</groupId>
357 <artifactId>json</artifactId>
358 </exclusion>
359 <exclusion>
360 <artifactId>slf4j-log4j12</artifactId>
361 <groupId>org.slf4j</groupId>
362 </exclusion>
363 </exclusions>
364 </dependency>
365
366 <dependency>
367 <groupId>com.thinkaurelius.titan</groupId>
368 <artifactId>titan-cassandra</artifactId>
369 <!--<artifactId>asdc-titan-cassandra</artifactId -->
370 <version>${titan.version}</version>
371 <!--<version>1.0.0-snapshot</version -->
372 <scope>compile</scope>
373 <exclusions>
374 <exclusion>
375 <groupId>org.slf4j</groupId>
376 <artifactId>slf4j-log4j12</artifactId>
377 </exclusion>
378 <exclusion>
379 <groupId>io.netty</groupId>
380 <artifactId>netty-all</artifactId>
381 </exclusion>
382 </exclusions>
383 </dependency>
384
385 <dependency>
386 <groupId>org.apache.commons</groupId>
387 <artifactId>commons-lang3</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200388 <version>${lang3.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200389 <scope>compile</scope>
390 </dependency>
391 <!-- TITAN END -->
392
393 <dependency>
394 <groupId>com.googlecode.json-simple</groupId>
395 <artifactId>json-simple</artifactId>
396 <scope>compile</scope>
397
398 </dependency>
399
400 <dependency>
401 <groupId>org.elasticsearch</groupId>
402 <artifactId>elasticsearch</artifactId>
403 <scope>compile</scope>
404 </dependency>
405
406
407 <dependency>
408 <groupId>org.elasticsearch.plugin</groupId>
409 <artifactId>shield</artifactId>
410 <version>${elastic-search.version}</version>
411 <scope>compile</scope>
412 </dependency>
413 <!-- functional java -->
414 <dependency>
415 <groupId>org.functionaljava</groupId>
416 <artifactId>functionaljava</artifactId>
417 <scope>compile</scope>
418 </dependency>
419
420 <!-- Aspects -->
421 <dependency>
422 <groupId>com.jcabi</groupId>
423 <artifactId>jcabi-aspects</artifactId>
424 <scope>compile</scope>
425 </dependency>
426
427 <dependency>
428 <groupId>org.aspectj</groupId>
429 <artifactId>aspectjrt</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200430 <version>${aspectjrt.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200431 <scope>compile</scope>
432 </dependency>
433
434 <!-- CAMBRIA CLIENT for U-EB -->
435 <dependency>
436 <groupId>com.att.nsa</groupId>
437 <artifactId>cambriaClient</artifactId>
438 <version>0.0.1</version>
439 <scope>compile</scope>
440 </dependency>
441
442 <dependency>
443 <groupId>com.att.nsa</groupId>
444 <artifactId>saClientLibrary</artifactId>
445 <version>0.0.1</version>
446 <scope>compile</scope>
447 <exclusions>
448 <exclusion>
449 <groupId>org.slf4j</groupId>
450 <artifactId>slf4j-log4j12</artifactId>
451 </exclusion>
452 </exclusions>
453 </dependency>
454
455 <dependency>
456 <groupId>org.json</groupId>
457 <artifactId>json</artifactId>
458 <version>20131018</version>
459 <scope>compile</scope>
460 </dependency>
461 <dependency>
462 <groupId>org.apache.tinkerpop</groupId>
463 <artifactId>tinkergraph-gremlin</artifactId>
464 <version>3.0.1-incubating</version>
465 <scope>compile</scope>
466 </dependency>
467
468 <dependency>
469 <groupId>org.apache.tinkerpop</groupId>
470 <artifactId>gremlin-groovy</artifactId>
471 <version>3.0.1-incubating</version>
472 <scope>compile</scope>
473 </dependency>
474
475 <!-- CASSANDRA -->
476 <dependency>
477 <groupId>com.datastax.cassandra</groupId>
478 <artifactId>cassandra-driver-core</artifactId>
479 <version>${cassandra.driver.version}</version>
480 <scope>compile</scope>
481 </dependency>
482 <dependency>
483 <groupId>com.datastax.cassandra</groupId>
484 <artifactId>cassandra-driver-mapping</artifactId>
485 <version>${cassandra.driver.version}</version>
486 <scope>compile</scope>
487 </dependency>
488 <!-- CASSANDRA END -->
489
490 <!-- Inserted for ECOMP Portal Integration -->
491 <dependency>
492 <groupId>org.openecomp.ecompsdkos</groupId>
493 <artifactId>ecompFW</artifactId>
Michael Landoebd7c8f2017-03-15 20:38:00 +0200494 <version>${ecomp.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200495 <scope>compile</scope>
496 <exclusions>
497 <exclusion>
498 <groupId>com.att.nsa</groupId>
499 <artifactId>cambriaClient</artifactId>
500 </exclusion>
501 <exclusion>
502 <artifactId>slf4j-log4j12</artifactId>
503 <groupId>org.slf4j</groupId>
504 </exclusion>
505 </exclusions>
506 </dependency>
507
508 <!-- Artifact Generator -->
509 <dependency>
510 <groupId>org.openecomp.sdc.sdc_common</groupId>
511 <artifactId>openecomp-sdc-artifact-generator-api</artifactId>
512 <version>${artefact-gen-api.version}</version>
513 <scope>compile</scope>
514 </dependency>
515
516 <dependency>
517 <groupId>org.openecomp.sdc.sdc_common</groupId>
518 <artifactId>openecomp-sdc-artifact-generator-core</artifactId>
519 <version>${artefact-gen-core.version}</version>
520 <scope>compile</scope>
521 </dependency>
522
523 <dependency>
524 <groupId>org.openecomp.sdc.sdc_common</groupId>
525 <artifactId>openecomp-common-lib</artifactId>
526 <version>${dox-common-lib.version}</version>
527 <type>pom</type>
528 </dependency>
529
530
531 <!-- Jetty Proxy -->
532 <dependency>
533 <groupId>org.eclipse.jetty</groupId>
534 <artifactId>jetty-proxy</artifactId>
535 <version>${jetty.version}</version>
536 <scope>compile</scope>
537 </dependency>
538
539
540
541 <dependency>
542 <groupId>org.eclipse.jetty</groupId>
543 <artifactId>jetty-servlets</artifactId>
544 <version>${jetty.servlets.version}</version>
545 <scope>compile</scope>
546 </dependency>
547
548 <!-- TEST -->
549 <dependency>
550 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
551 <artifactId>jersey-test-framework-provider-bundle</artifactId>
552 <type>pom</type>
553 <scope>test</scope>
554 </dependency>
555
556 <dependency>
557 <groupId>org.eclipse.jetty</groupId>
558 <artifactId>jetty-servlet</artifactId>
559 <scope>test</scope>
560 </dependency>
561
562 <dependency>
563 <groupId>org.eclipse.jetty</groupId>
564 <artifactId>jetty-webapp</artifactId>
565 <scope>test</scope>
566 </dependency>
567
568 <dependency>
569 <groupId>junit</groupId>
570 <artifactId>junit</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200571 <version>4.12</version>
Michael Lando451a3402017-02-19 10:28:42 +0200572 <scope>test</scope>
573 </dependency>
574
575 <dependency>
576 <groupId>org.mockito</groupId>
577 <artifactId>mockito-all</artifactId>
Michael Landoc34b77c2017-02-28 19:03:11 +0200578 <version>1.10.19</version>
Michael Lando451a3402017-02-19 10:28:42 +0200579 <scope>test</scope>
580 </dependency>
581
582 <dependency>
583 <groupId>org.springframework</groupId>
584 <artifactId>spring-test</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200585 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200586 <scope>test</scope>
587 </dependency>
588
589 <dependency>
590 <groupId>org.springframework</groupId>
591 <artifactId>spring-tx</artifactId>
592 <version>${spring.version}</version>
593 <scope>test</scope>
594 </dependency>
595 </dependencies>
596
597
598
599 <build>
600
601 <finalName>${project.artifactId}-${project.version}</finalName>
602
603
604 <plugins>
605 <plugin>
606 <artifactId>maven-surefire-plugin</artifactId>
607 <configuration>
608 <systemPropertyVariables>
609 <logback.configurationFile>src/test/resources/logback-test.xml</logback.configurationFile>
610 </systemPropertyVariables>
611 </configuration>
612 </plugin>
613
614 <plugin>
615 <groupId>org.apache.maven.plugins</groupId>
616 <artifactId>maven-war-plugin</artifactId>
617 <version>2.6</version>
618 <configuration>
619 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
620 WEB-INF/classes/elasticsearch.yml,
621 WEB-INF/classes/portal.properties</packagingExcludes>
622 <archive>
623 <manifestEntries>
624 <SDC-Version>${parent.version}</SDC-Version>
625 </manifestEntries>
626 <manifest>
627 <!-- <addClasspath>true</addClasspath -->
628 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
629 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
630 </manifest>
631 </archive>
632
633 <webResources>
634 <resource>
635 <directory>src/main/resources</directory>
636 <!-- <directory>target/swagger-ui-2.1.0-M2/dist</directory -->
637 <directory>src/main/resources/swagger</directory>
638 </resource>
639 </webResources>
640 <attachClasses>true</attachClasses>
641 </configuration>
642 </plugin>
643
644
645
646 <plugin>
647 <groupId>org.apache.maven.plugins</groupId>
648 <artifactId>maven-dependency-plugin</artifactId>
649 <executions>
650 <execution>
651 <id>copy-dependencies</id>
652 <phase>package</phase>
653 <goals>
654 <goal>copy-dependencies</goal>
655 </goals>
656 <configuration>
657 <includeScope>compile</includeScope>
658 </configuration>
659 </execution>
660 <execution>
661 <id>copy-installed</id>
662 <phase>install</phase>
663 <goals>
664 <goal>copy</goal>
665 </goals>
666 <configuration>
667 <artifactItems>
668 <artifactItem>
669 <groupId>${project.groupId}</groupId>
670 <artifactId>${project.artifactId}</artifactId>
671 <version>${project.version}</version>
672 <type>${project.packaging}</type>
673 </artifactItem>
674 </artifactItems>
675 <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-backend/</outputDirectory>
676 </configuration>
677 </execution>
678 </executions>
679 </plugin>
680
681
682 <plugin>
683 <groupId>com.jcabi</groupId>
684 <artifactId>jcabi-maven-plugin</artifactId>
685 <version>${jcabi.plugin.version}</version>
686 <executions>
687 <execution>
688 <goals>
689 <goal>ajc</goal>
690 </goals>
691 </execution>
692 </executions>
693 </plugin>
694
695
696
697 <!-- Swagger Plugins Start -->
698 <plugin>
699 <groupId>com.googlecode.maven-download-plugin</groupId>
700 <artifactId>download-maven-plugin</artifactId>
701 <version>1.2.1</version>
702 <executions>
703 <execution>
704 <id>swagger-ui</id>
705 <goals>
706 <goal>wget</goal>
707 </goals>
708 <configuration>
709 <url>https://github.com/swagger-api/swagger-ui/archive/v${swagger-ui-version}.tar.gz</url>
710 <unpack>true</unpack>
711 <outputDirectory>${project.build.directory}</outputDirectory>
712 </configuration>
713 </execution>
714 </executions>
715 </plugin>
716
717
718
719 <plugin>
720 <artifactId>maven-resources-plugin</artifactId>
721 <version>2.6</version>
722 <executions>
723
724 <execution>
725 <id>copy-resources</id>
726 <phase>process-resources</phase>
727 <goals>
728 <goal>copy-resources</goal>
729 </goals>
730 <configuration>
731 <outputDirectory>target/${project.artifactId}-${project.version}</outputDirectory>
732 <resources>
733 <resource>
734 <directory>${project.build.directory}/swagger-ui-${swagger-ui-version}/dist</directory>
735 <filtering>true</filtering>
736 <excludes>
737 <exclude>index.html</exclude>
738 </excludes>
739 </resource>
740 </resources>
741 </configuration>
742 </execution>
743
744 <execution>
745 <id>copy-normatives-backend</id>
746 <phase>install</phase>
747 <goals>
748 <goal>copy-resources</goal>
749 </goals>
750 <configuration>
751 <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-normatives/files/default</outputDirectory>
752 <resources>
753 <resource>
754 <directory>./target</directory>
755 <includes>
756 <include>normatives.tar.gz</include>
757 </includes>
758 </resource>
759 </resources>
760 </configuration>
761 </execution>
762
763 </executions>
764 </plugin>
765
766
767 <plugin>
768 <groupId>org.apache.maven.plugins</groupId>
769 <artifactId>maven-assembly-plugin</artifactId>
770 <version>2.6</version>
771 <executions>
772 <execution>
773 <id>normatives</id>
774 <phase>package</phase>
775 <goals>
776 <goal>single</goal>
777 </goals>
778 <configuration>
779 <finalName>normatives</finalName>
780 <appendAssemblyId>false</appendAssemblyId>
781 <descriptor>${project.basedir}/normatives.xml</descriptor>
782 </configuration>
783 </execution>
784 </executions>
785 </plugin>
786
787 </plugins>
788
789
790
791
792 <pluginManagement>
793 <plugins>
794 <!--This plugin's configuration is used to store Eclipse m2e settings
795 only. It has no influence on the Maven build itself. -->
796 <plugin>
797 <groupId>org.eclipse.m2e</groupId>
798 <artifactId>lifecycle-mapping</artifactId>
799 <version>1.0.0</version>
800 <configuration>
801 <lifecycleMappingMetadata>
802 <pluginExecutions>
803 <pluginExecution>
804 <pluginExecutionFilter>
805 <groupId>com.googlecode.maven-download-plugin</groupId>
806 <artifactId>download-maven-plugin</artifactId>
807 <versionRange>[1.2.1,)</versionRange>
808 <goals>
809 <goal>wget</goal>
810 </goals>
811 </pluginExecutionFilter>
812 <action>
813 <ignore></ignore>
814 </action>
815 </pluginExecution>
816
817 <pluginExecution>
818 <pluginExecutionFilter>
819 <groupId>com.jcabi</groupId>
820 <artifactId>jcabi-maven-plugin</artifactId>
821 <versionRange>[0.0,)</versionRange>
822 <goals>
823 <goal>ajc</goal>
824 </goals>
825 </pluginExecutionFilter>
826 <action>
827 <execute />
828 </action>
829 </pluginExecution>
830
831 </pluginExecutions>
832 </lifecycleMappingMetadata>
833 </configuration>
834 </plugin>
835 <plugin>
836 <groupId>org.apache.maven.plugins</groupId>
837 <artifactId>maven-deploy-plugin</artifactId>
838 <version>2.7</version>
839 </plugin>
840
841 </plugins>
842 </pluginManagement>
843 <!-- Swagger Plugins End -->
844 </build>
845
846
847
848</project>