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                         </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                 </dependency>
295                 <dependency>
296                         <groupId>io.searchbox</groupId>
297                         <artifactId>jest</artifactId>
298                         <version>2.0.0</version>
299                 </dependency>
300                 <dependency>
301                         <groupId>org.apache.jcs</groupId>
302                         <artifactId>jcs</artifactId>
303                         <version>1.3</version>
304                         <exclusions>
305                                 <exclusion>
306                                         <groupId>*</groupId>
307                                         <artifactId>*</artifactId>
308                                 </exclusion>
309                         </exclusions>
310                 </dependency>
311                 <dependency>
312                         <groupId>org.apache.tomcat</groupId>
313                         <artifactId>tomcat-websocket</artifactId>
314                         <version>8.0.28</version>
315                         <scope>provided</scope>
316                 </dependency>
317                 <dependency>
318                         <groupId>concurrent</groupId>
319                         <artifactId>concurrent</artifactId>
320                         <version>1.3.2</version>
321                         <exclusions>
322                                 <exclusion>
323                                         <groupId>*</groupId>
324                                         <artifactId>*</artifactId>
325                                 </exclusion>
326                         </exclusions>
327                 </dependency>
328                 <dependency>
329                         <groupId>commons-lang</groupId>
330                         <artifactId>commons-lang</artifactId>
331                         <version>2.6</version>
332                 </dependency>
333                 <!-- for generating excel/csv/excelx -->
334                 <dependency>
335                         <groupId>org.apache.poi</groupId>
336                         <artifactId>poi</artifactId>
337                         <version>3.17</version>
338                         <exclusions>
339                                 <exclusion>
340                                         <groupId>commons-logging</groupId>
341                                         <artifactId>commons-logging</artifactId>
342                                 </exclusion>
343                                 <exclusion>
344                                         <groupId>log4j</groupId>
345                                         <artifactId>log4j</artifactId>
346                                 </exclusion>
347                         </exclusions>
348                 </dependency>
349                 <dependency>
350                         <groupId>org.apache.poi</groupId>
351                         <artifactId>poi-ooxml</artifactId>
352                         <version>3.17</version>
353                         <exclusions>
354                                 <exclusion>
355                                         <groupId>commons-logging</groupId>
356                                         <artifactId>commons-logging</artifactId>
357                                 </exclusion>
358                                 <exclusion>
359                                         <groupId>log4j</groupId>
360                                         <artifactId>log4j</artifactId>
361                                 </exclusion>
362                         </exclusions>
363                 </dependency>
364                 <dependency>
365                         <groupId>org.apache.poi</groupId>
366                         <artifactId>poi-scratchpad</artifactId>
367                         <version>3.5-FINAL</version>
368                         <exclusions>
369                                 <exclusion>
370                                         <groupId>commons-logging</groupId>
371                                         <artifactId>commons-logging</artifactId>
372                                 </exclusion>
373                                 <exclusion>
374                                         <groupId>log4j</groupId>
375                                         <artifactId>log4j</artifactId>
376                                 </exclusion>
377                         </exclusions>
378                 </dependency>
379                 <dependency>
380                         <groupId>org.apache.poi</groupId>
381                         <artifactId>poi-contrib</artifactId>
382                         <version>3.5-FINAL</version>
383                         <exclusions>
384                                 <exclusion>
385                                         <groupId>commons-logging</groupId>
386                                         <artifactId>commons-logging</artifactId>
387                                 </exclusion>
388                                 <exclusion>
389                                         <groupId>log4j</groupId>
390                                         <artifactId>log4j</artifactId>
391                                 </exclusion>
392                         </exclusions>
393                 </dependency>
394                 <!-- for generating PDF -->
395                 <dependency>
396                         <groupId>com.lowagie</groupId>
397                         <artifactId>itext</artifactId>
398                         <version>2.0.8</version>
399                 </dependency>
400                 <!-- Quartz -->
401                 <dependency>
402                         <groupId>org.quartz-scheduler</groupId>
403                         <artifactId>quartz</artifactId>
404                         <version>2.2.1</version>
405                         <exclusions>
406                                 <!-- SDK brings a new version of c3p0 -->
407                                 <exclusion>
408                                         <groupId>c3p0</groupId>
409                                         <artifactId>c3p0</artifactId>
410                                 </exclusion>
411                         </exclusions>
412                 </dependency>
413                 <dependency>
414                         <groupId>org.bouncycastle</groupId>
415                         <artifactId>bcprov-jdk15on</artifactId>
416                         <version>1.59</version>
417                 </dependency>
418                 <dependency>
419                         <groupId>commons-codec</groupId>
420                         <artifactId>commons-codec</artifactId>
421                         <version>1.9</version>
422                 </dependency>
423                 <dependency>
424                         <groupId>com.att.nsa</groupId>
425                         <artifactId>cambriaClient</artifactId>
426                         <version>0.0.1</version>
427                         <exclusions>
428                                 <exclusion>
429                                         <groupId>commons-logging</groupId>
430                                         <artifactId>commons-logging</artifactId>
431                                 </exclusion>
432                                 <exclusion>
433                                         <groupId>log4j</groupId>
434                                         <artifactId>log4j</artifactId>
435                                 </exclusion>
436                                 <exclusion>
437                                         <groupId>log4j</groupId>
438                                         <artifactId>apache-log4j-extras</artifactId>
439                                 </exclusion>
440                                 <exclusion>
441                                         <groupId>org.slf4j</groupId>
442                                         <artifactId>slf4j-log4j12</artifactId>
443                                 </exclusion>
444                         </exclusions>
445                 </dependency>
446                 <dependency>
447                         <groupId>org.onap.portal.sdk</groupId>
448                         <artifactId>epsdk-fw</artifactId>
449                         <version>${epsdk.version}</version>
450                         <exclusions>
451                                 <exclusion>
452                                         <groupId>commons-logging</groupId>
453                                         <artifactId>commons-logging</artifactId>
454                                 </exclusion>
455                                 <exclusion>
456                                         <groupId>log4j</groupId>
457                                         <artifactId>log4j</artifactId>
458                                 </exclusion>
459                                 <exclusion>
460                                         <groupId>log4j</groupId>
461                                         <artifactId>apache-log4j-extras</artifactId>
462                                 </exclusion>
463                                 <exclusion>
464                                         <groupId>org.slf4j</groupId>
465                                         <artifactId>slf4j-log4j12</artifactId>
466                                 </exclusion>
467                         </exclusions>
468                 </dependency>
469                 <dependency>
470                         <groupId>org.onap.portal.sdk</groupId>
471                         <artifactId>epsdk-core</artifactId>
472                         <version>${epsdk.version}</version>
473                         <exclusions>
474                                 <exclusion>
475                                         <groupId>mysql</groupId>
476                                         <artifactId>mysql-connector-java</artifactId>
477                                 </exclusion>
478                         </exclusions>
479                 </dependency>
480                 <dependency>
481                         <groupId>org.onap.portal.sdk</groupId>
482                         <artifactId>epsdk-app-common</artifactId>
483                         <version>${epsdk.version}</version>
484                          <exclusions>
485                                 <exclusion>
486                         <groupId>commons-beanutils</groupId>
487                         <artifactId>commons-beanutils-core</artifactId>
488                  </exclusion>
489               </exclusions>
490                 </dependency>
491                 <dependency>
492                         <groupId>org.onap.portal.sdk</groupId>
493                         <artifactId>epsdk-workflow</artifactId>
494                         <version>${epsdk.version}</version>
495                 </dependency>
496                 <!-- Raptor required Libraries -->
497                 <!-- for static charts -->
498                 <dependency>
499                         <groupId>org.onap.portal.sdk</groupId>
500                         <artifactId>epsdk-analytics</artifactId>
501                         <version>${epsdk.version}</version>
502                 </dependency>
503                 <!-- Referenced by some poms and needed for testing; do NOT use "test" 
504                         scope here. -->
505                 <dependency>
506                         <groupId>org.apache.httpcomponents</groupId>
507                         <artifactId>httpclient</artifactId>
508                         <version>4.5.2</version>
509                 </dependency>
510                 <!-- for testing -->
511                 <dependency>
512                         <groupId>junit</groupId>
513                         <artifactId>junit</artifactId>
514                         <version>4.11</version>
515                         <scope>test</scope>
516                 </dependency>
517                 <dependency>
518                         <groupId>org.powermock</groupId>
519                         <artifactId>powermock-api-mockito</artifactId>
520                         <version>1.6.1</version>
521                 </dependency>
522                 <dependency>
523                         <groupId>org.powermock</groupId>
524                         <artifactId>powermock-core</artifactId>
525                         <version>1.6.1</version>
526                 </dependency>
527                 <dependency>
528                         <groupId>org.powermock</groupId>
529                         <artifactId>powermock-module-junit4</artifactId>
530                         <version>1.6.1</version>
531                 </dependency>
532                 <dependency>
533                         <groupId>org.mockito</groupId>
534                         <artifactId>mockito-core</artifactId>
535                         <version>1.8.5</version>
536                 </dependency>
537                 <dependency>
538                         <groupId>commons-beanutils</groupId>
539                         <artifactId>commons-beanutils</artifactId>
540                         <version>1.9.2</version>
541                 </dependency>
542                 <dependency>
543                         <groupId>com.ecwid.consul</groupId>
544                         <artifactId>consul-api</artifactId>
545                         <version>1.2.1</version>
546                 </dependency>
547                 <dependency>
548                         <groupId>com.orbitz.consul</groupId>
549                         <artifactId>consul-client</artifactId>
550                         <version>0.13.8</version>
551                 </dependency>
552                 <dependency>
553                         <groupId>commons-fileupload</groupId>
554                         <artifactId>commons-fileupload</artifactId>
555                         <version>1.3.3</version>
556                 </dependency>
557                 <dependency>
558                         <groupId>io.springfox</groupId>
559                         <artifactId>springfox-swagger2</artifactId>
560                         <version>2.7.0</version>
561                 </dependency>
562                 <dependency>
563                         <groupId>io.springfox</groupId>
564                         <artifactId>springfox-swagger-ui</artifactId>
565                         <version>2.7.0</version>
566                 </dependency>
567                 <!-- Schedulers required Libraries -->
568                 <dependency>
569                         <groupId>com.googlecode.json-simple</groupId>
570                         <artifactId>json-simple</artifactId>
571                         <version>1.1.1</version>
572                 </dependency>
573                 <dependency>
574                         <groupId>org.glassfish.jersey.core</groupId>
575                         <artifactId>jersey-client</artifactId>
576                         <version>2.23.1</version>
577                 </dependency>
578                 <dependency>
579                         <groupId>com.fasterxml.jackson.jaxrs</groupId>
580                         <artifactId>jackson-jaxrs-json-provider</artifactId>
581                         <version>2.9.2</version>
582                 </dependency>
583                 <dependency>
584                         <groupId>org.glassfish.jersey.connectors</groupId>
585                         <artifactId>jersey-jetty-connector</artifactId>
586                         <version>2.23.1</version>
587                 </dependency>
588                 <!-- Jacoco for offline instrumentation -->
589                 <dependency>
590                         <groupId>org.jacoco</groupId>
591                         <artifactId>org.jacoco.agent</artifactId>
592                         <version>${jacocoVersion}</version>
593                         <classifier>runtime</classifier>
594                 </dependency>
595                 <dependency>
596              <groupId>org.owasp.esapi</groupId>
597              <artifactId>esapi</artifactId>
598              <version>2.1.0.1</version>
599              <exclusions>
600                                 <exclusion>
601                         <groupId>commons-beanutils</groupId>
602                         <artifactId>commons-beanutils-core</artifactId>
603                  </exclusion>
604               </exclusions>
605         </dependency>
606         <dependency>
607                     <groupId>org.springframework.security</groupId>
608                     <artifactId>spring-security-core</artifactId>
609                     <version>${springframework.version}</version>
610             </dependency>
611             <dependency>
612                 <groupId>org.springframework.security</groupId>
613                 <artifactId>spring-security-web</artifactId>
614                 <version>${springframework.version}</version>
615         </dependency>
616             <dependency>
617                     <groupId>org.springframework.security</groupId>
618                     <artifactId>spring-security-config</artifactId>
619                     <version>${springframework.version}</version>
620             </dependency>
621                 <dependency>
622                 <groupId>org.apache.lucene</groupId>
623                 <artifactId>lucene-queryparser</artifactId>
624                 <version>7.2.1</version>
625                 </dependency>
626                 <dependency>
627                 <groupId>com.thoughtworks.xstream</groupId>
628                 <artifactId>xstream</artifactId>
629                 <version>1.4.10</version>
630                 </dependency>
631                 <dependency>
632                 <groupId>org.apache.wicket</groupId>
633                 <artifactId>wicket-core</artifactId>
634                 <version>1.5.16</version>
635                 </dependency>
636                 <dependency>
637                         <groupId>ch.qos.logback</groupId>
638                         <artifactId>logback-core</artifactId>
639                         <version>1.2.3</version>
640                 </dependency>
641                 <dependency>
642                         <groupId>ch.qos.logback</groupId>
643                         <artifactId>logback-classic</artifactId>
644                         <version>1.2.3</version>
645                 </dependency>
646                 
647                 
648                 
649         </dependencies>
650         
651         
652
653 </project>