Final commit to master merge from
[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         <modelVersion>4.0.0</modelVersion>
4
5         <artifactId>catalog-be</artifactId>
6         <packaging>war</packaging>
7
8         <parent>
9                 <groupId>org.openecomp.sdc</groupId>
10                 <artifactId>sdc-main</artifactId>
11                 <version>1.2.0-SNAPSHOT</version>
12         </parent>
13
14         <properties>
15                 <swagger-ui-version>2.1.0-M2</swagger-ui-version>
16         </properties>
17
18         <dependencies>
19                 <!--JSON and YAML Parsing-->
20                 <dependency>
21                         <groupId>com.fasterxml.jackson.dataformat</groupId>
22                         <artifactId>jackson-dataformat-yaml</artifactId>
23                                 <version>${jackson.yaml.version}</version>
24                         <scope>compile</scope>
25                 </dependency>
26
27                 <dependency>
28                         <groupId>com.fasterxml.jackson.core</groupId>
29                         <artifactId>jackson-databind</artifactId>
30                         <version>${jackson.version}</version>
31                         <scope>compile</scope>
32                 </dependency>
33
34                 <dependency>
35                         <groupId>com.fasterxml.jackson.core</groupId>
36                         <artifactId>jackson-core</artifactId>
37                         <version>${jackson.version}</version>
38                         <scope>compile</scope>
39                 </dependency>
40
41                 <dependency>
42                         <groupId>com.fasterxml.jackson.core</groupId>
43                         <artifactId>jackson-annotations</artifactId>
44                         <version>${jackson.annotations.version}</version>
45                         <scope>compile</scope>
46                 </dependency>
47
48                 <dependency>
49                         <groupId>org.glassfish.jersey.media</groupId>
50                         <artifactId>jersey-media-multipart</artifactId>
51                         <version>${jersey-bom.version}</version>
52                         <scope>compile</scope>
53                 </dependency>
54
55                 <dependency>
56                         <groupId>org.openecomp.sdc</groupId>
57                         <artifactId>security-utils</artifactId>
58                         <version>${project.version}</version>
59                         <scope>compile</scope>
60                 </dependency>
61
62                 <dependency>
63                         <groupId>com.tinkerpop.blueprints</groupId>
64                         <artifactId>blueprints-sail-graph</artifactId>
65                         <version>2.5.0</version>
66                         <optional>true</optional>
67                         <exclusions>
68                                 <exclusion>
69                                         <groupId>org.slf4j</groupId>
70                                         <artifactId>slf4j-log4j12</artifactId>
71                                 </exclusion>
72                         </exclusions>
73                 </dependency>
74
75                 <dependency>
76                         <groupId>com.tinkerpop.blueprints</groupId>
77                         <artifactId>blueprints-graph-sail</artifactId>
78                         <version>2.5.0</version>
79                         <optional>true</optional>
80                 </dependency>
81
82                 <!-- Swagger Dependencies Start -->
83                 <dependency>
84                         <groupId>io.swagger</groupId>
85                         <artifactId>swagger-jersey2-jaxrs</artifactId>
86                         <scope>compile</scope>
87                         <version>1.5.15</version>
88                 </dependency>
89                 <!-- Swagger Dependencies End -->
90
91                 <dependency>
92                         <groupId>org.openecomp.sdc</groupId>
93                         <artifactId>common-app-api</artifactId>
94                         <version>${project.version}</version>
95                         <scope>compile</scope>
96                 </dependency>
97
98                 <dependency>
99                         <groupId>org.openecomp.sdc.be</groupId>
100                         <artifactId>common-be</artifactId>
101                         <version>${project.version}</version>
102                         <scope>compile</scope>
103                 </dependency>
104                 <dependency>
105                         <groupId>org.openecomp.sdc.be</groupId>
106                         <artifactId>catalog-dao</artifactId>
107                         <version>${project.version}</version>
108                         <scope>compile</scope>
109                 </dependency>
110
111                 <dependency>
112                         <groupId>org.openecomp.sdc.be</groupId>
113                         <artifactId>catalog-model</artifactId>
114                         <version>${project.version}</version>
115                         <scope>compile</scope>
116                 </dependency>
117
118                 <!-- slf4j + logback -->
119                 <dependency>
120                         <groupId>org.slf4j</groupId>
121                         <artifactId>slf4j-api</artifactId>
122                         <version>${slf4j-api.version}</version>
123                         <scope>compile</scope>
124                 </dependency>
125
126                 <dependency>
127                         <groupId>ch.qos.logback</groupId>
128                         <artifactId>logback-classic</artifactId>
129             <version>${logback.version}</version>
130                         <scope>compile</scope>
131                 </dependency>
132
133                 <dependency>
134                         <groupId>ch.qos.logback</groupId>
135                         <artifactId>logback-core</artifactId>
136             <version>${logback.version}</version>
137                         <scope>compile</scope>
138                 </dependency>
139
140                 <!-- Snake Yaml -->
141                 <dependency>
142                         <groupId>org.yaml</groupId>
143                         <artifactId>snakeyaml</artifactId>
144             <version>${snakeyaml.version}</version>
145                         <scope>compile</scope>
146                 </dependency>
147
148                 <!-- File changes listener -->
149                 <dependency>
150                         <groupId>org.apache.commons</groupId>
151                         <artifactId>commons-jci-core</artifactId>
152                         <version>${commons-jci-core.version}</version>
153                         <scope>compile</scope>
154                 </dependency>
155
156                 <!-- Gson -->
157                 <dependency>
158                         <groupId>com.google.code.gson</groupId>
159                         <artifactId>gson</artifactId>
160                         <version>${gson.version}</version>
161                         <scope>compile</scope>
162                 </dependency>
163
164                 <!-- jersey -->
165                 <dependency>
166                         <groupId>org.glassfish.jersey.media</groupId>
167                         <artifactId>jersey-media-json-jackson</artifactId>
168                         <version>${jersey-bom.version}</version>
169                         <scope>compile</scope>
170                 </dependency>
171
172                 <dependency>
173                         <groupId>org.glassfish.jersey.containers</groupId>
174                         <artifactId>jersey-container-servlet-core</artifactId>
175                         <version>${jersey-bom.version}</version>
176                         <scope>compile</scope>
177                 </dependency>
178
179                 <!-- http client -->
180                 <dependency>
181                         <groupId>org.apache.httpcomponents</groupId>
182                         <artifactId>httpclient</artifactId>
183             <version>${httpclient.version}</version>
184                         <scope>compile</scope>
185                 </dependency>
186
187                 <dependency>
188                         <groupId>org.apache.httpcomponents</groupId>
189                         <artifactId>httpcore</artifactId>
190             <version>${httpcore.version}</version>
191                         <scope>compile</scope>
192                 </dependency>
193
194                 <dependency>
195                         <groupId>commons-logging</groupId>
196                         <artifactId>commons-logging</artifactId>
197                         <version>${commons-logging}</version>
198                         <scope>compile</scope>
199                 </dependency>
200
201                 <dependency>
202                         <groupId>commons-codec</groupId>
203                         <artifactId>commons-codec</artifactId>
204             <version>${commons-codec}</version>
205                         <scope>compile</scope>
206                 </dependency>
207                 <!-- http client END -->
208
209                 <dependency>
210                         <groupId>javax.servlet</groupId>
211                         <artifactId>servlet-api</artifactId>
212             <version>${servlet-api.version}</version>
213                         <scope>provided</scope>
214                 </dependency>
215
216                 <dependency>
217                         <groupId>org.eclipse.jgit</groupId>
218                         <artifactId>org.eclipse.jgit</artifactId>
219                         <version>3.4.1.201406201815-r</version>
220                 </dependency>
221
222                 <!-- spring - used by A4C -->
223                 <dependency>
224                         <groupId>org.springframework</groupId>
225                         <artifactId>spring-core</artifactId>
226                         <version>${spring.version}</version>
227                         <scope>compile</scope>
228                 </dependency>
229
230                 <dependency>
231                         <groupId>org.springframework</groupId>
232                         <artifactId>spring-context</artifactId>
233                         <version>${spring.version}</version>
234                         <scope>compile</scope>
235                 </dependency>
236
237                 <dependency>
238                         <groupId>org.springframework</groupId>
239                         <artifactId>spring-web</artifactId>
240                         <version>${spring.version}</version>
241                         <scope>compile</scope>
242                 </dependency>
243
244                 <dependency>
245                         <groupId>org.springframework</groupId>
246                         <artifactId>spring-webmvc</artifactId>
247                         <version>${spring.version}</version>
248                         <scope>compile</scope>
249                 </dependency>
250
251                 <dependency>
252                         <groupId>org.springframework</groupId>
253                         <artifactId>spring-aop</artifactId>
254                         <version>${spring.version}</version>
255                         <scope>compile</scope>
256                 </dependency>
257
258                 <dependency>
259                         <groupId>org.springframework</groupId>
260                         <artifactId>spring-beans</artifactId>
261                         <version>${spring.version}</version>
262                         <scope>compile</scope>
263                 </dependency>
264
265                 <dependency>
266                         <groupId>org.springframework</groupId>
267                         <artifactId>spring-expression</artifactId>
268                         <version>${spring.version}</version>
269                         <scope>compile</scope>
270                 </dependency>
271
272                 <dependency>
273                         <groupId>org.codehaus.groovy</groupId>
274                         <artifactId>groovy-all</artifactId>
275                         <version>${groovy.version}</version>
276                         <scope>compile</scope>
277                 </dependency>
278
279                 <dependency>
280                         <groupId>org.codehaus.janino</groupId>
281                         <artifactId>janino</artifactId>
282                         <version>${janino.version}</version>
283                         <scope>compile</scope>
284                 </dependency>
285
286                 <dependency>
287                         <groupId>org.codehaus.janino</groupId>
288                         <artifactId>commons-compiler</artifactId>
289                         <version>${janino.version}</version>
290                         <scope>compile</scope>
291                 </dependency>
292
293                 <dependency>
294                         <groupId>com.google.guava</groupId>
295                         <artifactId>guava</artifactId>
296                         <version>${guava.version}</version>
297                         <scope>compile</scope>
298                 </dependency>
299
300                 <!-- TITAN -->
301                 <dependency>
302                         <groupId>com.thinkaurelius.titan</groupId>
303                         <artifactId>titan-core</artifactId>
304                         <version>${titan.version}</version>
305                         <scope>compile</scope>
306                         <exclusions>
307                                 <exclusion>
308                                         <groupId>org.json</groupId>
309                                         <artifactId>json</artifactId>
310                                 </exclusion>
311                                 <exclusion>
312                                         <artifactId>slf4j-log4j12</artifactId>
313                                         <groupId>org.slf4j</groupId>
314                                 </exclusion>
315                         </exclusions>
316                 </dependency>
317
318                 <dependency>
319                         <groupId>org.openecomp.sdc.sdc-titan-cassandra</groupId>
320                         <artifactId>sdc-titan-cassandra</artifactId>
321                         <version>${titan.version}</version>
322                         <scope>compile</scope>
323                         <exclusions>
324                                 <exclusion>
325                                         <groupId>org.slf4j</groupId>
326                                         <artifactId>slf4j-log4j12</artifactId>
327                                 </exclusion>
328                                 <exclusion>
329                                         <groupId>io.netty</groupId>
330                                         <artifactId>netty-all</artifactId>
331                                 </exclusion>
332                         </exclusions>
333                 </dependency>
334
335                 <dependency>
336                         <groupId>org.apache.commons</groupId>
337                         <artifactId>commons-lang3</artifactId>
338                         <version>${lang3.version}</version>
339                         <scope>compile</scope>
340                 </dependency>
341                 <!-- TITAN END -->
342
343                 <dependency>
344                         <groupId>com.googlecode.json-simple</groupId>
345                         <artifactId>json-simple</artifactId>
346                         <version>${json-simple.version}</version>
347                         <scope>compile</scope>
348
349                 </dependency>
350
351                 <dependency>
352                         <groupId>org.elasticsearch</groupId>
353                         <artifactId>elasticsearch</artifactId>
354             <version>${elastic-search.version}</version>
355                         <scope>compile</scope>
356                 </dependency>
357
358                 <dependency>
359                         <groupId>org.elasticsearch.plugin</groupId>
360                         <artifactId>shield</artifactId>
361                         <version>${elastic-search.version}</version>
362                         <scope>compile</scope>
363                 </dependency>
364                 <!-- functional java -->
365                 <dependency>
366                         <groupId>org.functionaljava</groupId>
367                         <artifactId>functionaljava</artifactId>
368                         <version>${functionaljava.version}</version>
369                         <scope>compile</scope>
370                 </dependency>
371
372                 <!-- Aspects -->
373                 <dependency>
374                         <groupId>com.jcabi</groupId>
375                         <artifactId>jcabi-aspects</artifactId>
376                         <version>${jcabi.version}</version>
377                         <scope>compile</scope>
378                 </dependency>
379
380                 <dependency>
381                         <groupId>org.aspectj</groupId>
382                         <artifactId>aspectjrt</artifactId>
383                         <version>${aspectjrt.version}</version>
384                         <scope>compile</scope>
385                 </dependency>
386
387                 <!-- CAMBRIA CLIENT for U-EB -->
388                 <dependency>
389                         <groupId>com.att.nsa</groupId>
390                         <artifactId>cambriaClient</artifactId>
391                         <version>0.0.1</version>
392                         <scope>compile</scope>
393                 </dependency>
394
395                 <dependency>
396                         <groupId>com.att.nsa</groupId>
397                         <artifactId>saClientLibrary</artifactId>
398                         <version>0.0.1</version>
399                         <scope>compile</scope>
400                         <exclusions>
401                                 <exclusion>
402                                         <groupId>org.slf4j</groupId>
403                                         <artifactId>slf4j-log4j12</artifactId>
404                                 </exclusion>
405                         </exclusions>
406                 </dependency>
407
408                 <dependency>
409                         <groupId>org.json</groupId>
410                         <artifactId>json</artifactId>
411                         <version>20131018</version>
412                         <scope>compile</scope>
413                 </dependency>
414                 <dependency>
415                         <groupId>org.apache.tinkerpop</groupId>
416                         <artifactId>tinkergraph-gremlin</artifactId>
417                         <version>3.0.1-incubating</version>
418                         <scope>compile</scope>
419                 </dependency>
420
421                 <dependency>
422                         <groupId>org.apache.tinkerpop</groupId>
423                         <artifactId>gremlin-groovy</artifactId>
424                         <version>3.0.1-incubating</version>
425                         <scope>compile</scope>
426                 </dependency>
427
428                 <!-- CASSANDRA -->
429                 <dependency>
430                         <groupId>com.datastax.cassandra</groupId>
431                         <artifactId>cassandra-driver-core</artifactId>
432                         <version>${cassandra.driver.version}</version>
433                         <scope>compile</scope>
434                 </dependency>
435                 <dependency>
436                         <groupId>com.datastax.cassandra</groupId>
437                         <artifactId>cassandra-driver-mapping</artifactId>
438                         <version>${cassandra.driver.version}</version>
439                         <scope>compile</scope>
440                 </dependency>
441                 <!-- CASSANDRA END -->
442
443                 <!-- Inserted for ECOMP Portal Integration -->
444                 <dependency>
445                         <groupId>org.openecomp.ecompsdkos</groupId>
446                         <artifactId>epsdk-fw</artifactId>
447                         <version>${ecomp.version}</version>
448                         <scope>compile</scope>
449                         <exclusions>
450                                 <exclusion>
451                                         <groupId>com.att.nsa</groupId>
452                                         <artifactId>cambriaClient</artifactId>
453                                 </exclusion>
454                                 <exclusion>
455                                         <artifactId>slf4j-log4j12</artifactId>
456                                         <groupId>org.slf4j</groupId>
457                                 </exclusion>
458                         </exclusions>
459                 </dependency>
460
461                 <!--Artifact Generator-->
462                 <dependency>
463                         <groupId>org.openecomp.sdc.common</groupId>
464                         <artifactId>openecomp-sdc-artifact-generator-api</artifactId>
465                         <version>${artifact-generator-api.version}</version>
466                         <scope>compile</scope>
467                         <exclusions>
468                                 <exclusion>
469                                         <groupId>junit</groupId>
470                                         <artifactId>junit</artifactId>
471                                 </exclusion>
472                         </exclusions>
473                 </dependency>
474
475                 <dependency>
476                         <groupId>org.openecomp.sdc.common</groupId>
477                         <artifactId>openecomp-sdc-artifact-generator-core</artifactId>
478                         <version>${artifact-generator-core.version}</version>
479                         <scope>compile</scope>
480                         <exclusions>
481                                 <exclusion>
482                                         <groupId>junit</groupId>
483                                         <artifactId>junit</artifactId>
484                                 </exclusion>
485                         </exclusions>
486                 </dependency>
487
488                 <dependency>
489                         <groupId>org.openecomp.sdc.common</groupId>
490                         <artifactId>openecomp-common-lib</artifactId>
491                         <version>${dox-common-lib.version}</version>
492                         <type>pom</type>
493                         <exclusions>
494                                 <exclusion>
495                                         <groupId>junit</groupId>
496                                         <artifactId>junit</artifactId>
497                                 </exclusion>
498                         </exclusions>
499                 </dependency>
500
501                 <!--Jetty Proxy-->
502                 <dependency>
503                         <groupId>org.eclipse.jetty</groupId>
504                         <artifactId>jetty-proxy</artifactId>
505                         <version>${jetty.version}</version>
506                         <scope>compile</scope>
507                 </dependency>
508
509                 <dependency>
510                         <groupId>org.eclipse.jetty</groupId>
511                         <artifactId>jetty-servlets</artifactId>
512                         <version>${jetty.version}</version>
513                         <scope>compile</scope>
514                 </dependency>
515                 <!-- System metrics -->
516                 <dependency>
517                         <groupId>org.fusesource</groupId>
518                         <artifactId>sigar</artifactId>
519                         <version>${sigar.version}</version>
520                         <scope>compile</scope>
521                 </dependency>
522
523                 <!-- TEST -->
524                 <dependency>
525                         <groupId>org.glassfish.jersey.test-framework.providers</groupId>
526                         <artifactId>jersey-test-framework-provider-bundle</artifactId>
527                         <version>${jersey-bom.version}</version>
528                         <type>pom</type>
529                         <scope>test</scope>
530                 </dependency>
531
532                 <dependency>
533                         <groupId>org.eclipse.jetty</groupId>
534                         <artifactId>jetty-servlet</artifactId>
535             <version>${jetty.version}</version>
536                         <scope>test</scope>
537                 </dependency>
538
539                 <dependency>
540                         <groupId>org.eclipse.jetty</groupId>
541                         <artifactId>jetty-webapp</artifactId>
542             <version>${jetty.version}</version>
543                         <scope>test</scope>
544                 </dependency>
545
546                 <dependency>
547                         <groupId>junit</groupId>
548                         <artifactId>junit</artifactId>
549                         <version>${junit.version}</version>
550                         <scope>test</scope>
551                 </dependency>
552
553                 <dependency>
554                         <groupId>org.mockito</groupId>
555                         <artifactId>mockito-core</artifactId>
556                         <scope>test</scope>
557                 </dependency>
558
559                 <dependency>
560                         <groupId>org.assertj</groupId>
561                         <artifactId>assertj-core</artifactId>
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>com.jcabi</groupId>
615                                 <artifactId>jcabi-maven-plugin</artifactId>
616                                 <version>${jcabi.plugin.version}</version>
617                                 <executions>
618                                         <execution>
619                                                 <goals>
620                                                         <goal>ajc</goal>
621                                                 </goals>
622                                         </execution>
623                                 </executions>
624                         </plugin>
625
626                         <plugin>
627                                 <groupId>org.apache.maven.plugins</groupId>
628                                 <artifactId>maven-assembly-plugin</artifactId>
629                                 <executions>
630                                         <execution>
631                                                 <id>normatives</id>
632                                                 <phase>package</phase>
633                                                 <goals>
634                                                         <goal>single</goal>
635                                                 </goals>
636                                                 <configuration>
637                                                         <finalName>normatives</finalName>
638                                                         <appendAssemblyId>false</appendAssemblyId>
639                                                         <descriptor>${project.basedir}/normatives.xml</descriptor>
640                                                 </configuration>
641                                         </execution>
642                                 </executions>
643                         </plugin>
644
645                 </plugins>
646
647                 <pluginManagement>
648                         <plugins>
649                                 <!--This plugin's configuration is used to store Eclipse m2e settings 
650                                         only. It has no influence on the Maven build itself. -->
651                                 <plugin>
652                                         <groupId>org.eclipse.m2e</groupId>
653                                         <artifactId>lifecycle-mapping</artifactId>
654                                         <version>1.0.0</version>
655                                         <configuration>
656                                                 <lifecycleMappingMetadata>
657                                                         <pluginExecutions>
658                                                                 <pluginExecution>
659                                                                         <pluginExecutionFilter>
660                                                                                 <groupId>com.googlecode.maven-download-plugin</groupId>
661                                                                                 <artifactId>download-maven-plugin</artifactId>
662                                                                                 <versionRange>[1.2.1,)</versionRange>
663                                                                                 <goals>
664                                                                                         <goal>wget</goal>
665                                                                                 </goals>
666                                                                         </pluginExecutionFilter>
667                                                                         <action>
668                                                                                 <ignore></ignore>
669                                                                         </action>
670                                                                 </pluginExecution>
671
672                                                                 <pluginExecution>
673                                                                         <pluginExecutionFilter>
674                                                                                 <groupId>com.jcabi</groupId>
675                                                                                 <artifactId>jcabi-maven-plugin</artifactId>
676                                                                                 <versionRange>[0.0,)</versionRange>
677                                                                                 <goals>
678                                                                                         <goal>ajc</goal>
679                                                                                 </goals>
680                                                                         </pluginExecutionFilter>
681                                                                         <action>
682                                                                                 <execute />
683                                                                         </action>
684                                                                 </pluginExecution>
685
686                                                         </pluginExecutions>
687                                                 </lifecycleMappingMetadata>
688                                         </configuration>
689                                 </plugin>
690                                 <plugin>
691                                         <groupId>org.apache.maven.plugins</groupId>
692                                         <artifactId>maven-deploy-plugin</artifactId>
693                                         <version>2.7</version>
694                                         <configuration>
695                                                 <skip>true</skip>
696                                         </configuration>
697                                 </plugin>
698                         </plugins>
699                 </pluginManagement>
700                 <!-- Swagger Plugins End -->
701         </build>
702
703         <profiles>
704         <profile>
705             <id>catalog</id>
706             <activation>
707                 <activeByDefault>false</activeByDefault>
708             </activation>
709
710             <build>
711                 <finalName>${project.artifactId}-${project.version}</finalName>                 
712             </build>
713         </profile>
714         </profiles>
715 </project>