Enable sonar code coverage with oparent
[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
117                 <!-- Spring -->
118                 <dependency>
119                         <groupId>org.springframework</groupId>
120                         <artifactId>spring-core</artifactId>
121                         <version>${springframework.version}</version>
122                 </dependency>
123                 <dependency>
124                         <groupId>org.springframework</groupId>
125                         <artifactId>spring-web</artifactId>
126                         <version>${springframework.version}</version>
127                 </dependency>
128                 <dependency>
129                         <groupId>org.springframework</groupId>
130                         <artifactId>spring-webmvc</artifactId>
131                         <version>${springframework.version}</version>
132                 </dependency>
133                 <dependency>
134                         <groupId>org.springframework</groupId>
135                         <artifactId>spring-tx</artifactId>
136                         <version>${springframework.version}</version>
137                 </dependency>
138                 <dependency>
139                         <groupId>org.springframework</groupId>
140                         <artifactId>spring-context-support</artifactId>
141                         <version>${springframework.version}</version>
142                 </dependency>
143                 <dependency>
144                         <groupId>org.springframework</groupId>
145                         <artifactId>spring-orm</artifactId>
146                         <version>${springframework.version}</version>
147                 </dependency>
148                 <dependency>
149                         <groupId>org.springframework</groupId>
150                         <artifactId>spring-test</artifactId>
151                         <version>${springframework.version}</version>
152                 </dependency>
153                 <dependency>
154                         <groupId>org.springframework.boot</groupId>
155                         <artifactId>spring-boot-starter</artifactId>
156                         <version>1.3.0.RELEASE</version>
157                         <exclusions>
158                                 <exclusion>
159                                         <groupId>org.slf4j</groupId>
160                                         <artifactId>log4j-over-slf4j</artifactId>
161                                 </exclusion>
162                                 <exclusion>
163                                         <groupId>ch.qos.logback</groupId>
164                                         <artifactId>logback-classic</artifactId>
165                                 </exclusion>
166                         </exclusions>
167                 </dependency>
168
169                 <!-- Hibernate -->
170                 <dependency>
171                         <groupId>org.hibernate</groupId>
172                         <artifactId>hibernate-core</artifactId>
173                         <version>${hibernate.version}</version>
174                 </dependency>
175                 <dependency>
176                         <groupId>org.hibernate</groupId>
177                         <artifactId>hibernate-validator</artifactId>
178                         <version>5.1.3.Final</version>
179                 </dependency>
180
181                 <!-- hibernate-core depends on dom4j, which has optional dependencies. 
182                         On jenkins, contrary to doc, mvn 3.0.5 packages the optional dependencies 
183                         in the war. Workaround: exclude them explicitly. -->
184                 <dependency>
185                         <groupId>dom4j</groupId>
186                         <artifactId>dom4j</artifactId>
187                         <version>1.6.1</version>
188                         <exclusions>
189                                 <exclusion>
190                                         <groupId>jaxme</groupId>
191                                         <artifactId>jaxme-api</artifactId>
192                                 </exclusion>
193                                 <exclusion>
194                                         <groupId>jaxen</groupId>
195                                         <artifactId>jaxen</artifactId>
196                                 </exclusion>
197                                 <exclusion>
198                                         <groupId>msv</groupId>
199                                         <artifactId>xsdlib</artifactId>
200                                 </exclusion>
201                                 <exclusion>
202                                         <groupId>msv</groupId>
203                                         <artifactId>relaxngDatatype</artifactId>
204                                 </exclusion>
205                                 <exclusion>
206                                         <groupId>pull-parser</groupId>
207                                         <artifactId>pull-parser</artifactId>
208                                 </exclusion>
209                                 <exclusion>
210                                         <groupId>xpp3</groupId>
211                                         <artifactId>xpp3</artifactId>
212                                 </exclusion>
213                                 <exclusion>
214                                         <groupId>stax</groupId>
215                                         <artifactId>stax-api</artifactId>
216                                 </exclusion>
217                         </exclusions>
218                 </dependency>
219
220                 <!-- Servlet+JSP+JSTL -->
221                 <dependency>
222                         <groupId>javax.servlet</groupId>
223                         <artifactId>javax.servlet-api</artifactId>
224                         <version>3.1.0</version>
225                 </dependency>
226                 <dependency>
227                         <groupId>javax.servlet.jsp</groupId>
228                         <artifactId>javax.servlet.jsp-api</artifactId>
229                         <version>2.3.1</version>
230                 </dependency>
231                 <dependency>
232                         <groupId>javax.servlet</groupId>
233                         <artifactId>jstl</artifactId>
234                         <version>1.2</version>
235                 </dependency>
236
237                 <!-- Oracle JDBC driver -->
238                 <!-- <dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc6</artifactId> 
239                         <version>11.2.0.4</version> </dependency> -->
240                 <!-- Apache Tiles -->
241                 <dependency>
242                         <groupId>org.apache.tiles</groupId>
243                         <artifactId>tiles-core</artifactId>
244                         <version>3.0.5</version>
245                 </dependency>
246                 <dependency>
247                         <groupId>org.apache.tiles</groupId>
248                         <artifactId>tiles-jsp</artifactId>
249                         <version>3.0.5</version>
250                 </dependency>
251                 <dependency>
252                         <groupId>org.apache.cxf</groupId>
253                         <artifactId>cxf-rt-rs-client</artifactId>
254                         <version>3.0.0-milestone1</version>
255                 </dependency>
256
257                 <!-- Mapper -->
258                 <dependency>
259                         <groupId>com.fasterxml.jackson.core</groupId>
260                         <artifactId>jackson-annotations</artifactId>
261                         <version>${fasterxml.version}</version>
262                 </dependency>
263                 <dependency>
264                         <groupId>com.fasterxml.jackson.core</groupId>
265                         <artifactId>jackson-core</artifactId>
266                         <version>${fasterxml.version}</version>
267                 </dependency>
268                 <dependency>
269                         <groupId>com.fasterxml.jackson.core</groupId>
270                         <artifactId>jackson-databind</artifactId>
271                         <version>${fasterxml.version}</version>
272                 </dependency>
273
274                 <dependency>
275                         <groupId>postgresql</groupId>
276                         <artifactId>postgresql</artifactId>
277                         <version>9.1-901-1.jdbc4</version>
278                 </dependency>
279
280                 <!-- Elastic Search -->
281                 <dependency>
282                         <groupId>org.elasticsearch</groupId>
283                         <artifactId>elasticsearch</artifactId>
284                         <version>2.2.0</version>
285                 </dependency>
286                 <dependency>
287                         <groupId>io.searchbox</groupId>
288                         <artifactId>jest</artifactId>
289                         <version>2.0.0</version>
290                 </dependency>
291
292                 <dependency>
293                         <groupId>org.apache.jcs</groupId>
294                         <artifactId>jcs</artifactId>
295                         <version>1.3</version>
296                         <exclusions>
297                                 <exclusion>
298                                         <groupId>*</groupId>
299                                         <artifactId>*</artifactId>
300                                 </exclusion>
301                         </exclusions>
302                         <!-- -->
303                 </dependency>
304
305                 <dependency>
306                         <groupId>org.apache.tomcat</groupId>
307                         <artifactId>tomcat-websocket</artifactId>
308                         <version>8.0.28</version>
309                         <scope>provided</scope>
310                 </dependency>
311
312                 <dependency>
313                         <groupId>concurrent</groupId>
314                         <artifactId>concurrent</artifactId>
315                         <version>1.3.2</version>
316                         <exclusions>
317                                 <exclusion>
318                                         <groupId>*</groupId>
319                                         <artifactId>*</artifactId>
320                                 </exclusion>
321                         </exclusions>
322                 </dependency>
323
324
325                 <dependency>
326                         <groupId>commons-lang</groupId>
327                         <artifactId>commons-lang</artifactId>
328                         <version>2.6</version>
329                 </dependency>
330                 <!-- for generating excel/csv/excelx -->
331                 <dependency>
332                         <groupId>org.apache.poi</groupId>
333                         <artifactId>poi</artifactId>
334                         <version>3.5-FINAL</version>
335                         <exclusions>
336                                 <exclusion>
337                                         <groupId>commons-logging</groupId>
338                                         <artifactId>commons-logging</artifactId>
339                                 </exclusion>
340                                 <exclusion>
341                                         <groupId>log4j</groupId>
342                                         <artifactId>log4j</artifactId>
343                                 </exclusion>
344                         </exclusions>
345                 </dependency>
346                 <dependency>
347                         <groupId>org.apache.poi</groupId>
348                         <artifactId>poi-ooxml</artifactId>
349                         <version>3.5-FINAL</version>
350                         <exclusions>
351                                 <exclusion>
352                                         <groupId>commons-logging</groupId>
353                                         <artifactId>commons-logging</artifactId>
354                                 </exclusion>
355                                 <exclusion>
356                                         <groupId>log4j</groupId>
357                                         <artifactId>log4j</artifactId>
358                                 </exclusion>
359                         </exclusions>
360                 </dependency>
361                 <dependency>
362                         <groupId>org.apache.poi</groupId>
363                         <artifactId>poi-scratchpad</artifactId>
364                         <version>3.5-FINAL</version>
365                         <exclusions>
366                                 <exclusion>
367                                         <groupId>commons-logging</groupId>
368                                         <artifactId>commons-logging</artifactId>
369                                 </exclusion>
370                                 <exclusion>
371                                         <groupId>log4j</groupId>
372                                         <artifactId>log4j</artifactId>
373                                 </exclusion>
374                         </exclusions>
375                 </dependency>
376                 <dependency>
377                         <groupId>org.apache.poi</groupId>
378                         <artifactId>poi-contrib</artifactId>
379                         <version>3.5-FINAL</version>
380                         <exclusions>
381                                 <exclusion>
382                                         <groupId>commons-logging</groupId>
383                                         <artifactId>commons-logging</artifactId>
384                                 </exclusion>
385                                 <exclusion>
386                                         <groupId>log4j</groupId>
387                                         <artifactId>log4j</artifactId>
388                                 </exclusion>
389                         </exclusions>
390                 </dependency>
391
392                 <!-- for generating PDF -->
393                 <dependency>
394                         <groupId>com.lowagie</groupId>
395                         <artifactId>itext</artifactId>
396                         <version>2.0.8</version>
397                 </dependency>
398                 <!-- Quartz -->
399                 <dependency>
400                         <groupId>org.quartz-scheduler</groupId>
401                         <artifactId>quartz</artifactId>
402                         <version>2.2.1</version>
403                         <exclusions>
404                                 <!-- SDK brings a new version of c3p0 -->
405                                 <exclusion>
406                                         <groupId>c3p0</groupId>
407                                         <artifactId>c3p0</artifactId>
408                                 </exclusion>
409                         </exclusions>
410                 </dependency>
411
412                 <dependency>
413                         <groupId>org.bouncycastle</groupId>
414                         <artifactId>bcprov-jdk16</artifactId>
415                         <version>1.45</version>
416                 </dependency>
417
418                 <dependency>
419                         <groupId>commons-codec</groupId>
420                         <artifactId>commons-codec</artifactId>
421                         <version>1.9</version>
422                 </dependency>
423
424                 <dependency>
425                         <groupId>com.att.nsa</groupId>
426                         <artifactId>cambriaClient</artifactId>
427                         <version>0.0.1</version>
428                         <exclusions>
429                                 <exclusion>
430                                         <groupId>commons-logging</groupId>
431                                         <artifactId>commons-logging</artifactId>
432                                 </exclusion>
433                                 <exclusion>
434                                         <groupId>log4j</groupId>
435                                         <artifactId>log4j</artifactId>
436                                 </exclusion>
437                                 <exclusion>
438                                         <groupId>log4j</groupId>
439                                         <artifactId>apache-log4j-extras</artifactId>
440                                 </exclusion>
441                                 <exclusion>
442                                         <groupId>org.slf4j</groupId>
443                                         <artifactId>slf4j-log4j12</artifactId>
444                                 </exclusion>
445                         </exclusions>
446                 </dependency>
447
448                 <dependency>
449                         <groupId>org.onap.portal.sdk</groupId>
450                         <artifactId>epsdk-fw</artifactId>
451                         <version>${epsdk.version}</version>
452                         <exclusions>
453                                 <exclusion>
454                                         <groupId>commons-logging</groupId>
455                                         <artifactId>commons-logging</artifactId>
456                                 </exclusion>
457                                 <exclusion>
458                                         <groupId>log4j</groupId>
459                                         <artifactId>log4j</artifactId>
460                                 </exclusion>
461                                 <exclusion>
462                                         <groupId>log4j</groupId>
463                                         <artifactId>apache-log4j-extras</artifactId>
464                                 </exclusion>
465                                 <exclusion>
466                                         <groupId>org.slf4j</groupId>
467                                         <artifactId>slf4j-log4j12</artifactId>
468                                 </exclusion>
469                         </exclusions>
470                 </dependency>
471                 <dependency>
472                         <groupId>org.onap.portal.sdk</groupId>
473                         <artifactId>epsdk-core</artifactId>
474                         <version>${epsdk.version}</version>
475                         <exclusions>
476                                 <exclusion>
477                                         <groupId>mysql</groupId>
478                                         <artifactId>mysql-connector-java</artifactId>
479                                 </exclusion>
480                         </exclusions>
481                 </dependency>
482                 <dependency>
483                         <groupId>org.onap.portal.sdk</groupId>
484                         <artifactId>epsdk-app-common</artifactId>
485                         <version>${epsdk.version}</version>
486                 </dependency>
487                 <dependency>
488                         <groupId>org.onap.portal.sdk</groupId>
489                         <artifactId>epsdk-workflow</artifactId>
490                         <version>${epsdk.version}</version>
491                 </dependency>
492
493                 <!-- Raptor required Libraries -->
494                 <!-- for static charts -->
495                 <dependency>
496                         <groupId>org.onap.portal.sdk</groupId>
497                         <artifactId>epsdk-analytics</artifactId>
498                         <version>${epsdk.version}</version>
499                 </dependency>
500
501                 <!-- Referenced by some poms and needed for testing; do NOT use "test" 
502                         scope here. -->
503                 <dependency>
504                         <groupId>org.apache.httpcomponents</groupId>
505                         <artifactId>httpclient</artifactId>
506                         <version>4.5.2</version>
507                 </dependency>
508
509                 <!-- for testing -->
510                 <dependency>
511                         <groupId>junit</groupId>
512                         <artifactId>junit</artifactId>
513                         <version>4.11</version>
514                         <scope>test</scope>
515                 </dependency>
516                 <dependency>
517                         <groupId>org.powermock</groupId>
518                         <artifactId>powermock-api-mockito</artifactId>
519                         <version>1.6.1</version>
520                 </dependency>
521                 <dependency>
522                         <groupId>org.powermock</groupId>
523                         <artifactId>powermock-core</artifactId>
524                         <version>1.6.1</version>
525                 </dependency>
526                 <dependency>
527                         <groupId>org.powermock</groupId>
528                         <artifactId>powermock-module-junit4</artifactId>
529                         <version>1.6.1</version>
530                 </dependency>
531                 <dependency>
532                         <groupId>org.mockito</groupId>
533                         <artifactId>mockito-core</artifactId>
534                         <version>1.8.5</version>
535                 </dependency>
536
537                 <dependency>
538                         <groupId>commons-beanutils</groupId>
539                         <artifactId>commons-beanutils</artifactId>
540                         <version>1.9.2</version>
541                 </dependency>
542
543                 <dependency>
544                         <groupId>com.ecwid.consul</groupId>
545                         <artifactId>consul-api</artifactId>
546                         <version>1.2.1</version>
547                 </dependency>
548
549                 <dependency>
550                         <groupId>com.orbitz.consul</groupId>
551                         <artifactId>consul-client</artifactId>
552                         <version>0.13.8</version>
553                 </dependency>
554
555                 <dependency>
556                         <groupId>commons-fileupload</groupId>
557                         <artifactId>commons-fileupload</artifactId>
558                         <version>1.3</version>
559                 </dependency>
560
561                 <dependency>
562                         <groupId>io.springfox</groupId>
563                         <artifactId>springfox-swagger2</artifactId>
564                         <version>2.7.0</version>
565                 </dependency>
566                 <dependency>
567                         <groupId>io.springfox</groupId>
568                         <artifactId>springfox-swagger-ui</artifactId>
569                         <version>2.7.0</version>
570                 </dependency>
571
572                 <!-- Schedulers required Libraries -->
573
574                 <dependency>
575                         <groupId>com.googlecode.json-simple</groupId>
576                         <artifactId>json-simple</artifactId>
577                         <version>1.1.1</version>
578                 </dependency>
579                 <dependency>
580                         <groupId>org.glassfish.jersey.core</groupId>
581                         <artifactId>jersey-client</artifactId>
582                         <version>2.23.1</version>
583                 </dependency>
584                 <dependency>
585                         <groupId>com.fasterxml.jackson.jaxrs</groupId>
586                         <artifactId>jackson-jaxrs-json-provider</artifactId>
587                         <version>2.6.3</version>
588                 </dependency>
589                 <dependency>
590                         <groupId>org.glassfish.jersey.connectors</groupId>
591                         <artifactId>jersey-jetty-connector</artifactId>
592                         <version>2.23.1</version>
593                 </dependency>
594         </dependencies>
595
596         <!-- No deployment descriptor. -->
597
598 </project>