a39d44d2f1d16612f0f19eb8f428d0b1f93b4314
[portal.git] / ecomp-portal-BE / 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</artifactId>
6         <packaging>war</packaging>
7         <version>1.1.0-SNAPSHOT</version>
8
9         <properties>
10                 <springframework.version>4.2.0.RELEASE</springframework.version>
11                 <hibernate.version>4.3.11.Final</hibernate.version>
12                 <eelf.version>0.0.1</eelf.version>
13                 <projectversion>1.1.0-SNAPSHOT</projectversion>
14                 <encoding>UTF-8</encoding>
15                 <!-- Tests usually require some setup that maven cannot do, so skip. -->
16                 <skiptests>false</skiptests>
17                 <sonar.exclusions>**.js</sonar.exclusions>
18                 <nexusproxy>https://nexus.onap.org</nexusproxy>
19                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
20                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
21                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
22         </properties>
23         
24         <reporting>
25         <plugins>
26             <plugin>
27                 <groupId>org.apache.maven.plugins</groupId>
28                 <artifactId>maven-javadoc-plugin</artifactId>
29                 <version>2.10.4</version>
30                 <configuration>
31                     <failOnError>false</failOnError>
32                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
33                     <docletArtifact>
34                         <groupId>org.umlgraph</groupId>
35                         <artifactId>umlgraph</artifactId>
36                         <version>5.6</version>
37                     </docletArtifact>
38                     <additionalparam>-views</additionalparam>
39                     <useStandardDocletOptions>true</useStandardDocletOptions>
40                 </configuration>
41             </plugin>
42         </plugins>
43     </reporting>
44         <distributionManagement>
45                <site>
46                  <id>nexus</id>
47                  <url>dav:https://ecomp-nexus:8443/repository/portal-javadoc/${projectversion}</url>
48                </site>
49         </distributionManagement>
50         <repositories>
51                 <repository>
52                         <!-- Releases repository has ECOMP release artifacts -->
53                         <id>ecomp-releases</id>
54                         <name>OpenECOMP - Release Repository</name>
55                         <url>${nexusproxy}/${releaseNexusPath}</url>
56                 </repository>
57                 <repository>
58                         <!-- Snapshots repository has ECOMP snapshot artifacts -->
59                         <id>ecomp-snapshots</id>
60                         <name>OpenECOMP - Snapshot Repository</name>
61                         <url>${nexusproxy}/${snapshotNexusPath}</url>
62                 </repository>
63                 <repository>
64                         <!-- Staging repository has ECOMP staging artifacts -->
65                         <id>ecomp-staging</id>
66                         <name>OpenECOMP - Staging Repository</name>
67                         <url>${nexusproxy}/${stagingNexusPath}</url>
68                 </repository>
69                 <repository>
70                         <!-- Snapshots repository has ECOMP snapshot artifacts -->
71                         <id>oss-snapshots</id>
72                         <name>oss Central - Snapshots</name>
73                         <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
74                 </repository>
75                 <repository>
76             <id>central</id>
77             <name>Maven 2 repository 2</name>
78             <url>http://repo2.maven.org/maven2/</url>
79         </repository>
80         </repositories>
81
82         <build>
83                 <sourceDirectory>src/main/java</sourceDirectory>
84                 <finalName>ecompportal</finalName>
85
86                 <plugins>
87                         <plugin>
88                                 <groupId>org.apache.maven.plugins</groupId>
89                                 <artifactId>maven-deploy-plugin</artifactId>
90                                 <version>2.8</version>
91                                 <configuration>
92                                         <skip>true</skip>
93                                 </configuration>
94                         </plugin>
95                          <plugin>
96                                 <groupId>org.codehaus.mojo</groupId>
97                                 <artifactId>sonar-maven-plugin</artifactId>
98                                 <version>3.2</version>
99                         </plugin>
100                         <plugin>
101                                <groupId>org.apache.maven.plugins</groupId>
102                                <artifactId>maven-site-plugin</artifactId>
103                                <version>3.6</version>
104                                <dependencies>
105                                  <dependency>
106                                    <groupId>org.apache.maven.wagon</groupId>
107                                    <artifactId>wagon-webdav-jackrabbit</artifactId>
108                                    <version>2.10</version>
109                                  </dependency>
110                                </dependencies>
111             </plugin>
112                         <plugin>
113                                 <artifactId>maven-compiler-plugin</artifactId>
114                                 <version>3.1</version>
115                                 <configuration>
116                                         <source>1.8</source>
117                                         <target>1.8</target>
118                                 </configuration>
119                         </plugin>
120                         
121                         <plugin>
122                                 <artifactId>maven-war-plugin</artifactId>
123                                 <version>2.6</version>
124                                 <configuration>
125                                   <warSourceDirectory>war</warSourceDirectory>
126                                   <failOnMissingWebXml>false</failOnMissingWebXml> 
127                                   <archive>
128                                                 <manifest>
129                                                         <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
130                                                 </manifest>
131                                                 <manifestEntries>
132                                                         <Build-Number>${build.number}</Build-Number>
133                                                         <Build-Time>${maven.build.timestamp}</Build-Time>
134                                                 </manifestEntries>
135                                   </archive>
136                                 </configuration>
137                         </plugin>
138                 
139                         
140                         <plugin>
141                  <artifactId>maven-resources-plugin</artifactId>
142                  <version>3.0.1</version>
143                  <!--
144                        Your own property files can be placed in ecomp-portal-be/../../overrides directory and they 
145                        will override the generic source controlled versions at build time allowing
146                        you to test locally with your own settings.
147                   -->
148                  <executions>
149                      <execution>
150                         <id>copy-custom-properties1</id>
151                         <phase>process-resources</phase>
152                         <goals>
153                             <goal>copy-resources</goal>
154                         </goals>
155                         <configuration>
156                             <overwrite>true</overwrite>
157                             <outputDirectory>${basedir}/war/WEB-INF/conf</outputDirectory>
158                             <resources>
159                                 <resource>
160                                     <directory>${basedir}/../../overrides</directory>
161                                     <includes>
162                                         <include>system.properties</include>
163                                     </includes>
164                                 </resource>
165                             </resources>
166                         </configuration>
167                      </execution>
168                      <execution>
169                         <id>copy-custom-properties2</id>
170                         <phase>process-resources</phase>
171                         <goals>
172                             <goal>copy-resources</goal>
173                         </goals>
174                         <configuration>
175                                 <overwrite>true</overwrite>
176                                 <outputDirectory>${basedir}/war/WEB-INF/fusion/conf</outputDirectory>
177                                 <resources>
178                                     <resource>
179                                         <directory>${basedir}/../../overrides</directory>
180                                         <includes>
181                                             <include>fusion.properties</include>
182                                         </includes>
183                                     </resource>
184                                 </resources>
185                         </configuration>
186                      </execution>
187                      <execution>
188                         <id>copy-custom-properties3</id>
189                         <phase>process-resources</phase>
190                         <goals>
191                             <goal>copy-resources</goal>
192                         </goals>
193                             <configuration>
194                                 <overwrite>true</overwrite>
195                                 <outputDirectory>${basedir}/src/main/resources</outputDirectory>
196                                 <resources>
197                                     <resource>
198                                         <directory>${basedir}/../../overrides</directory>
199                                         <includes>
200                                             <include>portal.properties</include>
201                                             <include>openid-connect.properties</include>                                            
202                                             <include>openid-keystore.jwks</include>                                            
203                                         </includes>
204                                     </resource>
205                                 </resources>
206                             </configuration>                      
207                      </execution>
208                 </executions>
209             </plugin>
210                 </plugins>
211
212                 <testResources>
213                 <testResource>
214                                 <directory>src/test/java</directory>
215                                 <includes>
216                                                 <include>**/*Test*.*</include>                                  
217                                 </includes>
218                 </testResource>
219         </testResources>
220         
221                 <resources>
222                         <resource>
223                                 <directory>src/main/resources</directory>
224                                 <includes>
225                                         <include>**/*.xml</include>
226                                         <include>**/*.ccf</include>
227                                         <include>**/*.properties</include>
228                                         <include>**/*.jwks</include>
229                                 </includes>
230                         </resource>
231                         <resource>
232                                 <directory>src/test/resources</directory>
233                                 <includes>
234                                         <include>**/*.xml</include>
235                                         <include>**/*.properties</include>
236                                 </includes>
237                         </resource>
238                         <!-- picks up the applicationcodes.properties file presented in \src\ path -->
239                         <resource>
240                                 <directory>src/main/java</directory>
241                                 <includes>
242                                         <include>**/*.xml</include>
243                                         <include>**/*.properties</include>
244                                 </includes>
245                         </resource>
246                 </resources>
247
248         </build>
249
250         <dependencies>
251                 <dependency>
252                         <groupId>com.att.eelf</groupId> 
253                         <artifactId>eelf-core</artifactId> 
254                         <version>${eelf.version}</version> 
255                 </dependency>
256                 <dependency>
257                         <groupId>com.google.code.gson</groupId>
258                         <artifactId>gson</artifactId>
259                         <version>2.5</version>
260                 </dependency>
261
262                 <!-- Spring -->
263                 <dependency>
264                         <groupId>org.springframework</groupId>
265                         <artifactId>spring-core</artifactId>
266                         <version>${springframework.version}</version>
267                 </dependency>
268                 <dependency>
269                         <groupId>org.springframework</groupId>
270                         <artifactId>spring-web</artifactId>
271                         <version>${springframework.version}</version>
272                 </dependency>
273                 <dependency>
274                         <groupId>org.springframework</groupId>
275                         <artifactId>spring-webmvc</artifactId>
276                         <version>${springframework.version}</version>
277                 </dependency>
278                 <dependency>
279                         <groupId>org.springframework</groupId>
280                         <artifactId>spring-tx</artifactId>
281                         <version>${springframework.version}</version>
282                 </dependency>
283                 <dependency>
284                         <groupId>org.springframework</groupId>
285                         <artifactId>spring-context-support</artifactId>
286                         <version>${springframework.version}</version>
287                 </dependency>
288                 <dependency>
289                         <groupId>org.springframework</groupId>
290                         <artifactId>spring-orm</artifactId>
291                         <version>${springframework.version}</version>
292                 </dependency>
293                 <dependency>
294                         <groupId>org.springframework</groupId>
295                         <artifactId>spring-test</artifactId>
296                         <version>${springframework.version}</version>
297                 </dependency>
298                 <dependency>
299                         <groupId>org.springframework.boot</groupId>
300                         <artifactId>spring-boot-starter</artifactId>
301                         <version>1.3.0.RELEASE</version>
302                         <exclusions>
303                                 <exclusion>
304                                         <groupId>org.slf4j</groupId>
305                                         <artifactId>log4j-over-slf4j</artifactId>
306                                 </exclusion>
307                                 <exclusion>
308                                         <groupId>ch.qos.logback</groupId>
309                                         <artifactId>logback-classic</artifactId>
310                                 </exclusion>
311                         </exclusions>
312                 </dependency>
313
314                 <!-- Hibernate -->
315                 <dependency>
316                         <groupId>org.hibernate</groupId>
317                         <artifactId>hibernate-core</artifactId>
318                         <version>${hibernate.version}</version>
319                 </dependency>
320
321                 <!-- jsr303 validation -->
322                 <!-- <dependency> <groupId>javax.validation</groupId> <artifactId>validation-api</artifactId> 
323                         <version>1.1.0.Final</version> </dependency> -->
324
325                 <dependency>
326                         <groupId>org.hibernate</groupId>
327                         <artifactId>hibernate-validator</artifactId>
328                         <version>5.1.3.Final</version>
329                 </dependency>
330                 <!-- Servlet+JSP+JSTL -->
331                 <dependency>
332                         <groupId>javax.servlet</groupId>
333                         <artifactId>javax.servlet-api</artifactId>
334                         <version>3.1.0</version>
335                 </dependency>
336                 <dependency>
337                         <groupId>javax.servlet.jsp</groupId>
338                         <artifactId>javax.servlet.jsp-api</artifactId>
339                         <version>2.3.1</version>
340                 </dependency>
341                 <dependency>
342                         <groupId>javax.servlet</groupId>
343                         <artifactId>jstl</artifactId>
344                         <version>1.2</version>
345                 </dependency>
346
347                 <!-- Apache Tiles -->
348                 <dependency>
349                         <groupId>org.apache.tiles</groupId>
350                         <artifactId>tiles-core</artifactId>
351                         <version>3.0.5</version>
352                 </dependency>
353                 <dependency>
354                         <groupId>org.apache.tiles</groupId>
355                         <artifactId>tiles-jsp</artifactId>
356                         <version>3.0.5</version>
357                 </dependency>
358                 <dependency>
359                         <groupId>org.apache.cxf</groupId>
360                         <artifactId>cxf-rt-rs-client</artifactId>
361                         <version>3.0.0-milestone1</version>
362                 </dependency>
363
364                 <!-- Mapper -->
365                 <dependency>
366                         <groupId>com.fasterxml.jackson.core</groupId>
367                         <artifactId>jackson-annotations</artifactId>
368                         <version>2.6.3</version>
369                 </dependency>
370                 <dependency>
371                         <groupId>com.fasterxml.jackson.core</groupId>
372                         <artifactId>jackson-core</artifactId>
373                         <version>2.6.3</version>
374                 </dependency>
375                 <dependency>
376                         <groupId>com.fasterxml.jackson.core</groupId>
377                         <artifactId>jackson-databind</artifactId>
378                         <version>2.6.3</version>
379                 </dependency>
380
381                 <dependency>
382                         <groupId>mysql</groupId>
383                         <artifactId>mysql-connector-java</artifactId>
384                         <version>5.1.22</version>
385                 </dependency>
386
387                 <!-- Elastic Search -->
388                 <dependency>
389                 <groupId>org.elasticsearch</groupId>
390                 <artifactId>elasticsearch</artifactId>
391                 <version>2.2.0</version>
392                 </dependency>
393                 <dependency>
394                         <groupId>io.searchbox</groupId>
395                         <artifactId>jest</artifactId>
396                         <version>2.0.0</version>
397                 </dependency>
398
399                 <dependency>
400                         <groupId>org.apache.jcs</groupId>
401                         <artifactId>jcs</artifactId>
402                         <version>1.3</version>
403                         <exclusions>
404                                 <exclusion>
405                                         <groupId>*</groupId>
406                                         <artifactId>*</artifactId>
407                                 </exclusion>
408                         </exclusions>
409                         <!-- -->
410                 </dependency>
411
412                 <dependency>
413                         <groupId>org.apache.tomcat</groupId>
414                         <artifactId>tomcat-websocket</artifactId>
415                         <version>8.0.28</version>
416                         <scope>provided</scope>
417                 </dependency>
418
419                 <!-- Raptor required Libraries -->
420                 <!-- for static charts -->
421                 <dependency>
422                         <groupId>commons-lang</groupId>
423                         <artifactId>commons-lang</artifactId>
424                         <version>2.6</version>
425                 </dependency>
426                 <!-- for generating excel/csv/excelx -->
427                 <dependency>
428                         <groupId>org.apache.poi</groupId>
429                         <artifactId>poi</artifactId>
430                         <version>3.5-FINAL</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                         </exclusions>
441                 </dependency>
442                 <dependency>
443                         <groupId>org.apache.poi</groupId>
444                         <artifactId>poi-ooxml</artifactId>
445                         <version>3.5-FINAL</version>
446                         <exclusions>
447                                 <exclusion>
448                                         <groupId>commons-logging</groupId>
449                                         <artifactId>commons-logging</artifactId>
450                                 </exclusion>
451                                 <exclusion>
452                                         <groupId>log4j</groupId>
453                                         <artifactId>log4j</artifactId>
454                                 </exclusion>
455                         </exclusions>
456                 </dependency>
457                 <dependency>
458                         <groupId>org.apache.poi</groupId>
459                         <artifactId>poi-scratchpad</artifactId>
460                         <version>3.5-FINAL</version>
461                         <exclusions>
462                                 <exclusion>
463                                         <groupId>commons-logging</groupId>
464                                         <artifactId>commons-logging</artifactId>
465                                 </exclusion>
466                                 <exclusion>
467                                         <groupId>log4j</groupId>
468                                         <artifactId>log4j</artifactId>
469                                 </exclusion>
470                         </exclusions>
471                 </dependency>
472                 <dependency>
473                         <groupId>org.apache.poi</groupId>
474                         <artifactId>poi-contrib</artifactId>
475                         <version>3.5-FINAL</version>
476                         <exclusions>
477                                 <exclusion>
478                                         <groupId>commons-logging</groupId>
479                                         <artifactId>commons-logging</artifactId>
480                                 </exclusion>
481                                 <exclusion>
482                                         <groupId>log4j</groupId>
483                                         <artifactId>log4j</artifactId>
484                                 </exclusion>
485                         </exclusions>
486                 </dependency>
487
488                 <!-- 
489                 <dependency>
490                         <groupId>com.lowagie</groupId>
491                         <artifactId>itext</artifactId>
492                         <version>2.0.8</version>
493                         <exclusions>
494                                 <exclusion>
495                          <groupId>org.bouncycastle</groupId>
496                                      <artifactId>bcprov-jdk14</artifactId>
497                     </exclusion>
498             </exclusions>
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>commons-codec</groupId>
516                         <artifactId>commons-codec</artifactId>
517                         <version>1.9</version>
518                 </dependency>
519                 
520                 <dependency>
521                 <groupId>com.att.nsa</groupId>
522                 <artifactId>cambriaClient</artifactId>
523                 <version>0.0.1</version>
524                         <exclusions>
525                                 <exclusion>
526                                         <groupId>commons-logging</groupId>
527                                         <artifactId>commons-logging</artifactId>
528                                 </exclusion>
529                                 <exclusion>
530                                         <groupId>log4j</groupId>
531                                         <artifactId>log4j</artifactId>
532                                 </exclusion>
533                                 <exclusion>
534                                         <groupId>log4j</groupId>
535                                         <artifactId>apache-log4j-extras</artifactId>
536                                 </exclusion>
537                                 <exclusion>
538                                         <groupId>org.slf4j</groupId>
539                                         <artifactId>slf4j-log4j12</artifactId>
540                                 </exclusion>
541                         </exclusions>
542        </dependency>
543         
544         <dependency>
545                         <groupId>org.openecomp.ecompsdkos</groupId>
546                         <artifactId>ecompFW</artifactId>
547                         <version>${projectversion}</version>
548                         <exclusions>
549                                 <exclusion>
550                                         <groupId>commons-logging</groupId>
551                                         <artifactId>commons-logging</artifactId>
552                                 </exclusion>
553                                 <exclusion>
554                                         <groupId>log4j</groupId>
555                                         <artifactId>log4j</artifactId>
556                                 </exclusion>
557                                 <exclusion>
558                                         <groupId>log4j</groupId>
559                                         <artifactId>apache-log4j-extras</artifactId>
560                                 </exclusion>
561                                 <exclusion>
562                                         <groupId>org.slf4j</groupId>
563                                         <artifactId>slf4j-log4j12</artifactId>
564                                 </exclusion>
565                         </exclusions>
566                 </dependency>
567         
568                 <dependency>
569                         <groupId>org.openecomp.ecompsdkos</groupId>
570                         <artifactId>ecompSDK-core</artifactId>
571                         <version>${projectversion}</version>
572                 </dependency>
573
574                 <dependency>
575                         <groupId>org.openecomp.ecompsdkos</groupId>
576                         <artifactId>ecompSDK-workflow</artifactId>
577                         <version>${projectversion}</version>
578                 </dependency>
579                 
580                 
581                 <!-- Referenced by some poms and needed for testing;
582                          do NOT use "test" scope here. -->
583                 <dependency>
584                         <groupId>org.apache.httpcomponents</groupId>
585                         <artifactId>httpclient</artifactId>
586                         <version>4.5.2</version>
587                 </dependency>
588
589                 <!-- for testing -->
590                 <dependency>
591                         <groupId>junit</groupId>
592                         <artifactId>junit</artifactId>
593                         <version>4.11</version>
594                         <scope>test</scope>
595                 </dependency>
596                 
597                 <dependency>
598                         <groupId>commons-beanutils</groupId>
599                         <artifactId>commons-beanutils</artifactId>
600                         <version>1.9.2</version>
601                 </dependency>
602                 
603                 <!-- OpenID Connect Dependencies -->
604                 <dependency>
605                         <groupId>org.mitre</groupId>
606                         <artifactId>openid-connect-client</artifactId>
607                         <version>1.2.2</version>
608                         <exclusions>
609                                 <exclusion>
610                                         <groupId>org.codehaus.jackson</groupId>
611                                         <artifactId>jackson-mapper-asl</artifactId>
612                                 </exclusion>
613                         </exclusions>
614                 </dependency>
615                 
616                 <dependency>
617             <groupId>org.springframework.security</groupId>
618             <artifactId>spring-security-taglibs</artifactId>
619             <version>3.2.8.RELEASE</version>
620             <exclusions>
621                 <exclusion>
622                                 <groupId>org.springframework</groupId>
623                         <artifactId>*</artifactId>
624                 </exclusion>
625             </exclusions>
626         </dependency>           
627                 
628
629         </dependencies>
630 </project>