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