3d1db4db39db734ff87260ed19b7491020da817f
[portal.git] / ecomp-portal-BE-common / 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         <parent>
5                 <groupId>org.onap.portal</groupId>
6                 <artifactId>onap-portal-parent</artifactId>
7                 <version>1.3.0</version>
8         </parent>
9
10         <artifactId>ecompportal-be-common</artifactId>
11         <packaging>war</packaging>
12
13         <properties>
14                 <skipTests>false</skipTests>
15         </properties>
16
17         <build>
18                 <!-- The war file name carries no version number -->
19                 <finalName>${project.artifactId}</finalName>
20
21                 <plugins>
22                         <!-- Generate javadoc jar; see profile for Java 8 -->
23                         <plugin>
24                                 <groupId>org.apache.maven.plugins</groupId>
25                                 <artifactId>maven-javadoc-plugin</artifactId>
26                                 <version>3.0.0-M1</version>
27                                 <executions>
28                                         <execution>
29                                                 <id>attach-javadocs</id>
30                                                 <goals>
31                                                         <goal>jar</goal>
32                                                 </goals>
33                                         </execution>
34                                 </executions>
35                         </plugin>
36
37                         <!-- Generate source jar -->
38                         <plugin>
39                                 <groupId>org.apache.maven.plugins</groupId>
40                                 <artifactId>maven-source-plugin</artifactId>
41                                 <version>3.0.0</version>
42                                 <executions>
43                                         <execution>
44                                                 <id>attach-sources</id>
45                                                 <goals>
46                                                         <goal>jar</goal>
47                                                 </goals>
48                                         </execution>
49                                 </executions>
50                         </plugin>
51
52                         <plugin>
53                                 <groupId>org.apache.maven.plugins</groupId>
54                                 <artifactId>maven-war-plugin</artifactId>
55                                 <version>3.0.0</version>
56                                 <configuration>
57                                         <!-- Build a jar with all the Java classes -->
58                                         <attachClasses>true</attachClasses>
59                                         <!-- Do not put any jars in the war -->
60                                         <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
61                                 </configuration>
62                         </plugin>
63
64                         <!-- No deployment step for this project -->
65                         <plugin>
66                                 <groupId>org.apache.maven.plugins</groupId>
67                                 <artifactId>maven-deploy-plugin</artifactId>
68                                 <version>2.8</version>
69                                 <configuration>
70                                         <skip>true</skip>
71                                 </configuration>
72                         </plugin>
73
74                 </plugins>
75
76                 <testResources>
77                         <testResource>
78                                 <directory>src/test/java</directory>
79                                 <includes>
80                                         <include>**/*Test*.*</include>
81                                 </includes>
82                         </testResource>
83                 </testResources>
84
85                 <resources>
86                         <resource>
87                                 <directory>src/main/resources</directory>
88                                 <includes>
89                                         <include>**/*</include>
90                                 </includes>
91                         </resource>
92                         <!-- picks up the applicationcodes.properties file presented in \src\ 
93                                 path -->
94                         <resource>
95                                 <directory>src/main/java</directory>
96                                 <includes>
97                                         <include>**/*.xml</include>
98                                         <include>**/*.properties</include>
99                                 </includes>
100                         </resource>
101                 </resources>
102
103         </build>
104
105         <dependencies>
106                 <dependency>
107                         <groupId>com.att.eelf</groupId>
108                         <artifactId>eelf-core</artifactId>
109                         <version>${eelf.version}</version>
110                 </dependency>
111                 <dependency>
112                         <groupId>com.google.code.gson</groupId>
113                         <artifactId>gson</artifactId>
114                         <version>2.5</version>
115                 </dependency>
116                 <!-- Spring -->
117                 <dependency>
118                         <groupId>org.springframework</groupId>
119                         <artifactId>spring-core</artifactId>
120                         <version>${springframework.version}</version>
121                 </dependency>
122                 <dependency>
123                         <groupId>org.springframework</groupId>
124                         <artifactId>spring-web</artifactId>
125                         <version>${springframework.version}</version>
126                 </dependency>
127                 <dependency>
128                         <groupId>org.springframework</groupId>
129                         <artifactId>spring-webmvc</artifactId>
130                         <version>${springframework.version}</version>
131                 </dependency>
132                 <dependency>
133                         <groupId>org.springframework</groupId>
134                         <artifactId>spring-tx</artifactId>
135                         <version>${springframework.version}</version>
136                 </dependency>
137                 <dependency>
138                         <groupId>org.springframework</groupId>
139                         <artifactId>spring-context-support</artifactId>
140                         <version>${springframework.version}</version>
141                 </dependency>
142                 <dependency>
143                         <groupId>org.springframework</groupId>
144                         <artifactId>spring-orm</artifactId>
145                         <version>${springframework.version}</version>
146                 </dependency>
147                 <dependency>
148                         <groupId>org.springframework</groupId>
149                         <artifactId>spring-test</artifactId>
150                         <version>${springframework.version}</version>
151                 </dependency>
152                 <dependency>
153                         <groupId>org.springframework.boot</groupId>
154                         <artifactId>spring-boot-starter</artifactId>
155                         <version>1.3.0.RELEASE</version>
156                         <exclusions>
157                                 <exclusion>
158                                         <groupId>org.slf4j</groupId>
159                                         <artifactId>log4j-over-slf4j</artifactId>
160                                 </exclusion>
161                                 <exclusion>
162                                         <groupId>ch.qos.logback</groupId>
163                                         <artifactId>logback-classic</artifactId>
164                                 </exclusion>
165                         </exclusions>
166                 </dependency>
167                 <!-- Hibernate -->
168                 <dependency>
169                         <groupId>org.hibernate</groupId>
170                         <artifactId>hibernate-core</artifactId>
171                         <version>${hibernate.version}</version>
172                 </dependency>
173                 <dependency>
174                         <groupId>org.hibernate</groupId>
175                         <artifactId>hibernate-validator</artifactId>
176                         <version>5.1.3.Final</version>
177                 </dependency>
178                 <!-- hibernate-core depends on dom4j, which has optional dependencies. 
179                         On jenkins, contrary to doc, mvn 3.0.5 packages the optional dependencies 
180                         in the war. Workaround: exclude them explicitly. -->
181                 <dependency>
182                         <groupId>dom4j</groupId>
183                         <artifactId>dom4j</artifactId>
184                         <version>1.6.1</version>
185                         <exclusions>
186                                 <exclusion>
187                                         <groupId>jaxme</groupId>
188                                         <artifactId>jaxme-api</artifactId>
189                                 </exclusion>
190                                 <exclusion>
191                                         <groupId>jaxen</groupId>
192                                         <artifactId>jaxen</artifactId>
193                                 </exclusion>
194                                 <exclusion>
195                                         <groupId>msv</groupId>
196                                         <artifactId>xsdlib</artifactId>
197                                 </exclusion>
198                                 <exclusion>
199                                         <groupId>msv</groupId>
200                                         <artifactId>relaxngDatatype</artifactId>
201                                 </exclusion>
202                                 <exclusion>
203                                         <groupId>pull-parser</groupId>
204                                         <artifactId>pull-parser</artifactId>
205                                 </exclusion>
206                                 <exclusion>
207                                         <groupId>xpp3</groupId>
208                                         <artifactId>xpp3</artifactId>
209                                 </exclusion>
210                                 <exclusion>
211                                         <groupId>stax</groupId>
212                                         <artifactId>stax-api</artifactId>
213                                 </exclusion>
214                         </exclusions>
215                 </dependency>
216                 <!-- Servlet+JSP+JSTL -->
217                 <dependency>
218                         <groupId>javax.servlet</groupId>
219                         <artifactId>javax.servlet-api</artifactId>
220                         <version>3.1.0</version>
221                 </dependency>
222                 <dependency>
223                         <groupId>javax.servlet.jsp</groupId>
224                         <artifactId>javax.servlet.jsp-api</artifactId>
225                         <version>2.3.1</version>
226                 </dependency>
227                 <dependency>
228                         <groupId>javax.servlet</groupId>
229                         <artifactId>jstl</artifactId>
230                         <version>1.2</version>
231                 </dependency>
232                 <!-- Apache Tiles -->
233                 <dependency>
234                         <groupId>org.apache.tiles</groupId>
235                         <artifactId>tiles-core</artifactId>
236                         <version>3.0.5</version>
237                 </dependency>
238                 <dependency>
239                         <groupId>org.apache.tiles</groupId>
240                         <artifactId>tiles-jsp</artifactId>
241                         <version>3.0.5</version>
242                 </dependency>
243                 <dependency>
244                         <groupId>org.apache.cxf</groupId>
245                         <artifactId>cxf-rt-rs-client</artifactId>
246                         <version>3.0.0-milestone1</version>
247                 </dependency>
248                 <!-- Mapper -->
249                 <dependency>
250                         <groupId>com.fasterxml.jackson.core</groupId>
251                         <artifactId>jackson-annotations</artifactId>
252                         <version>${fasterxml.version}</version>
253                 </dependency>
254                 <dependency>
255                         <groupId>com.fasterxml.jackson.core</groupId>
256                         <artifactId>jackson-core</artifactId>
257                         <version>${fasterxml.version}</version>
258                 </dependency>
259                 <dependency>
260                         <groupId>com.fasterxml.jackson.core</groupId>
261                         <artifactId>jackson-databind</artifactId>
262                         <version>${fasterxml.version}</version>
263                 </dependency>
264                 <dependency>
265                         <groupId>postgresql</groupId>
266                         <artifactId>postgresql</artifactId>
267                         <version>9.1-901-1.jdbc4</version>
268                 </dependency>
269                 <!-- Elastic Search -->
270                 <dependency>
271                         <groupId>org.elasticsearch</groupId>
272                         <artifactId>elasticsearch</artifactId>
273                         <version>2.2.0</version>
274                 </dependency>
275                 <dependency>
276                         <groupId>io.searchbox</groupId>
277                         <artifactId>jest</artifactId>
278                         <version>2.0.0</version>
279                 </dependency>
280                 <dependency>
281                         <groupId>org.apache.jcs</groupId>
282                         <artifactId>jcs</artifactId>
283                         <version>1.3</version>
284                         <exclusions>
285                                 <exclusion>
286                                         <groupId>*</groupId>
287                                         <artifactId>*</artifactId>
288                                 </exclusion>
289                         </exclusions>
290                 </dependency>
291                 <dependency>
292                         <groupId>org.apache.tomcat</groupId>
293                         <artifactId>tomcat-websocket</artifactId>
294                         <version>8.0.28</version>
295                         <scope>provided</scope>
296                 </dependency>
297                 <dependency>
298                         <groupId>concurrent</groupId>
299                         <artifactId>concurrent</artifactId>
300                         <version>1.3.2</version>
301                         <exclusions>
302                                 <exclusion>
303                                         <groupId>*</groupId>
304                                         <artifactId>*</artifactId>
305                                 </exclusion>
306                         </exclusions>
307                 </dependency>
308                 <dependency>
309                         <groupId>commons-lang</groupId>
310                         <artifactId>commons-lang</artifactId>
311                         <version>2.6</version>
312                 </dependency>
313                 <!-- for generating excel/csv/excelx -->
314                 <dependency>
315                         <groupId>org.apache.poi</groupId>
316                         <artifactId>poi</artifactId>
317                         <version>3.5-FINAL</version>
318                         <exclusions>
319                                 <exclusion>
320                                         <groupId>commons-logging</groupId>
321                                         <artifactId>commons-logging</artifactId>
322                                 </exclusion>
323                                 <exclusion>
324                                         <groupId>log4j</groupId>
325                                         <artifactId>log4j</artifactId>
326                                 </exclusion>
327                         </exclusions>
328                 </dependency>
329                 <dependency>
330                         <groupId>org.apache.poi</groupId>
331                         <artifactId>poi-ooxml</artifactId>
332                         <version>3.5-FINAL</version>
333                         <exclusions>
334                                 <exclusion>
335                                         <groupId>commons-logging</groupId>
336                                         <artifactId>commons-logging</artifactId>
337                                 </exclusion>
338                                 <exclusion>
339                                         <groupId>log4j</groupId>
340                                         <artifactId>log4j</artifactId>
341                                 </exclusion>
342                         </exclusions>
343                 </dependency>
344                 <dependency>
345                         <groupId>org.apache.poi</groupId>
346                         <artifactId>poi-scratchpad</artifactId>
347                         <version>3.5-FINAL</version>
348                         <exclusions>
349                                 <exclusion>
350                                         <groupId>commons-logging</groupId>
351                                         <artifactId>commons-logging</artifactId>
352                                 </exclusion>
353                                 <exclusion>
354                                         <groupId>log4j</groupId>
355                                         <artifactId>log4j</artifactId>
356                                 </exclusion>
357                         </exclusions>
358                 </dependency>
359                 <dependency>
360                         <groupId>org.apache.poi</groupId>
361                         <artifactId>poi-contrib</artifactId>
362                         <version>3.5-FINAL</version>
363                         <exclusions>
364                                 <exclusion>
365                                         <groupId>commons-logging</groupId>
366                                         <artifactId>commons-logging</artifactId>
367                                 </exclusion>
368                                 <exclusion>
369                                         <groupId>log4j</groupId>
370                                         <artifactId>log4j</artifactId>
371                                 </exclusion>
372                         </exclusions>
373                 </dependency>
374                 <!-- for generating PDF -->
375                 <dependency>
376                         <groupId>com.lowagie</groupId>
377                         <artifactId>itext</artifactId>
378                         <version>2.0.8</version>
379                 </dependency>
380                 <!-- Quartz -->
381                 <dependency>
382                         <groupId>org.quartz-scheduler</groupId>
383                         <artifactId>quartz</artifactId>
384                         <version>2.2.1</version>
385                         <exclusions>
386                                 <!-- SDK brings a new version of c3p0 -->
387                                 <exclusion>
388                                         <groupId>c3p0</groupId>
389                                         <artifactId>c3p0</artifactId>
390                                 </exclusion>
391                         </exclusions>
392                 </dependency>
393                 <dependency>
394                         <groupId>org.bouncycastle</groupId>
395                         <artifactId>bcprov-jdk16</artifactId>
396                         <version>1.45</version>
397                 </dependency>
398                 <dependency>
399                         <groupId>commons-codec</groupId>
400                         <artifactId>commons-codec</artifactId>
401                         <version>1.9</version>
402                 </dependency>
403                 <dependency>
404                         <groupId>com.att.nsa</groupId>
405                         <artifactId>cambriaClient</artifactId>
406                         <version>0.0.1</version>
407                         <exclusions>
408                                 <exclusion>
409                                         <groupId>commons-logging</groupId>
410                                         <artifactId>commons-logging</artifactId>
411                                 </exclusion>
412                                 <exclusion>
413                                         <groupId>log4j</groupId>
414                                         <artifactId>log4j</artifactId>
415                                 </exclusion>
416                                 <exclusion>
417                                         <groupId>log4j</groupId>
418                                         <artifactId>apache-log4j-extras</artifactId>
419                                 </exclusion>
420                                 <exclusion>
421                                         <groupId>org.slf4j</groupId>
422                                         <artifactId>slf4j-log4j12</artifactId>
423                                 </exclusion>
424                         </exclusions>
425                 </dependency>
426                 <dependency>
427                         <groupId>org.onap.portal.sdk</groupId>
428                         <artifactId>epsdk-fw</artifactId>
429                         <version>${epsdk.version}</version>
430                         <exclusions>
431                                 <exclusion>
432                                         <groupId>commons-logging</groupId>
433                                         <artifactId>commons-logging</artifactId>
434                                 </exclusion>
435                                 <exclusion>
436                                         <groupId>log4j</groupId>
437                                         <artifactId>log4j</artifactId>
438                                 </exclusion>
439                                 <exclusion>
440                                         <groupId>log4j</groupId>
441                                         <artifactId>apache-log4j-extras</artifactId>
442                                 </exclusion>
443                                 <exclusion>
444                                         <groupId>org.slf4j</groupId>
445                                         <artifactId>slf4j-log4j12</artifactId>
446                                 </exclusion>
447                         </exclusions>
448                 </dependency>
449                 <dependency>
450                         <groupId>org.onap.portal.sdk</groupId>
451                         <artifactId>epsdk-core</artifactId>
452                         <version>${epsdk.version}</version>
453                         <exclusions>
454                                 <exclusion>
455                                         <groupId>mysql</groupId>
456                                         <artifactId>mysql-connector-java</artifactId>
457                                 </exclusion>
458                         </exclusions>
459                 </dependency>
460                 <dependency>
461                         <groupId>org.onap.portal.sdk</groupId>
462                         <artifactId>epsdk-app-common</artifactId>
463                         <version>${epsdk.version}</version>
464                 </dependency>
465                 <dependency>
466                         <groupId>org.onap.portal.sdk</groupId>
467                         <artifactId>epsdk-workflow</artifactId>
468                         <version>${epsdk.version}</version>
469                 </dependency>
470                 <!-- Raptor required Libraries -->
471                 <!-- for static charts -->
472                 <dependency>
473                         <groupId>org.onap.portal.sdk</groupId>
474                         <artifactId>epsdk-analytics</artifactId>
475                         <version>${epsdk.version}</version>
476                 </dependency>
477                 <!-- Referenced by some poms and needed for testing; do NOT use "test" 
478                         scope here. -->
479                 <dependency>
480                         <groupId>org.apache.httpcomponents</groupId>
481                         <artifactId>httpclient</artifactId>
482                         <version>4.5.2</version>
483                 </dependency>
484                 <!-- for testing -->
485                 <dependency>
486                         <groupId>junit</groupId>
487                         <artifactId>junit</artifactId>
488                         <version>4.11</version>
489                         <scope>test</scope>
490                 </dependency>
491                 <dependency>
492                         <groupId>org.powermock</groupId>
493                         <artifactId>powermock-api-mockito</artifactId>
494                         <version>1.6.1</version>
495                 </dependency>
496                 <dependency>
497                         <groupId>org.powermock</groupId>
498                         <artifactId>powermock-core</artifactId>
499                         <version>1.6.1</version>
500                 </dependency>
501                 <dependency>
502                         <groupId>org.powermock</groupId>
503                         <artifactId>powermock-module-junit4</artifactId>
504                         <version>1.6.1</version>
505                 </dependency>
506                 <dependency>
507                         <groupId>org.mockito</groupId>
508                         <artifactId>mockito-core</artifactId>
509                         <version>1.8.5</version>
510                 </dependency>
511                 <dependency>
512                         <groupId>commons-beanutils</groupId>
513                         <artifactId>commons-beanutils</artifactId>
514                         <version>1.9.2</version>
515                 </dependency>
516                 <dependency>
517                         <groupId>com.ecwid.consul</groupId>
518                         <artifactId>consul-api</artifactId>
519                         <version>1.2.1</version>
520                 </dependency>
521                 <dependency>
522                         <groupId>com.orbitz.consul</groupId>
523                         <artifactId>consul-client</artifactId>
524                         <version>0.13.8</version>
525                 </dependency>
526                 <dependency>
527                         <groupId>commons-fileupload</groupId>
528                         <artifactId>commons-fileupload</artifactId>
529                         <version>1.3</version>
530                 </dependency>
531                 <dependency>
532                         <groupId>io.springfox</groupId>
533                         <artifactId>springfox-swagger2</artifactId>
534                         <version>2.7.0</version>
535                 </dependency>
536                 <dependency>
537                         <groupId>io.springfox</groupId>
538                         <artifactId>springfox-swagger-ui</artifactId>
539                         <version>2.7.0</version>
540                 </dependency>
541                 <!-- Schedulers required Libraries -->
542                 <dependency>
543                         <groupId>com.googlecode.json-simple</groupId>
544                         <artifactId>json-simple</artifactId>
545                         <version>1.1.1</version>
546                 </dependency>
547                 <dependency>
548                         <groupId>org.glassfish.jersey.core</groupId>
549                         <artifactId>jersey-client</artifactId>
550                         <version>2.23.1</version>
551                 </dependency>
552                 <dependency>
553                         <groupId>com.fasterxml.jackson.jaxrs</groupId>
554                         <artifactId>jackson-jaxrs-json-provider</artifactId>
555                         <version>2.6.3</version>
556                 </dependency>
557                 <dependency>
558                         <groupId>org.glassfish.jersey.connectors</groupId>
559                         <artifactId>jersey-jetty-connector</artifactId>
560                         <version>2.23.1</version>
561                 </dependency>
562                 <!-- Jacoco for offline instrumentation -->
563                 <dependency>
564                         <groupId>org.jacoco</groupId>
565                         <artifactId>org.jacoco.agent</artifactId>
566                         <version>${jacocoVersion}</version>
567                         <classifier>runtime</classifier>
568                 </dependency>
569         </dependencies>
570
571         <!-- No deployment descriptor. -->
572
573 </project>