Replaced all the dependencies of
[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>io.swagger</groupId>
89                         <artifactId>swagger-jersey2-jaxrs</artifactId>
90                         <scope>compile</scope>
91                         <version>1.5.15</version>
92                 </dependency>
93                 <!-- Swagger Dependencies End -->
94
95                 <dependency>
96                         <groupId>org.openecomp.sdc</groupId>
97                         <artifactId>common-app-api</artifactId>
98                         <version>${project.version}</version>
99                         <scope>compile</scope>
100                 </dependency>
101
102                 <dependency>
103                         <groupId>org.openecomp.sdc.be</groupId>
104                         <artifactId>common-be</artifactId>
105                         <version>${project.version}</version>
106                         <scope>compile</scope>
107                 </dependency>
108                 <dependency>
109                         <groupId>org.openecomp.sdc.be</groupId>
110                         <artifactId>catalog-dao</artifactId>
111                         <version>${project.version}</version>
112                         <scope>compile</scope>
113                 </dependency>
114
115                 <dependency>
116                         <groupId>org.openecomp.sdc.be</groupId>
117                         <artifactId>catalog-model</artifactId>
118                         <version>${project.version}</version>
119                         <scope>compile</scope>
120                 </dependency>
121
122                 <!-- slf4j + logback -->
123                 <dependency>
124                         <groupId>org.slf4j</groupId>
125                         <artifactId>slf4j-api</artifactId>
126                         <version>${slf4j-api.version}</version>
127                         <scope>compile</scope>
128                 </dependency>
129
130                 <dependency>
131                         <groupId>ch.qos.logback</groupId>
132                         <artifactId>logback-classic</artifactId>
133             <version>${logback.version}</version>
134                         <scope>compile</scope>
135                 </dependency>
136
137                 <dependency>
138                         <groupId>ch.qos.logback</groupId>
139                         <artifactId>logback-core</artifactId>
140             <version>${logback.version}</version>
141                         <scope>compile</scope>
142                 </dependency>
143
144                 <!-- Snake Yaml -->
145                 <dependency>
146                         <groupId>org.yaml</groupId>
147                         <artifactId>snakeyaml</artifactId>
148             <version>${snakeyaml.version}</version>
149                         <scope>compile</scope>
150                 </dependency>
151
152                 <!-- File changes listener -->
153                 <dependency>
154                         <groupId>org.apache.commons</groupId>
155                         <artifactId>commons-jci-core</artifactId>
156                         <version>${commons-jci-core.version}</version>
157                         <scope>compile</scope>
158                 </dependency>
159
160                 <!-- Gson -->
161                 <dependency>
162                         <groupId>com.google.code.gson</groupId>
163                         <artifactId>gson</artifactId>
164                         <version>${gson.version}</version>
165                         <scope>compile</scope>
166                 </dependency>
167
168                 <!-- jersey -->
169                 <dependency>
170                         <groupId>org.glassfish.jersey.media</groupId>
171                         <artifactId>jersey-media-json-jackson</artifactId>
172                         <version>${jersey-bom.version}</version>
173                         <scope>compile</scope>
174                 </dependency>
175
176                 <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>
182
183                 <!-- http client -->
184                 <dependency>
185                         <groupId>org.apache.httpcomponents</groupId>
186                         <artifactId>httpclient</artifactId>
187             <version>${httpclient.version}</version>
188                         <scope>compile</scope>
189                 </dependency>
190
191                 <dependency>
192                         <groupId>org.apache.httpcomponents</groupId>
193                         <artifactId>httpcore</artifactId>
194             <version>${httpcore.version}</version>
195                         <scope>compile</scope>
196                 </dependency>
197
198                 <dependency>
199                         <groupId>commons-logging</groupId>
200                         <artifactId>commons-logging</artifactId>
201                         <version>${commons-logging}</version>
202                         <scope>compile</scope>
203                 </dependency>
204
205                 <dependency>
206                         <groupId>commons-codec</groupId>
207                         <artifactId>commons-codec</artifactId>
208             <version>${commons-codec}</version>
209                         <scope>compile</scope>
210                 </dependency>
211                 <!-- http client END -->
212
213                 <dependency>
214                         <groupId>javax.servlet</groupId>
215                         <artifactId>servlet-api</artifactId>
216             <version>${servlet-api.version}</version>
217                         <scope>provided</scope>
218                 </dependency>
219
220                 <dependency>
221                         <groupId>org.eclipse.jgit</groupId>
222                         <artifactId>org.eclipse.jgit</artifactId>
223                         <version>3.4.1.201406201815-r</version>
224                 </dependency>
225
226                 <!-- spring - used by A4C -->
227                 <dependency>
228                         <groupId>org.springframework</groupId>
229                         <artifactId>spring-core</artifactId>
230                         <version>${spring.version}</version>
231                         <scope>compile</scope>
232                 </dependency>
233
234                 <dependency>
235                         <groupId>org.springframework</groupId>
236                         <artifactId>spring-context</artifactId>
237                         <version>${spring.version}</version>
238                         <scope>compile</scope>
239                 </dependency>
240
241                 <dependency>
242                         <groupId>org.springframework</groupId>
243                         <artifactId>spring-web</artifactId>
244                         <version>${spring.version}</version>
245                         <scope>compile</scope>
246                 </dependency>
247
248                 <dependency>
249                         <groupId>org.springframework</groupId>
250                         <artifactId>spring-webmvc</artifactId>
251                         <version>${spring.version}</version>
252                         <scope>compile</scope>
253                 </dependency>
254
255                 <dependency>
256                         <groupId>org.springframework</groupId>
257                         <artifactId>spring-aop</artifactId>
258                         <version>${spring.version}</version>
259                         <scope>compile</scope>
260                 </dependency>
261
262                 <dependency>
263                         <groupId>org.springframework</groupId>
264                         <artifactId>spring-beans</artifactId>
265                         <version>${spring.version}</version>
266                         <scope>compile</scope>
267                 </dependency>
268
269                 <dependency>
270                         <groupId>org.springframework</groupId>
271                         <artifactId>spring-expression</artifactId>
272                         <version>${spring.version}</version>
273                         <scope>compile</scope>
274                 </dependency>
275
276                 <dependency>
277                         <groupId>org.codehaus.groovy</groupId>
278                         <artifactId>groovy-all</artifactId>
279                         <version>${groovy.version}</version>
280                         <scope>compile</scope>
281                 </dependency>
282
283                 <dependency>
284                         <groupId>org.codehaus.janino</groupId>
285                         <artifactId>janino</artifactId>
286                         <version>${janino.version}</version>
287                         <scope>compile</scope>
288                 </dependency>
289
290                 <dependency>
291                         <groupId>org.codehaus.janino</groupId>
292                         <artifactId>commons-compiler</artifactId>
293                         <version>${janino.version}</version>
294                         <scope>compile</scope>
295                 </dependency>
296
297                 <dependency>
298                         <groupId>com.google.guava</groupId>
299                         <artifactId>guava</artifactId>
300                         <version>${guava.version}</version>
301                         <scope>compile</scope>
302                 </dependency>
303
304                 <!-- TITAN -->
305                 <dependency>
306                         <groupId>com.thinkaurelius.titan</groupId>
307                         <artifactId>titan-core</artifactId>
308                         <version>${titan.version}</version>
309                         <scope>compile</scope>
310                         <exclusions>
311                                 <exclusion>
312                                         <groupId>org.json</groupId>
313                                         <artifactId>json</artifactId>
314                                 </exclusion>
315                                 <exclusion>
316                                         <artifactId>slf4j-log4j12</artifactId>
317                                         <groupId>org.slf4j</groupId>
318                                 </exclusion>
319                         </exclusions>
320                 </dependency>
321
322                 <dependency>
323                         <groupId>org.openecomp.sdc.sdc-titan-cassandra</groupId>
324                         <artifactId>sdc-titan-cassandra</artifactId>
325                         <version>${titan.version}</version>
326                         <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>
342                         <version>${lang3.version}</version>
343                         <scope>compile</scope>
344                 </dependency>
345                 <!-- TITAN END -->
346
347                 <dependency>
348                         <groupId>com.googlecode.json-simple</groupId>
349                         <artifactId>json-simple</artifactId>
350                         <version>${json-simple.version}</version>
351                         <scope>compile</scope>
352
353                 </dependency>
354
355                 <dependency>
356                         <groupId>org.elasticsearch</groupId>
357                         <artifactId>elasticsearch</artifactId>
358             <version>${elastic-search.version}</version>
359                         <scope>compile</scope>
360                 </dependency>
361
362                 <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>
372                         <version>${functionaljava.version}</version>
373                         <scope>compile</scope>
374                 </dependency>
375
376                 <!-- Aspects -->
377                 <dependency>
378                         <groupId>com.jcabi</groupId>
379                         <artifactId>jcabi-aspects</artifactId>
380                         <version>${jcabi.version}</version>
381                         <scope>compile</scope>
382                 </dependency>
383
384                 <dependency>
385                         <groupId>org.aspectj</groupId>
386                         <artifactId>aspectjrt</artifactId>
387                         <version>${aspectjrt.version}</version>
388                         <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>
450                         <artifactId>epsdk-fw</artifactId>
451                         <version>${ecomp.version}</version>
452                         <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
465                 <!--Artifact Generator-->
466                 <dependency>
467                         <groupId>org.openecomp.sdc.common</groupId>
468                         <artifactId>openecomp-sdc-artifact-generator-api</artifactId>
469                         <version>${artifact-generator-api.version}</version>
470                         <scope>compile</scope>
471                         <exclusions>
472                                 <exclusion>
473                                         <groupId>junit</groupId>
474                                         <artifactId>junit</artifactId>
475                                 </exclusion>
476                         </exclusions>
477                 </dependency>
478
479                 <dependency>
480                         <groupId>org.openecomp.sdc.common</groupId>
481                         <artifactId>openecomp-sdc-artifact-generator-core</artifactId>
482                         <version>${artifact-generator-core.version}</version>
483                         <scope>compile</scope>
484                         <exclusions>
485                                 <exclusion>
486                                         <groupId>junit</groupId>
487                                         <artifactId>junit</artifactId>
488                                 </exclusion>
489                         </exclusions>
490                 </dependency>
491
492                 <dependency>
493                         <groupId>org.openecomp.sdc.common</groupId>
494                         <artifactId>openecomp-common-lib</artifactId>
495                         <version>${dox-common-lib.version}</version>
496                         <type>pom</type>
497                         <exclusions>
498                                 <exclusion>
499                                         <groupId>junit</groupId>
500                                         <artifactId>junit</artifactId>
501                                 </exclusion>
502                         </exclusions>
503                 </dependency>
504
505                 <!--Jetty Proxy-->
506                 <dependency>
507                         <groupId>org.eclipse.jetty</groupId>
508                         <artifactId>jetty-proxy</artifactId>
509                         <version>${jetty.version}</version>
510                         <scope>compile</scope>
511                 </dependency>
512
513                 <dependency>
514                         <groupId>org.eclipse.jetty</groupId>
515                         <artifactId>jetty-servlets</artifactId>
516                         <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>
524                         <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>
531                         <version>${jersey-bom.version}</version>
532                         <type>pom</type>
533                         <scope>test</scope>
534                 </dependency>
535
536                 <dependency>
537                         <groupId>org.eclipse.jetty</groupId>
538                         <artifactId>jetty-servlet</artifactId>
539             <version>${jetty.version}</version>
540                         <scope>test</scope>
541                 </dependency>
542
543                 <dependency>
544                         <groupId>org.eclipse.jetty</groupId>
545                         <artifactId>jetty-webapp</artifactId>
546             <version>${jetty.version}</version>
547                         <scope>test</scope>
548                 </dependency>
549
550                 <dependency>
551                         <groupId>junit</groupId>
552                         <artifactId>junit</artifactId>
553                         <version>${junit.version}</version>
554                         <scope>test</scope>
555                 </dependency>
556
557                 <dependency>
558                         <groupId>org.mockito</groupId>
559                         <artifactId>mockito-all</artifactId>
560                         <version>${mockito.version}</version>
561                         <!--<version>1.10.19</version>-->
562                         <scope>test</scope>
563                 </dependency>
564
565                 <dependency>
566                         <groupId>org.springframework</groupId>
567                         <artifactId>spring-test</artifactId>
568                         <version>${spring.version}</version>
569                         <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
580         <build>
581
582                 <finalName>${project.artifactId}-${project.version}</finalName>
583
584                 <plugins>
585                         <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>
593                                         <archive>
594                                                 <manifestEntries>
595                                                         <SDC-Version>${project.version}</SDC-Version>
596                                                 </manifestEntries>
597                                                 <manifest>
598                                                         <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
599                                                         <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
600                                                 </manifest>
601                                         </archive>
602
603                                         <webResources>
604                                                 <resource>
605                                                         <directory>src/main/resources</directory>
606                                                         <directory>src/main/resources/swagger</directory>
607                                                 </resource>
608                                         </webResources>
609                                         <attachClasses>true</attachClasses>
610                                 </configuration>
611                         </plugin>
612
613                         <plugin>
614                                 <groupId>org.apache.maven.plugins</groupId>
615                                 <artifactId>maven-dependency-plugin</artifactId>
616                                 <executions>
617                                         <execution>
618                                                 <id>copy-dependencies</id>
619                                                 <phase>package</phase>
620                                                 <goals>
621                                                         <goal>copy-dependencies</goal>
622                                                 </goals>
623                                                 <configuration>
624                                                         <includeScope>compile</includeScope>
625                                                 </configuration>
626                                         </execution>
627                                         <execution>
628                                                 <id>copy-installed</id>
629                                                 <phase>install</phase>
630                                                 <goals>
631                                                         <goal>copy</goal>
632                                                 </goals>
633                                                 <configuration>
634                                                         <artifactItems>
635                                                                 <artifactItem>
636                                                                         <groupId>${project.groupId}</groupId>
637                                                                         <artifactId>${project.artifactId}</artifactId>
638                                                                         <version>${project.version}</version>
639                                                                         <type>${project.packaging}</type>
640                                                                 </artifactItem>
641                                                         </artifactItems>
642                                                         <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-backend/</outputDirectory>
643                                                 </configuration>
644                                         </execution>
645                                 </executions>
646                         </plugin>
647
648                         <plugin>
649                                 <groupId>com.jcabi</groupId>
650                                 <artifactId>jcabi-maven-plugin</artifactId>
651                                 <version>${jcabi.plugin.version}</version>
652                                 <executions>
653                                         <execution>
654                                                 <goals>
655                                                         <goal>ajc</goal>
656                                                 </goals>
657                                         </execution>
658                                 </executions>
659                         </plugin>
660
661                         <plugin>
662                                 <artifactId>maven-resources-plugin</artifactId>
663                                 <version>2.6</version>
664                                 <executions>
665                                         <execution>
666                                                 <id>copy-normatives</id>
667                                                 <phase>install</phase>
668                                                 <goals>
669                                                         <goal>copy-resources</goal>
670                                                 </goals>
671                                                 <configuration>
672                                                         <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-normatives/files/default</outputDirectory>
673                                                         <resources>
674                                                                 <resource>
675                                                                         <directory>./target</directory>
676                                                                         <includes>
677                                                                                 <include>normatives.tar.gz</include>
678                                                                         </includes>
679                                                                 </resource>
680                                                         </resources>
681                                                 </configuration>
682                                         </execution>
683                                         
684                                         <execution>
685                                                 <id>copy-static-configuration-files</id>
686                                                 <phase>install</phase>
687                                                 <goals>
688                                                         <goal>copy-resources</goal>
689                                                 </goals>
690                                                 <configuration>
691                                                         <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default</outputDirectory>
692                                                         <resources>
693                                                                 <resource>
694                                                                         <directory>${project.parent.basedir}/catalog-be/src/main/resources/config</directory>
695                                                                         <includes>
696                                                                                 <include>Artifact-Generator.properties</include>
697                                                                                 <include>error-configuration.yaml</include>
698                                                                                 <include>ecomp-error-configuration.yaml</include>
699                                                                                 <include>logback.xml</include>
700                                                                         </includes>
701                                                                 </resource>
702                                                         </resources>
703                                                 </configuration>
704                                         </execution>
705                                         
706                                 <execution>
707                                 <id>copy-tosca-folder</id>
708                                 <!-- here the phase you need -->
709                                 <phase>install</phase>
710                                 <goals>
711                                         <goal>copy-resources</goal>
712                                 </goals>
713                                 <configuration>
714                                         <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
715                                         <resources>          
716                                                 <resource>
717                                                         <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
718                                                         <filtering>true</filtering>
719                                                 </resource>
720                                         </resources>              
721                                 </configuration>            
722                                 </execution>
723                                 </executions>
724                         </plugin>
725
726                         <plugin>
727                                 <artifactId>maven-clean-plugin</artifactId>
728                                 <version>3.0.0</version>
729                                 <executions>
730                                         <execution>
731                                                 <id>clean-static-files</id>
732                                                 <phase>clean</phase>
733                                                 <goals>
734                                                         <goal>clean</goal>
735                                                 </goals>
736                                                 <configuration>
737                                                         <filesets>
738                                                                 <!-- tosca files -->
739                                                                 <fileset>
740                                                                         <directory>${project.parent.basedir}/asdctool/tosca</directory>
741                                                                         <followSymlinks>false</followSymlinks>
742                                                                 </fileset>
743                                                                 <!-- static configuration files -->
744                                                                 <fileset>       
745                                                                 <directory>${project.parent.basedir}/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default</directory>
746                                                                 <includes>
747                                                                                 <include>Artifact-Generator.properties</include>
748                                                                                 <include>error-configuration.yaml</include>
749                                                                                 <include>ecomp-error-configuration.yaml</include>
750                                                                                 <include>logback.xml</include>
751                                                                         </includes>
752                                                         </fileset>
753                                                         </filesets>
754                                                 </configuration>
755                                         </execution>
756                                 </executions>
757                         </plugin>
758
759                         <plugin>
760                                 <groupId>org.apache.maven.plugins</groupId>
761                                 <artifactId>maven-assembly-plugin</artifactId>
762                                 <version>2.6</version>
763                                 <executions>
764                                         <execution>
765                                                 <id>normatives</id>
766                                                 <phase>package</phase>
767                                                 <goals>
768                                                         <goal>single</goal>
769                                                 </goals>
770                                                 <configuration>
771                                                         <finalName>normatives</finalName>
772                                                         <appendAssemblyId>false</appendAssemblyId>
773                                                         <descriptor>${project.basedir}/normatives.xml</descriptor>
774                                                 </configuration>
775                                         </execution>
776                                 </executions>
777                         </plugin>
778
779                 </plugins>
780
781                 <pluginManagement>
782                         <plugins>
783                                 <!--This plugin's configuration is used to store Eclipse m2e settings 
784                                         only. It has no influence on the Maven build itself. -->
785                                 <plugin>
786                                         <groupId>org.eclipse.m2e</groupId>
787                                         <artifactId>lifecycle-mapping</artifactId>
788                                         <version>1.0.0</version>
789                                         <configuration>
790                                                 <lifecycleMappingMetadata>
791                                                         <pluginExecutions>
792                                                                 <pluginExecution>
793                                                                         <pluginExecutionFilter>
794                                                                                 <groupId>com.googlecode.maven-download-plugin</groupId>
795                                                                                 <artifactId>download-maven-plugin</artifactId>
796                                                                                 <versionRange>[1.2.1,)</versionRange>
797                                                                                 <goals>
798                                                                                         <goal>wget</goal>
799                                                                                 </goals>
800                                                                         </pluginExecutionFilter>
801                                                                         <action>
802                                                                                 <ignore></ignore>
803                                                                         </action>
804                                                                 </pluginExecution>
805
806                                                                 <pluginExecution>
807                                                                         <pluginExecutionFilter>
808                                                                                 <groupId>com.jcabi</groupId>
809                                                                                 <artifactId>jcabi-maven-plugin</artifactId>
810                                                                                 <versionRange>[0.0,)</versionRange>
811                                                                                 <goals>
812                                                                                         <goal>ajc</goal>
813                                                                                 </goals>
814                                                                         </pluginExecutionFilter>
815                                                                         <action>
816                                                                                 <execute />
817                                                                         </action>
818                                                                 </pluginExecution>
819
820                                                         </pluginExecutions>
821                                                 </lifecycleMappingMetadata>
822                                         </configuration>
823                                 </plugin>
824                                 <plugin>
825                                         <groupId>org.apache.maven.plugins</groupId>
826                                         <artifactId>maven-deploy-plugin</artifactId>
827                                         <version>2.7</version>
828                                         <configuration>
829                                                 <skip>true</skip>
830                                         </configuration>
831                                 </plugin>
832                         </plugins>
833                 </pluginManagement>
834                 <!-- Swagger Plugins End -->
835         </build>
836
837         <profiles>
838         <profile>
839             <id>catalog</id>
840             <activation>
841                 <activeByDefault>false</activeByDefault>
842             </activation>
843
844             <build>
845                 <finalName>${project.artifactId}-${project.version}</finalName>                 
846             </build>
847         </profile>
848         </profiles>
849 </project>