[SDC-29] rebase continue work to align source
[sdc.git] / catalog-be / pom.xml
1 <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>
12                 <version>1.1.0-SNAPSHOT</version>
13         </parent>
14
15         <properties>
16                 <swagger-ui-version>2.1.0-M2</swagger-ui-version>
17         </properties>
18
19
20         <dependencies>
21
22
23                 <!--JSON and YAML Parsing-->
24                 <dependency>
25                         <groupId>com.fasterxml.jackson.dataformat</groupId>
26                         <artifactId>jackson-dataformat-yaml</artifactId>
27                                 <version>${jackson.yaml.version}</version>
28                         <scope>compile</scope>
29                 </dependency>
30
31                 <dependency>
32                         <groupId>com.fasterxml.jackson.core</groupId>
33                         <artifactId>jackson-databind</artifactId>
34                         <version>${jackson.version}</version>
35                         <scope>compile</scope>
36                 </dependency>
37
38                 <dependency>
39                         <groupId>com.fasterxml.jackson.core</groupId>
40                         <artifactId>jackson-core</artifactId>
41                         <version>${jackson.version}</version>
42                         <scope>compile</scope>
43                 </dependency>
44
45                 <dependency>
46                         <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>
57                 </dependency>
58
59                 <dependency>
60                         <groupId>org.openecomp.sdc</groupId>
61                         <artifactId>security-utils</artifactId>
62                         <version>${project.version}</version>
63                         <scope>compile</scope>
64                 </dependency>
65
66                 <dependency>
67                         <groupId>com.tinkerpop.blueprints</groupId>
68                         <artifactId>blueprints-sail-graph</artifactId>
69                         <version>2.5.0</version>
70                         <optional>true</optional>
71                         <exclusions>
72                                 <exclusion>
73                                         <groupId>org.slf4j</groupId>
74                                         <artifactId>slf4j-log4j12</artifactId>
75                                 </exclusion>
76                         </exclusions>
77                 </dependency>
78
79                 <dependency>
80                         <groupId>com.tinkerpop.blueprints</groupId>
81                         <artifactId>blueprints-graph-sail</artifactId>
82                         <version>2.5.0</version>
83                         <optional>true</optional>
84                 </dependency>
85
86                 <!-- Swagger Dependencies Start -->
87                 <dependency>
88                         <groupId>com.wordnik</groupId>
89                         <artifactId>swagger-jersey2-jaxrs</artifactId>
90                         <scope>compile</scope>
91                         <version>1.5.1-M2</version>
92                 </dependency>
93
94
95
96                 <!-- Swagger Dependencies End -->
97                 <dependency>
98                         <groupId>org.openecomp.sdc</groupId>
99                         <artifactId>common-app-api</artifactId>
100                         <version>${project.version}</version>
101                         <scope>compile</scope>
102                 </dependency>
103
104                 <dependency>
105                         <groupId>org.openecomp.sdc.be</groupId>
106                         <artifactId>common-be</artifactId>
107                         <version>${project.version}</version>
108                         <scope>compile</scope>
109                 </dependency>
110                 <dependency>
111                         <groupId>org.openecomp.sdc.be</groupId>
112                         <artifactId>catalog-dao</artifactId>
113                         <version>${project.version}</version>
114                         <scope>compile</scope>
115                 </dependency>
116
117                 <dependency>
118                         <groupId>org.openecomp.sdc.be</groupId>
119                         <artifactId>catalog-model</artifactId>
120                         <version>${project.version}</version>
121                         <scope>compile</scope>
122                 </dependency>
123
124                 <!-- slf4j + logback -->
125                 <dependency>
126                         <groupId>org.slf4j</groupId>
127                         <artifactId>slf4j-api</artifactId>
128                         <version>${slf4j-api.version}</version>
129                         <scope>compile</scope>
130                 </dependency>
131
132                 <dependency>
133                         <groupId>ch.qos.logback</groupId>
134                         <artifactId>logback-classic</artifactId>
135             <version>${logback.version}</version>
136                         <scope>compile</scope>
137                 </dependency>
138
139                 <dependency>
140                         <groupId>ch.qos.logback</groupId>
141                         <artifactId>logback-core</artifactId>
142             <version>${logback.version}</version>
143                         <scope>compile</scope>
144                 </dependency>
145
146                 <!-- Snake Yaml -->
147                 <dependency>
148                         <groupId>org.yaml</groupId>
149                         <artifactId>snakeyaml</artifactId>
150             <version>${snakeyaml.version}</version>
151                         <scope>compile</scope>
152                 </dependency>
153
154                 <!-- File changes listener -->
155                 <dependency>
156                         <groupId>org.apache.commons</groupId>
157                         <artifactId>commons-jci-core</artifactId>
158                         <version>${commons-jci-core.version}</version>
159                         <scope>compile</scope>
160                 </dependency>
161
162                 <!-- Gson -->
163                 <dependency>
164                         <groupId>com.google.code.gson</groupId>
165                         <artifactId>gson</artifactId>
166                         <version>${gson.version}</version>
167                         <scope>compile</scope>
168                 </dependency>
169
170                 <!-- jersey -->
171                 <dependency>
172                         <groupId>org.glassfish.jersey.media</groupId>
173                         <artifactId>jersey-media-json-jackson</artifactId>
174                         <version>${jersey-bom.version}</version>
175                         <scope>compile</scope>
176                 </dependency>
177
178                 <dependency>
179                         <groupId>org.glassfish.jersey.containers</groupId>
180                         <artifactId>jersey-container-servlet-core</artifactId>
181                         <version>${jersey-bom.version}</version>
182                         <scope>compile</scope>
183                 </dependency>
184
185                 <!-- http client -->
186                 <dependency>
187                         <groupId>org.apache.httpcomponents</groupId>
188                         <artifactId>httpclient</artifactId>
189             <version>${httpclient.version}</version>
190                         <scope>compile</scope>
191                 </dependency>
192
193                 <dependency>
194                         <groupId>org.apache.httpcomponents</groupId>
195                         <artifactId>httpcore</artifactId>
196             <version>${httpcore.version}</version>
197                         <scope>compile</scope>
198                 </dependency>
199
200                 <dependency>
201                         <groupId>commons-logging</groupId>
202                         <artifactId>commons-logging</artifactId>
203                         <version>${commons-logging}</version>
204                         <scope>compile</scope>
205                 </dependency>
206
207                 <dependency>
208                         <groupId>commons-codec</groupId>
209                         <artifactId>commons-codec</artifactId>
210             <version>${commons-codec}</version>
211                         <scope>compile</scope>
212                 </dependency>
213                 <!-- http client END -->
214
215                 <dependency>
216                         <groupId>javax.servlet</groupId>
217                         <artifactId>servlet-api</artifactId>
218             <version>${servlet-api.version}</version>
219                         <scope>provided</scope>
220                 </dependency>
221
222                 <dependency>
223                         <groupId>org.eclipse.jgit</groupId>
224                         <artifactId>org.eclipse.jgit</artifactId>
225                         <version>3.4.1.201406201815-r</version>
226                 </dependency>
227
228                 <!-- spring - used by A4C -->
229                 <dependency>
230                         <groupId>org.springframework</groupId>
231                         <artifactId>spring-core</artifactId>
232                         <version>${spring.version}</version>
233                         <scope>compile</scope>
234                 </dependency>
235
236                 <dependency>
237                         <groupId>org.springframework</groupId>
238                         <artifactId>spring-context</artifactId>
239                         <version>${spring.version}</version>
240                         <scope>compile</scope>
241                 </dependency>
242
243                 <dependency>
244                         <groupId>org.springframework</groupId>
245                         <artifactId>spring-web</artifactId>
246                         <version>${spring.version}</version>
247                         <scope>compile</scope>
248                 </dependency>
249
250                 <dependency>
251                         <groupId>org.springframework</groupId>
252                         <artifactId>spring-webmvc</artifactId>
253                         <version>${spring.version}</version>
254                         <scope>compile</scope>
255                 </dependency>
256
257                 <dependency>
258                         <groupId>org.springframework</groupId>
259                         <artifactId>spring-aop</artifactId>
260                         <version>${spring.version}</version>
261                         <scope>compile</scope>
262                 </dependency>
263
264                 <dependency>
265                         <groupId>org.springframework</groupId>
266                         <artifactId>spring-beans</artifactId>
267                         <version>${spring.version}</version>
268                         <scope>compile</scope>
269                 </dependency>
270
271                 <dependency>
272                         <groupId>org.springframework</groupId>
273                         <artifactId>spring-expression</artifactId>
274                         <version>${spring.version}</version>
275                         <scope>compile</scope>
276                 </dependency>
277
278                 <dependency>
279                         <groupId>org.codehaus.groovy</groupId>
280                         <artifactId>groovy-all</artifactId>
281                         <version>${groovy.version}</version>
282                         <scope>compile</scope>
283                 </dependency>
284
285                 <dependency>
286                         <groupId>org.codehaus.janino</groupId>
287                         <artifactId>janino</artifactId>
288                         <version>${janino.version}</version>
289                         <scope>compile</scope>
290                 </dependency>
291
292                 <dependency>
293                         <groupId>org.codehaus.janino</groupId>
294                         <artifactId>commons-compiler</artifactId>
295                         <version>${janino.version}</version>
296                         <scope>compile</scope>
297                 </dependency>
298
299                 <dependency>
300                         <groupId>com.google.guava</groupId>
301                         <artifactId>guava</artifactId>
302                         <version>${guava.version}</version>
303                         <scope>compile</scope>
304                 </dependency>
305
306                 <!-- TITAN -->
307                 <dependency>
308                         <groupId>com.thinkaurelius.titan</groupId>
309                         <artifactId>titan-core</artifactId>
310                         <version>${titan.version}</version>
311                         <scope>compile</scope>
312                         <exclusions>
313                                 <exclusion>
314                                         <groupId>org.json</groupId>
315                                         <artifactId>json</artifactId>
316                                 </exclusion>
317                                 <exclusion>
318                                         <artifactId>slf4j-log4j12</artifactId>
319                                         <groupId>org.slf4j</groupId>
320                                 </exclusion>
321                         </exclusions>
322                 </dependency>
323
324                 <dependency>
325                         <groupId>com.thinkaurelius.titan</groupId>
326                         <artifactId>titan-cassandra</artifactId>
327                         <!--<artifactId>asdc-titan-cassandra</artifactId>-->
328                         <version>${titan.version}</version>
329                         <scope>compile</scope>
330                         <exclusions>
331                                 <exclusion>
332                                         <groupId>org.slf4j</groupId>
333                                         <artifactId>slf4j-log4j12</artifactId>
334                                 </exclusion>
335                                 <exclusion>
336                                         <groupId>io.netty</groupId>
337                                         <artifactId>netty-all</artifactId>
338                                 </exclusion>
339                         </exclusions>
340                 </dependency>
341
342                 <dependency>
343                         <groupId>org.apache.commons</groupId>
344                         <artifactId>commons-lang3</artifactId>
345                         <version>${lang3.version}</version>
346                         <scope>compile</scope>
347                 </dependency>
348                 <!-- TITAN END -->
349
350                 <dependency>
351                         <groupId>com.googlecode.json-simple</groupId>
352                         <artifactId>json-simple</artifactId>
353                         <version>${json-simple.version}</version>
354                         <scope>compile</scope>
355
356                 </dependency>
357
358                 <dependency>
359                         <groupId>org.elasticsearch</groupId>
360                         <artifactId>elasticsearch</artifactId>
361             <version>${elastic-search.version}</version>
362                         <scope>compile</scope>
363                 </dependency>
364
365                 <dependency>
366                         <groupId>org.elasticsearch.plugin</groupId>
367                         <artifactId>shield</artifactId>
368                         <version>${elastic-search.version}</version>
369                         <scope>compile</scope>
370                 </dependency>
371                 <!-- functional java -->
372                 <dependency>
373                         <groupId>org.functionaljava</groupId>
374                         <artifactId>functionaljava</artifactId>
375                         <version>${functionaljava.version}</version>
376                         <scope>compile</scope>
377                 </dependency>
378
379                 <!-- Aspects -->
380                 <dependency>
381                         <groupId>com.jcabi</groupId>
382                         <artifactId>jcabi-aspects</artifactId>
383                         <version>${jcabi.version}</version>
384                         <scope>compile</scope>
385                 </dependency>
386
387                 <dependency>
388                         <groupId>org.aspectj</groupId>
389                         <artifactId>aspectjrt</artifactId>
390                         <version>${aspectjrt.version}</version>
391                         <scope>compile</scope>
392                 </dependency>
393
394                 <!-- CAMBRIA CLIENT for U-EB -->
395                 <dependency>
396                         <groupId>com.att.nsa</groupId>
397                         <artifactId>cambriaClient</artifactId>
398                         <version>0.0.1</version>
399                         <scope>compile</scope>
400                 </dependency>
401
402                 <dependency>
403                         <groupId>com.att.nsa</groupId>
404                         <artifactId>saClientLibrary</artifactId>
405                         <version>0.0.1</version>
406                         <scope>compile</scope>
407                         <exclusions>
408                                 <exclusion>
409                                         <groupId>org.slf4j</groupId>
410                                         <artifactId>slf4j-log4j12</artifactId>
411                                 </exclusion>
412                         </exclusions>
413                 </dependency>
414
415                 <dependency>
416                         <groupId>org.json</groupId>
417                         <artifactId>json</artifactId>
418                         <version>20131018</version>
419                         <scope>compile</scope>
420                 </dependency>
421                 <dependency>
422                         <groupId>org.apache.tinkerpop</groupId>
423                         <artifactId>tinkergraph-gremlin</artifactId>
424                         <version>3.0.1-incubating</version>
425                         <scope>compile</scope>
426                 </dependency>
427
428                 <dependency>
429                         <groupId>org.apache.tinkerpop</groupId>
430                         <artifactId>gremlin-groovy</artifactId>
431                         <version>3.0.1-incubating</version>
432                         <scope>compile</scope>
433                 </dependency>
434
435                 <!-- CASSANDRA -->
436                 <dependency>
437                         <groupId>com.datastax.cassandra</groupId>
438                         <artifactId>cassandra-driver-core</artifactId>
439                         <version>${cassandra.driver.version}</version>
440                         <scope>compile</scope>
441                 </dependency>
442                 <dependency>
443                         <groupId>com.datastax.cassandra</groupId>
444                         <artifactId>cassandra-driver-mapping</artifactId>
445                         <version>${cassandra.driver.version}</version>
446                         <scope>compile</scope>
447                 </dependency>
448                 <!-- CASSANDRA END -->
449
450                 <!-- Inserted for ECOMP Portal Integration -->
451                 <dependency>
452                         <groupId>org.openecomp.ecompsdkos</groupId>
453                         <artifactId>epsdk-fw</artifactId>
454                         <version>${ecomp.version}</version>
455                         <scope>compile</scope>
456                         <exclusions>
457                                 <exclusion>
458                                         <groupId>com.att.nsa</groupId>
459                                         <artifactId>cambriaClient</artifactId>
460                                 </exclusion>
461                                 <exclusion>
462                                         <artifactId>slf4j-log4j12</artifactId>
463                                         <groupId>org.slf4j</groupId>
464                                 </exclusion>
465                         </exclusions>
466                 </dependency>
467
468                 <!--Artifact Generator-->
469                 <dependency>
470                         <groupId>org.openecomp.sdc.common</groupId>
471                         <artifactId>openecomp-sdc-artifact-generator-api</artifactId>
472                         <version>${artifact-generator-api.version}</version>
473                         <scope>compile</scope>
474                         <exclusions>
475                                 <exclusion>
476                                         <groupId>junit</groupId>
477                                         <artifactId>junit</artifactId>
478                                 </exclusion>
479                         </exclusions>
480                 </dependency>
481
482                 <dependency>
483                         <groupId>org.openecomp.sdc.common</groupId>
484                         <artifactId>openecomp-sdc-artifact-generator-core</artifactId>
485                         <version>${artifact-generator-core.version}</version>
486                         <scope>compile</scope>
487                         <exclusions>
488                                 <exclusion>
489                                         <groupId>junit</groupId>
490                                         <artifactId>junit</artifactId>
491                                 </exclusion>
492                         </exclusions>
493                 </dependency>
494
495                 <dependency>
496                         <groupId>org.openecomp.sdc.common</groupId>
497                         <artifactId>openecomp-common-lib</artifactId>
498                         <version>${dox-common-lib.version}</version>
499                         <type>pom</type>
500                         <exclusions>
501                                 <exclusion>
502                                         <groupId>junit</groupId>
503                                         <artifactId>junit</artifactId>
504                                 </exclusion>
505                         </exclusions>
506                 </dependency>
507
508                 <!--Jetty Proxy-->
509                 <dependency>
510                         <groupId>org.eclipse.jetty</groupId>
511                         <artifactId>jetty-proxy</artifactId>
512                         <version>${jetty.version}</version>
513                         <scope>compile</scope>
514                 </dependency>
515
516                 <dependency>
517                         <groupId>org.eclipse.jetty</groupId>
518                         <artifactId>jetty-servlets</artifactId>
519                         <version>${jetty.version}</version>
520                         <scope>compile</scope>
521                 </dependency>
522                 <!-- System metrics -->
523                 <dependency>
524                         <groupId>org.fusesource</groupId>
525                         <artifactId>sigar</artifactId>
526                         <version>${sigar.version}</version>
527                         <scope>compile</scope>
528                 </dependency>
529
530                 <!-- TEST -->
531                 <dependency>
532                         <groupId>org.glassfish.jersey.test-framework.providers</groupId>
533                         <artifactId>jersey-test-framework-provider-bundle</artifactId>
534                         <version>${jersey-bom.version}</version>
535                         <type>pom</type>
536                         <scope>test</scope>
537                 </dependency>
538
539                 <dependency>
540                         <groupId>org.eclipse.jetty</groupId>
541                         <artifactId>jetty-servlet</artifactId>
542             <version>${jetty.version}</version>
543                         <scope>test</scope>
544                 </dependency>
545
546                 <dependency>
547                         <groupId>org.eclipse.jetty</groupId>
548                         <artifactId>jetty-webapp</artifactId>
549             <version>${jetty.version}</version>
550                         <scope>test</scope>
551                 </dependency>
552
553                 <dependency>
554                         <groupId>junit</groupId>
555                         <artifactId>junit</artifactId>
556                         <version>${junit.version}</version>
557                         <scope>test</scope>
558                 </dependency>
559
560                 <dependency>
561                         <groupId>org.mockito</groupId>
562                         <artifactId>mockito-all</artifactId>
563                         <version>${mockito.version}</version>
564                         <!--<version>1.10.19</version>-->
565                         <scope>test</scope>
566                 </dependency>
567
568                 <dependency>
569                         <groupId>org.springframework</groupId>
570                         <artifactId>spring-test</artifactId>
571                         <version>${spring.version}</version>
572                         <scope>test</scope>
573                 </dependency>
574
575                 <dependency>
576                         <groupId>org.springframework</groupId>
577                         <artifactId>spring-tx</artifactId>
578                         <version>${spring.version}</version>
579                         <scope>test</scope>
580                 </dependency>
581         </dependencies>
582
583         <build>
584
585                 <finalName>${project.artifactId}-${project.version}</finalName>
586
587                 <plugins>
588
589                         <plugin>
590                                 <groupId>org.apache.maven.plugins</groupId>
591                                 <artifactId>maven-war-plugin</artifactId>
592                                 <version>2.6</version>
593                                 <configuration>
594                                         <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
595                                                 WEB-INF/classes/elasticsearch.yml,
596                                                 WEB-INF/classes/portal.properties</packagingExcludes>
597                                         <archive>
598                                                 <manifestEntries>
599                                                         <SDC-Version>${project.version}</SDC-Version>
600                                                 </manifestEntries>
601                                                 <manifest>
602                                                         <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
603                                                         <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
604                                                 </manifest>
605                                         </archive>
606
607                                         <webResources>
608                                                 <resource>
609                                                         <directory>src/main/resources</directory>
610                                                         <directory>src/main/resources/swagger</directory>
611                                                 </resource>
612                                         </webResources>
613                                         <attachClasses>true</attachClasses>
614                                 </configuration>
615                         </plugin>
616
617                         <plugin>
618                                 <groupId>org.apache.maven.plugins</groupId>
619                                 <artifactId>maven-dependency-plugin</artifactId>
620                                 <executions>
621                                         <execution>
622                                                 <id>copy-dependencies</id>
623                                                 <phase>package</phase>
624                                                 <goals>
625                                                         <goal>copy-dependencies</goal>
626                                                 </goals>
627                                                 <configuration>
628                                                         <includeScope>compile</includeScope>
629                                                 </configuration>
630                                         </execution>
631                                         <execution>
632                                                 <id>copy-installed</id>
633                                                 <phase>install</phase>
634                                                 <goals>
635                                                         <goal>copy</goal>
636                                                 </goals>
637                                                 <configuration>
638                                                         <artifactItems>
639                                                                 <artifactItem>
640                                                                         <groupId>${project.groupId}</groupId>
641                                                                         <artifactId>${project.artifactId}</artifactId>
642                                                                         <version>${project.version}</version>
643                                                                         <type>${project.packaging}</type>
644                                                                 </artifactItem>
645                                                         </artifactItems>
646                                                         <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-backend/</outputDirectory>
647                                                 </configuration>
648                                         </execution>
649                                 </executions>
650                         </plugin>
651
652                         <plugin>
653                                 <groupId>com.jcabi</groupId>
654                                 <artifactId>jcabi-maven-plugin</artifactId>
655                                 <version>${jcabi.plugin.version}</version>
656                                 <executions>
657                                         <execution>
658                                                 <goals>
659                                                         <goal>ajc</goal>
660                                                 </goals>
661                                         </execution>
662                                 </executions>
663                         </plugin>
664
665                         <!-- Swagger Plugins Start -->
666                         <plugin>
667                                 <groupId>com.googlecode.maven-download-plugin</groupId>
668                                 <artifactId>download-maven-plugin</artifactId>
669                                 <version>1.2.1</version>
670                                 <executions>
671                                         <execution>
672                                                 <id>swagger-ui</id>
673                                                 <goals>
674                                                         <goal>wget</goal>
675                                                 </goals>
676                                                 <configuration>
677                                                         <url>https://github.com/swagger-api/swagger-ui/archive/v${swagger-ui-version}.tar.gz</url>
678                                                         <unpack>true</unpack>
679                                                         <outputDirectory>${project.build.directory}</outputDirectory>
680                                                 </configuration>
681                                         </execution>
682                                 </executions>
683                         </plugin>
684
685                         <plugin>
686                                 <artifactId>maven-clean-plugin</artifactId>
687                                 <version>2.6.1</version>
688                                 <executions>
689                                         <execution>
690                                                 <id>clean.sdc.zip.chef.os.folder</id>
691                                                 <phase>initialize</phase>
692                                                 <goals>
693                                                         <goal>clean</goal>
694                                                 </goals>
695                                                 <configuration>
696
697                                                         <filesets>
698                                                                 <fileset>
699                                                                         <directory>${project.parent.basedir}/sdc-os-chef/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/files/default/sdc-*.zip</directory>
700                                                                         <includes>
701                                                                                 <include>sdc-*.zip</include>
702                                                                         </includes>
703                                                                         <followSymlinks>false</followSymlinks>
704                                                                 </fileset>
705                                                         </filesets>
706                                                 </configuration>
707                                         </execution>
708                                 </executions>
709                         </plugin>
710                         <plugin>
711                                 <artifactId>maven-resources-plugin</artifactId>
712                                 <version>2.6</version>
713                                 <executions>
714                                         <execution>
715                                                 <id>copy-resources</id>
716                                                 <phase>process-resources</phase>
717                                                 <goals>
718                                                         <goal>copy-resources</goal>
719                                                 </goals>
720                                                 <configuration>
721                                                         <outputDirectory>target/${project.artifactId}-${project.version}</outputDirectory>
722                                                         <resources>
723                                                                 <resource>
724                                                                         <directory>${project.build.directory}/swagger-ui-${swagger-ui-version}/dist</directory>
725                                                                         <filtering>true</filtering>
726                                                                         <excludes>
727                                                                                 <exclude>index.html</exclude>
728                                                                         </excludes>
729                                                                 </resource>
730                                                         </resources>
731                                                 </configuration>
732                                         </execution>
733
734                                         <execution>
735                                                 <id>copy-normatives</id>
736                                                 <phase>install</phase>
737                                                 <goals>
738                                                         <goal>copy-resources</goal>
739                                                 </goals>
740                                                 <configuration>
741                                                         <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-normatives/files/default</outputDirectory>
742                                                         <resources>
743                                                                 <resource>
744                                                                         <directory>./target</directory>
745                                                                         <includes>
746                                                                                 <include>normatives.tar.gz</include>
747                                                                         </includes>
748                                                                 </resource>
749                                                         </resources>
750                                                 </configuration>
751                                         </execution>
752                                 </executions>
753                         </plugin>
754
755                         <plugin>
756                                 <groupId>com.coderplus.maven.plugins</groupId>
757                                 <artifactId>copy-rename-maven-plugin</artifactId>
758                                 <version>1.0</version>
759                                 <executions>
760                                         <execution>
761                                                 <id>copy-file</id>
762                                                 <phase>install</phase>
763                                                 <goals>
764                                                         <goal>copy</goal>
765                                                 </goals>
766                                                 <configuration>
767                                                         <sourceFile>${project.parent.basedir}/catalog-be/src/main/resources/config/SDC.zip</sourceFile>
768                                                         <destinationFile>${project.parent.basedir}/sdc-os-chef/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/files/default/SDC.zip</destinationFile>
769                                                 </configuration>
770                                         </execution>
771                                         <execution>
772                                                 <id>rename-file</id>
773                                                 <phase>install</phase>
774                                                 <goals>
775                                                         <goal>rename</goal>
776                                                 </goals>
777                                                 <configuration>
778                                                         <sourceFile>${project.parent.basedir}/sdc-os-chef/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/files/default/SDC.zip</sourceFile>
779                                                         <destinationFile>${project.parent.basedir}/sdc-os-chef/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/files/default/SDC-${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.zip</destinationFile>
780                                                 </configuration>
781                                         </execution>
782                                 </executions>
783                         </plugin>
784
785
786
787                         <plugin>
788                                 <groupId>org.apache.maven.plugins</groupId>
789                                 <artifactId>maven-assembly-plugin</artifactId>
790                                 <version>2.6</version>
791                                 <executions>
792                                         <execution>
793                                                 <id>normatives</id>
794                                                 <phase>package</phase>
795                                                 <goals>
796                                                         <goal>single</goal>
797                                                 </goals>
798                                                 <configuration>
799                                                         <finalName>normatives</finalName>
800                                                         <appendAssemblyId>false</appendAssemblyId>
801                                                         <descriptor>${project.basedir}/normatives.xml</descriptor>
802                                                 </configuration>
803                                         </execution>
804                                 </executions>
805                         </plugin>
806
807                 </plugins>
808
809                 <pluginManagement>
810                         <plugins>
811                                 <!--This plugin's configuration is used to store Eclipse m2e settings 
812                                         only. It has no influence on the Maven build itself. -->
813                                 <plugin>
814                                         <groupId>org.eclipse.m2e</groupId>
815                                         <artifactId>lifecycle-mapping</artifactId>
816                                         <version>1.0.0</version>
817                                         <configuration>
818                                                 <lifecycleMappingMetadata>
819                                                         <pluginExecutions>
820                                                                 <pluginExecution>
821                                                                         <pluginExecutionFilter>
822                                                                                 <groupId>com.googlecode.maven-download-plugin</groupId>
823                                                                                 <artifactId>download-maven-plugin</artifactId>
824                                                                                 <versionRange>[1.2.1,)</versionRange>
825                                                                                 <goals>
826                                                                                         <goal>wget</goal>
827                                                                                 </goals>
828                                                                         </pluginExecutionFilter>
829                                                                         <action>
830                                                                                 <ignore></ignore>
831                                                                         </action>
832                                                                 </pluginExecution>
833
834                                                                 <pluginExecution>
835                                                                         <pluginExecutionFilter>
836                                                                                 <groupId>com.jcabi</groupId>
837                                                                                 <artifactId>jcabi-maven-plugin</artifactId>
838                                                                                 <versionRange>[0.0,)</versionRange>
839                                                                                 <goals>
840                                                                                         <goal>ajc</goal>
841                                                                                 </goals>
842                                                                         </pluginExecutionFilter>
843                                                                         <action>
844                                                                                 <execute />
845                                                                         </action>
846                                                                 </pluginExecution>
847
848                                                         </pluginExecutions>
849                                                 </lifecycleMappingMetadata>
850                                         </configuration>
851                                 </plugin>
852                                 <plugin>
853                                         <groupId>org.apache.maven.plugins</groupId>
854                                         <artifactId>maven-deploy-plugin</artifactId>
855                                         <version>2.7</version>
856                                         <configuration>
857                                                 <skip>true</skip>
858                                         </configuration>
859                                 </plugin>
860                         </plugins>
861                 </pluginManagement>
862                 <!-- Swagger Plugins End -->
863         </build>
864
865         <profiles>
866         <profile>
867             <id>catalog</id>
868             <activation>
869                 <activeByDefault>false</activeByDefault>
870             </activation>
871
872
873             <build>
874                                 <finalName>${project.artifactId}-${full.release.version}</finalName>
875                 <plugins>
876                     <plugin>
877                         <groupId>org.codehaus.mojo</groupId>
878                         <artifactId>properties-maven-plugin</artifactId>
879                         <version>1.0-alpha-2</version>
880
881                         <executions>
882                             <execution>
883                                 <inherited>false</inherited>
884                                 <phase>initialize</phase>
885                                 <goals>
886                                     <goal>read-project-properties</goal>
887                                 </goals>
888                                 <configuration>
889                                     <files>
890                                         <file>${project.parent.build.directory}/FullReleaseVersion.properties</file>
891                                     </files>
892                                 </configuration>
893                             </execution>
894                         </executions>
895                     </plugin>
896                 </plugins>
897             </build>
898         </profile>
899
900                 <profile>
901                         <id>Fortify</id>
902                         <activation>
903                                 <activeByDefault>false</activeByDefault>
904                         </activation>
905
906                         <build>
907                                 <plugins>
908                                         <plugin>
909                                                 <groupId>com.fortify.ps.maven.plugin</groupId>
910                                                 <artifactId>sca-maven-plugin</artifactId>
911                                                 <version>4.30</version>
912                                                 <configuration>
913                                                         <source>1.8</source>
914                                                         <buildId>${project.parent.artifactId}</buildId>
915                                                         <toplevelArtifactId>${project.parent.artifactId}</toplevelArtifactId>
916                                                 </configuration>
917                                         </plugin>
918                                 </plugins>
919                         </build>
920                 </profile>
921         </profiles>
922 </project>