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