Added Junits
[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                                 <exclusion>
176                                         <groupId>ch.qos.logback</groupId>
177                                         <artifactId>logback-classic</artifactId>
178                                 </exclusion>
179                         </exclusions>
180                 </dependency>
181                 <!-- Hibernate -->
182                 <dependency>
183                         <groupId>org.hibernate</groupId>
184                         <artifactId>hibernate-core</artifactId>
185                         <version>${hibernate.version}</version>
186                 </dependency>
187                 <dependency>
188                         <groupId>org.hibernate</groupId>
189                         <artifactId>hibernate-validator</artifactId>
190                         <version>5.1.3.Final</version>
191                 </dependency>
192                 <!-- hibernate-core depends on dom4j, which has optional dependencies. 
193                         On jenkins, contrary to doc, mvn 3.0.5 packages the optional dependencies 
194                         in the war. Workaround: exclude them explicitly. -->
195                 <dependency>
196                         <groupId>dom4j</groupId>
197                         <artifactId>dom4j</artifactId>
198                         <version>1.6.1</version>
199                         <exclusions>
200                                 <exclusion>
201                                         <groupId>jaxme</groupId>
202                                         <artifactId>jaxme-api</artifactId>
203                                 </exclusion>
204                                 <exclusion>
205                                         <groupId>jaxen</groupId>
206                                         <artifactId>jaxen</artifactId>
207                                 </exclusion>
208                                 <exclusion>
209                                         <groupId>msv</groupId>
210                                         <artifactId>xsdlib</artifactId>
211                                 </exclusion>
212                                 <exclusion>
213                                         <groupId>msv</groupId>
214                                         <artifactId>relaxngDatatype</artifactId>
215                                 </exclusion>
216                                 <exclusion>
217                                         <groupId>pull-parser</groupId>
218                                         <artifactId>pull-parser</artifactId>
219                                 </exclusion>
220                                 <exclusion>
221                                         <groupId>xpp3</groupId>
222                                         <artifactId>xpp3</artifactId>
223                                 </exclusion>
224                                 <exclusion>
225                                         <groupId>stax</groupId>
226                                         <artifactId>stax-api</artifactId>
227                                 </exclusion>
228                         </exclusions>
229                 </dependency>
230                 <!-- Servlet+JSP+JSTL -->
231                 <dependency>
232                         <groupId>javax.servlet</groupId>
233                         <artifactId>javax.servlet-api</artifactId>
234                         <version>3.1.0</version>
235                 </dependency>
236                 <dependency>
237                         <groupId>javax.servlet.jsp</groupId>
238                         <artifactId>javax.servlet.jsp-api</artifactId>
239                         <version>2.3.1</version>
240                 </dependency>
241                 <dependency>
242                 <groupId>org.apache.taglibs</groupId>
243                 <artifactId>taglibs-standard-spec</artifactId>
244                 <version>1.2.5</version>
245                 </dependency>
246                 <dependency>
247                 <groupId>org.apache.taglibs</groupId>
248                 <artifactId>taglibs-standard-impl</artifactId>
249                 <version>1.2.5</version>
250                 </dependency>
251                 <dependency>
252                 <groupId>org.apache.taglibs</groupId>
253                         <artifactId>taglibs-standard-jstlel</artifactId>
254                 <version>1.2.5</version>
255                 </dependency>
256                 <!-- Apache Tiles -->
257                 <dependency>
258                         <groupId>org.apache.tiles</groupId>
259                         <artifactId>tiles-core</artifactId>
260                         <version>3.0.5</version>
261                 </dependency>
262                 <dependency>
263                         <groupId>org.apache.tiles</groupId>
264                         <artifactId>tiles-jsp</artifactId>
265                         <version>3.0.5</version>
266                 </dependency>
267                 <dependency>
268                         <groupId>org.apache.cxf</groupId>
269                         <artifactId>cxf-rt-rs-client</artifactId>
270                         <version>3.0.0-milestone1</version>
271                 </dependency>
272                 <!-- Mapper -->
273                 <dependency>
274                         <groupId>com.fasterxml.jackson.core</groupId>
275                         <artifactId>jackson-annotations</artifactId>
276                         <version>${fasterxml.version}</version>
277                 </dependency>
278                 <dependency>
279                         <groupId>com.fasterxml.jackson.core</groupId>
280                         <artifactId>jackson-core</artifactId>
281                         <version>${fasterxml.version}</version>
282                 </dependency>
283                 <dependency>
284                         <groupId>com.fasterxml.jackson.core</groupId>
285                         <artifactId>jackson-databind</artifactId>
286                         <version>${fasterxml.version}</version>
287                 </dependency>
288                 <dependency>
289                         <groupId>postgresql</groupId>
290                         <artifactId>postgresql</artifactId>
291                         <version>9.1-901-1.jdbc4</version>
292                 </dependency>
293                 <!-- Elastic Search -->
294                 <dependency>
295                         <groupId>org.elasticsearch</groupId>
296                         <artifactId>elasticsearch</artifactId>
297                         <version>2.2.0</version>
298                 </dependency>
299                 <dependency>
300                         <groupId>io.searchbox</groupId>
301                         <artifactId>jest</artifactId>
302                         <version>2.0.0</version>
303                 </dependency>
304                 <dependency>
305                         <groupId>org.apache.jcs</groupId>
306                         <artifactId>jcs</artifactId>
307                         <version>1.3</version>
308                         <exclusions>
309                                 <exclusion>
310                                         <groupId>*</groupId>
311                                         <artifactId>*</artifactId>
312                                 </exclusion>
313                         </exclusions>
314                 </dependency>
315                 <dependency>
316                         <groupId>org.apache.tomcat</groupId>
317                         <artifactId>tomcat-websocket</artifactId>
318                         <version>8.0.28</version>
319                         <scope>provided</scope>
320                 </dependency>
321                 <dependency>
322                         <groupId>concurrent</groupId>
323                         <artifactId>concurrent</artifactId>
324                         <version>1.3.2</version>
325                         <exclusions>
326                                 <exclusion>
327                                         <groupId>*</groupId>
328                                         <artifactId>*</artifactId>
329                                 </exclusion>
330                         </exclusions>
331                 </dependency>
332                 <dependency>
333                         <groupId>commons-lang</groupId>
334                         <artifactId>commons-lang</artifactId>
335                         <version>2.6</version>
336                 </dependency>
337                 <!-- for generating excel/csv/excelx -->
338                 <dependency>
339                         <groupId>org.apache.poi</groupId>
340                         <artifactId>poi</artifactId>
341                         <version>3.5-FINAL</version>
342                         <exclusions>
343                                 <exclusion>
344                                         <groupId>commons-logging</groupId>
345                                         <artifactId>commons-logging</artifactId>
346                                 </exclusion>
347                                 <exclusion>
348                                         <groupId>log4j</groupId>
349                                         <artifactId>log4j</artifactId>
350                                 </exclusion>
351                         </exclusions>
352                 </dependency>
353                 <dependency>
354                         <groupId>org.apache.poi</groupId>
355                         <artifactId>poi-ooxml</artifactId>
356                         <version>3.5-FINAL</version>
357                         <exclusions>
358                                 <exclusion>
359                                         <groupId>commons-logging</groupId>
360                                         <artifactId>commons-logging</artifactId>
361                                 </exclusion>
362                                 <exclusion>
363                                         <groupId>log4j</groupId>
364                                         <artifactId>log4j</artifactId>
365                                 </exclusion>
366                         </exclusions>
367                 </dependency>
368                 <dependency>
369                         <groupId>org.apache.poi</groupId>
370                         <artifactId>poi-scratchpad</artifactId>
371                         <version>3.5-FINAL</version>
372                         <exclusions>
373                                 <exclusion>
374                                         <groupId>commons-logging</groupId>
375                                         <artifactId>commons-logging</artifactId>
376                                 </exclusion>
377                                 <exclusion>
378                                         <groupId>log4j</groupId>
379                                         <artifactId>log4j</artifactId>
380                                 </exclusion>
381                         </exclusions>
382                 </dependency>
383                 <dependency>
384                         <groupId>org.apache.poi</groupId>
385                         <artifactId>poi-contrib</artifactId>
386                         <version>3.5-FINAL</version>
387                         <exclusions>
388                                 <exclusion>
389                                         <groupId>commons-logging</groupId>
390                                         <artifactId>commons-logging</artifactId>
391                                 </exclusion>
392                                 <exclusion>
393                                         <groupId>log4j</groupId>
394                                         <artifactId>log4j</artifactId>
395                                 </exclusion>
396                         </exclusions>
397                 </dependency>
398                 <!-- for generating PDF -->
399                 <dependency>
400                         <groupId>com.lowagie</groupId>
401                         <artifactId>itext</artifactId>
402                         <version>2.0.8</version>
403                 </dependency>
404                 <!-- Quartz -->
405                 <dependency>
406                         <groupId>org.quartz-scheduler</groupId>
407                         <artifactId>quartz</artifactId>
408                         <version>2.2.1</version>
409                         <exclusions>
410                                 <!-- SDK brings a new version of c3p0 -->
411                                 <exclusion>
412                                         <groupId>c3p0</groupId>
413                                         <artifactId>c3p0</artifactId>
414                                 </exclusion>
415                         </exclusions>
416                 </dependency>
417                 <dependency>
418                         <groupId>org.bouncycastle</groupId>
419                         <artifactId>bcprov-jdk15on</artifactId>
420                         <version>1.59</version>
421                 </dependency>
422                 <dependency>
423                         <groupId>commons-codec</groupId>
424                         <artifactId>commons-codec</artifactId>
425                         <version>1.9</version>
426                 </dependency>
427                 <dependency>
428                         <groupId>com.att.nsa</groupId>
429                         <artifactId>cambriaClient</artifactId>
430                         <version>0.0.1</version>
431                         <exclusions>
432                                 <exclusion>
433                                         <groupId>commons-logging</groupId>
434                                         <artifactId>commons-logging</artifactId>
435                                 </exclusion>
436                                 <exclusion>
437                                         <groupId>log4j</groupId>
438                                         <artifactId>log4j</artifactId>
439                                 </exclusion>
440                                 <exclusion>
441                                         <groupId>log4j</groupId>
442                                         <artifactId>apache-log4j-extras</artifactId>
443                                 </exclusion>
444                                 <exclusion>
445                                         <groupId>org.slf4j</groupId>
446                                         <artifactId>slf4j-log4j12</artifactId>
447                                 </exclusion>
448                         </exclusions>
449                 </dependency>
450                 <dependency>
451                         <groupId>org.onap.portal.sdk</groupId>
452                         <artifactId>epsdk-fw</artifactId>
453                         <version>${epsdk.version}</version>
454                         <exclusions>
455                                 <exclusion>
456                                         <groupId>commons-logging</groupId>
457                                         <artifactId>commons-logging</artifactId>
458                                 </exclusion>
459                                 <exclusion>
460                                         <groupId>log4j</groupId>
461                                         <artifactId>log4j</artifactId>
462                                 </exclusion>
463                                 <exclusion>
464                                         <groupId>log4j</groupId>
465                                         <artifactId>apache-log4j-extras</artifactId>
466                                 </exclusion>
467                                 <exclusion>
468                                         <groupId>org.slf4j</groupId>
469                                         <artifactId>slf4j-log4j12</artifactId>
470                                 </exclusion>
471                         </exclusions>
472                 </dependency>
473                 <dependency>
474                         <groupId>org.onap.portal.sdk</groupId>
475                         <artifactId>epsdk-core</artifactId>
476                         <version>${epsdk.version}</version>
477                         <exclusions>
478                                 <exclusion>
479                                         <groupId>mysql</groupId>
480                                         <artifactId>mysql-connector-java</artifactId>
481                                 </exclusion>
482                         </exclusions>
483                 </dependency>
484                 <dependency>
485                         <groupId>org.onap.portal.sdk</groupId>
486                         <artifactId>epsdk-app-common</artifactId>
487                         <version>${epsdk.version}</version>
488                          <exclusions>
489                                 <exclusion>
490                         <groupId>commons-beanutils</groupId>
491                         <artifactId>commons-beanutils-core</artifactId>
492                  </exclusion>
493               </exclusions>
494                 </dependency>
495                 <dependency>
496                         <groupId>org.onap.portal.sdk</groupId>
497                         <artifactId>epsdk-workflow</artifactId>
498                         <version>${epsdk.version}</version>
499                 </dependency>
500                 <!-- Raptor required Libraries -->
501                 <!-- for static charts -->
502                 <dependency>
503                         <groupId>org.onap.portal.sdk</groupId>
504                         <artifactId>epsdk-analytics</artifactId>
505                         <version>${epsdk.version}</version>
506                 </dependency>
507                 <!-- Referenced by some poms and needed for testing; do NOT use "test" 
508                         scope here. -->
509                 <dependency>
510                         <groupId>org.apache.httpcomponents</groupId>
511                         <artifactId>httpclient</artifactId>
512                         <version>4.5.2</version>
513                 </dependency>
514                 <!-- for testing -->
515                 <dependency>
516                         <groupId>junit</groupId>
517                         <artifactId>junit</artifactId>
518                         <version>4.11</version>
519                         <scope>test</scope>
520                 </dependency>
521                 <dependency>
522                         <groupId>org.powermock</groupId>
523                         <artifactId>powermock-api-mockito</artifactId>
524                         <version>1.6.1</version>
525                 </dependency>
526                 <dependency>
527                         <groupId>org.powermock</groupId>
528                         <artifactId>powermock-core</artifactId>
529                         <version>1.6.1</version>
530                 </dependency>
531                 <dependency>
532                         <groupId>org.powermock</groupId>
533                         <artifactId>powermock-module-junit4</artifactId>
534                         <version>1.6.1</version>
535                 </dependency>
536                 <dependency>
537                         <groupId>org.mockito</groupId>
538                         <artifactId>mockito-core</artifactId>
539                         <version>1.8.5</version>
540                 </dependency>
541                 <dependency>
542                         <groupId>commons-beanutils</groupId>
543                         <artifactId>commons-beanutils</artifactId>
544                         <version>1.9.2</version>
545                 </dependency>
546                 <dependency>
547                         <groupId>com.ecwid.consul</groupId>
548                         <artifactId>consul-api</artifactId>
549                         <version>1.2.1</version>
550                 </dependency>
551                 <dependency>
552                         <groupId>com.orbitz.consul</groupId>
553                         <artifactId>consul-client</artifactId>
554                         <version>0.13.8</version>
555                 </dependency>
556                 <dependency>
557                         <groupId>commons-fileupload</groupId>
558                         <artifactId>commons-fileupload</artifactId>
559                         <version>1.3</version>
560                 </dependency>
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                 <!-- Schedulers required Libraries -->
572                 <dependency>
573                         <groupId>com.googlecode.json-simple</groupId>
574                         <artifactId>json-simple</artifactId>
575                         <version>1.1.1</version>
576                 </dependency>
577                 <dependency>
578                         <groupId>org.glassfish.jersey.core</groupId>
579                         <artifactId>jersey-client</artifactId>
580                         <version>2.23.1</version>
581                 </dependency>
582                 <dependency>
583                         <groupId>com.fasterxml.jackson.jaxrs</groupId>
584                         <artifactId>jackson-jaxrs-json-provider</artifactId>
585                         <version>2.6.3</version>
586                 </dependency>
587                 <dependency>
588                         <groupId>org.glassfish.jersey.connectors</groupId>
589                         <artifactId>jersey-jetty-connector</artifactId>
590                         <version>2.23.1</version>
591                 </dependency>
592                 <!-- Jacoco for offline instrumentation -->
593                 <dependency>
594                         <groupId>org.jacoco</groupId>
595                         <artifactId>org.jacoco.agent</artifactId>
596                         <version>${jacocoVersion}</version>
597                         <classifier>runtime</classifier>
598                 </dependency>
599                 <dependency>
600              <groupId>org.owasp.esapi</groupId>
601              <artifactId>esapi</artifactId>
602              <version>2.1.0.1</version>
603              <exclusions>
604                                 <exclusion>
605                         <groupId>commons-beanutils</groupId>
606                         <artifactId>commons-beanutils-core</artifactId>
607                  </exclusion>
608               </exclusions>
609         </dependency>
610         <dependency>
611                     <groupId>org.springframework.security</groupId>
612                     <artifactId>spring-security-core</artifactId>
613                     <version>${springframework.version}</version>
614             </dependency>
615             <dependency>
616                 <groupId>org.springframework.security</groupId>
617                 <artifactId>spring-security-web</artifactId>
618                 <version>${springframework.version}</version>
619         </dependency>
620             <dependency>
621                     <groupId>org.springframework.security</groupId>
622                     <artifactId>spring-security-config</artifactId>
623                     <version>${springframework.version}</version>
624             </dependency>
625                 
626         </dependencies>
627         
628         
629
630 </project>